"cannot connect or install" (Aruba)

RiccardoM / 2012-03-06 09:29:10   

I already tried searching for other Aruba-related threads and followed some of the tips but nothing seem to work.
I have a Linux server, with PHP 5.3.10 and MySQL 5.5.20.
I tried with both 777 and 755 permissions on the files using Filezilla, but it keeps giving the same error; XX We cannot connect or install the database.

The site is http://www.claudiocristini.com/ (which currently is giving a few errors)

What else can I try?

rickykappa / 2012-03-06 09:32:25   

search the forum with aruba keyword. there are many threads, also in italian. ciao
;-)

rickykappa / 2012-03-06 09:40:34   

sorry, didn't read well your post - but looks like it's installed: http://www.claudiocristini.com/ndxz-studio/ is there...
I guess you're missing the /ndxz-studio/site/eatock/index.php, try to replace that.
(tip: you can use the first part of your error message as keyword)

RiccardoM / 2012-03-06 09:50:29   

I have honestly checked every single Aruba thread on the forums but none seem to have this one problem, I still tried a few solutions for other problems but nothing works.

RiccardoM / 2012-03-06 09:52:06   

(Didn't see your last message)

How do I replace that file? Right now there is no index.php in that folder.

rickykappa / 2012-03-06 09:52:17   

looks like we crossed each other... have you seen my 2nd post?

rickykappa / 2012-03-06 09:53:28   

:-)
do you have a copy of indexhibit in your system? the files should be there. otherwise download it again

RiccardoM / 2012-03-06 09:56:28   

I have tried redownloading it, but there is still no index.php in that folder. Do I have to use one from another folder? There are a few before getting there. Sorry about that, I'm not really good with this stuff.

rickykappa / 2012-03-06 11:05:20   

NO! don't use that, every index.php is different!
and you're right, there is no index.php in that folder, sorry: long time I don't touch that thing anymore...
so, see my other tip above and/or try reuploading the index.php of your root directory www.claudiocristini.com/index.php

RiccardoM / 2012-03-06 12:30:18   

Tried redownloading the file and replacing the index.php on the root directory but it still gives the same error and the site still doesnt load.

Vaska A / 2012-03-06 12:35:40   

You installed before?

http://www.claudiocristini.com/ndxz-studio/index.php

RiccardoM / 2012-03-06 12:57:58   

@Vaska

Whenever I tried to install, it gave me this error "XX We cannot connect or install the database."

tomeumulet / 2012-03-06 16:51:21   

Hi there!

I'm having the same problem since saturday, trying to install indexhibit in an Aruba Linux server...

googleing the problem I found this in a forum. It's in Italian, I don't understand at all but there's a comment that it seems to resolve it, I guess:


unque, nei cinqye db non sono presenti tabelle o altro, sono in sostanza vuoti!

risolto, con una piccola agiunta nel file install.php

$isam = 'ENGINE=MyISAM';

But I don't know where to put this code line into this archive...

Help!

pernin / 2012-03-07 01:56:31   

it refers to this thread:
http://www.indexhibit.org/forum/thread/13433/

you can try it and see if it works

rickykappa / 2012-03-07 03:33:53   

@riccardo - your installation seems to be done already, otherwise you shouldn't in normal conditions have the login page http://www.claudiocristini.com/ndxz-studio/index.php
double check if your root index.php is there and compare it with a fresh copy, eventually upload it again
if all fails you might find useful alfredo's tip and this thread - which I've found myself using part of your error message as keyword in the searchbox on top of forum
ciao

amoeurest / 2012-03-08 07:06:44   

Hello everybody!
Same problem here: XX We cannot connect or install the database
I checked the MySql parameters.
Checked the permissions.
I also tried typing this: $isam = 'ENGINE=MyISAM';
But nothing happens...
Also, if I go here http://www.marcellomariana.it/ndxz-studio/index.php it asks me for login and password. I type index1 and exhibit but it replies Your password or login are incorrect. Try again.

What can I do?

My website: www.marcellomariana.it
http://www.marcellomariana.it/ndxz-studio/install.php

Thanks everybody!
Marcello

RiccardoM / 2012-03-08 11:09:09   

Finally solved the problem using the thread Pernin posted. Thanks everyone for the help!

amoeurest / 2012-03-08 11:53:52   

Hey Riccardo.
Could you help me with that, too? Also in Italian...
I tried to follow dzerry's instructions but it doesn't work.
Thanks
Marcello

amoeurest / 2012-03-08 12:57:41   

As seen in this thread: http://www.indexhibit.org/forum/thread/13433/
I CHANGED THIS:

if (mysql_ver()

amoeurest / 2012-03-08 13:00:19   

As seen in this thread: http://www.indexhibit.org/forum/thread/13433/
I CHANGED THIS:

if (mysql_ver()

amoeurest / 2012-03-08 13:02:12   

I cannot post...

amoeurest / 2012-03-08 13:07:18   

As seen in this thread: here
I CHANGED THIS:

  1. if (mysql_ver() <= 4)
  2.         {
  3.             $isam = 'TYPE=MyISAM';
  4.         }
  5.         else // it's 5
  6.         {
  7.             // address this later
  8.             //$isam = 'ENGINE=MyISAM DEFAULT CHARSET=utf8';
  9.             $isam = 'TYPE=MyISAM';
  10.         }

INTO THIS:

  1. if (mysql_ver() <= 4)
  2.         {
  3.             $isam = 'TYPE=MyISAM';
  4.         }
  5.         else // it's 5
  6.         {
  7.             // address this later
  8.             $isam = 'ENGINE=MyISAM DEFAULT CHARSET=utf8';
  9.         }

But it doesn't work. What is wrong?

rickykappa / 2012-03-08 15:26:48   

looks like your root directory doesn't process php and/or you've broken the code in index.php when you edited.
if you want to have a temporary sito in costruzione just do that in a index.html
first thing is to reupload a fresh untouched copy of index.php and see how things go
(and don't panic!)
;-)

amoeurest / 2012-03-08 18:03:31   

looks like your root directory doesn't process php and/or you've broken the code in index.php when you edited.
if you want to have a temporary sito in costruzione just do that in a index.html
first thing is to reupload a fresh untouched copy of index.php and see how things go
(and don't panic!)
;-)

Thanks Ricky.
But where can I find a fresh untouched copy of index.php?
And what about the "XX We cannot connect or install the database"?
Grazie!
rickykappa / 2012-03-09 01:46:01   

in your computer maybe, or download indexhibit again.
one step at a time...
;-)

amoeurest / 2012-03-09 01:57:08   

Ciao!
I downloaded indexhibit again and then uploaded on my FTP. I changed permissions, etc. but now if I go to http://www.marcellomariana.it/ it gives me error...
Not easy... :)

Page not found error here.
Warning: filesize() [function.filesize]: stat failed for /web/htdocs/www.marcellomariana.it/home/ndxz-studio/site//index.php in /web/htdocs/www.marcellomariana.it/home/index.php on line 81

Warning: fread(): supplied argument is not a valid stream resource in /web/htdocs/www.marcellomariana.it/home/index.php on line 81

Warning: fclose(): supplied argument is not a valid stream resource in /web/htdocs/www.marcellomariana.it/home/index.php on line 82

amoeurest / 2012-03-12 03:57:14   

Anybody?

pernin / 2012-03-12 05:03:51   

See Useful Threads: I deleted my main page & I deleted my index page

amoeurest / 2012-03-12 07:42:10   

Thanks pernin:
I followed these steps:

1. download http://www.indexhibit.org/downloads/site-reset.php.zip
2. unzip contents
3. upload to your websites /ndxz-studio/ folder
4. go to http://yoursite.com/ndxz-studio/site-reset.php
5. deleted 'site-reset.php'.

But when I go to http://www.marcellomariana.it/ndxz-studio/site-reset.php I get this:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, postmaster@marcellomariana.it and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.

pernin / 2012-03-12 09:46:20   

er... you deleted site-reset.php *before* doing http://www.marcellomariana.it/ndxz-studio/site-reset.php so, of course, it gives an error because it can't find it :/

amoeurest / 2012-03-12 10:27:33   
er... you deleted site-reset.php *before* doing http://www.marcellomariana.it/ndxz-studio/site-reset.php so, of course, it gives an error because it can't find it :/

No, I didn't.
In fact, site-reset.php is till on the ndxz-studio folder...
Thank you
pernin / 2012-03-12 10:33:36   

then you'll have to check with your host, because you have a configuration problem with PHP

amoeurest / 2012-03-12 10:55:31   

then you'll have to check with your host, because you have a configuration problem with PHP

Thank you, but what should I check/ask?
Sorry, but I'm a total dummy...
pernin / 2012-03-12 11:38:24   

that marcellomariana.it/ndxz-studio/site-reset.php gives an internal server error: why?

amoeurest / 2012-03-12 12:21:04   

Thank you pernin, I will try and then let you know.

amoeurest / 2012-03-13 12:50:31   

The webhost messed up something, I don't know what exactly... They fixed everything and know I've been able to install indexhibit.
Thanks a lot for now, let's see how it'll proceed...
Thanks!

rickykappa / 2012-03-13 13:44:58   

viva aruba! ;-)

This thread has been closed, thank you.