"Error" only word on error page

jimrohas

Joined: 2009-06-10
Posts: 10
Posted: Wed, 2009-09-30 16:59

When trying to go to http://tuigallery.com or a subdomain on it, http://terrauniversalmanuals.com, I get a page with one word. "Error." One day the site was working, the next it was not. I talked with the site host and they said that file or directory permissions might be set wrong, but I checked them and they are not.

I can get to http://structuredlabs.com which is also a subdomain but does not have Gallery installed, so it seems it may be a Gallery thing. Does anyone know what this "Error" is and what I can do about it?

The person who set up these sites and installed Gallery is no longer with the company and I am trying to figure it out with little experience. So please accept my apologies if this is a lame question.

Liz Parker

Gallery version 2.3
Apache 1.2.41 Unix
php version: 4.4.9
mysql: 5.067-community
Operating system: Linux
browsers: firefox 3.5.3, safari 4.0.3

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-09-30 20:12

Try putting Gallery into debug mode to see if there is more information that gets displayed:
FAQ: How to set/use Gallery in debug mode?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
jimrohas

Joined: 2009-06-10
Posts: 10
Posted: Thu, 2009-10-01 16:02

Thanks.
I put Gallery temporarily in debug mode and got the additional information. Most of it makes no sense to me so hopefully there is someone who can help me with it. Here are the URLs to the text files produced by the change to the config.php file.

http://www.tuigallery.com/error_message_tuigallery.txt
http://www.tuigallery.com/error_message_terrauniversalmanuals.txt

Liz

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-10-01 16:16

That's what I thought. Either the password, username or something else is not correct for connecting to your database or something else has changed:

Quote:
mysqli error: [1045: Access denied for user 'YourUserName'@'localhost' (using
password: YES)] in CONNECT(localhost, ?, ?, YourDataBase)

The stuff in bold I changed to remove your username and DB name.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
jimrohas

Joined: 2009-06-10
Posts: 10
Posted: Thu, 2009-10-01 17:12

Thanks for taking a look at this. I'm sorry for being at such a loss for doing this stuff, so please bear with me.

I looked at the config.php file and see that there are two passwords in it.

Quote:
$storeConfig['password'] = 'password';

and

Quote:
$gallery->setConfig('setup.password', 'password01');

Are these what I need to change? Where would they have been set originally--in some sort of web interface or directly in code? If in code, which file?

I feel like I am missing a major chunk of knowledge--like how jimrojas set this up in the first place and how he administered it. I've administered the front end making albums with a different login and password, but not the setting up of Gallery in the first place.

As you can see I need detailed instructions.

Liz

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-10-01 17:23

Just the $storeConfig stuff. The setConfig is the password used to access /lib/support

hostname = the server it's connecting to, localhost means the local computer (the server the website is on)
database = the name of the database
username = your username you use to connect to the database (separate from any username you use for Gallery)
password = the password assigned to that user for connecting to the database.

You can probably double check or get these values from your host's control panel. You might have to reset the password as they might not retrieve/store/display that.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
jimrohas

Joined: 2009-06-10
Posts: 10
Posted: Thu, 2009-10-01 17:54

Thank you! Thank you! Thank You! I am in your debt.

We changed the passwords to the site when jimrohas left the company, but I didn't realize that I would have to change the config.php files manually.

That the site worked fine for a month after changing the passwords was totally confusing. If it had stopped working immediately, I might have connected the dots.

Liz

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-10-01 18:17

Is it working? I'm still getting ERROR when trying to access your site.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
jimrohas

Joined: 2009-06-10
Posts: 10
Posted: Thu, 2009-10-01 18:24

I put fixed it and then unfixed it so I can show someone else how it's done.

Thanks,
Liz

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-10-01 18:40

Great! Glad it's working.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here