(Solved)Gallery page shows but no thumbs or albums, cannot get to site admin

poduska

Joined: 2005-11-28
Posts: 2
Posted: Mon, 2005-11-28 18:10

All of a sudden I cannot get my thumbnails or Albums to appear. I get the header and footer and the header says 2 albums and 142 images but nothing else. When I click on site admin I again get the header and footer but no body. Gallery appears to think I am in site admin as it gives me the "my account" option which works but nothing else.

I don't know anything about PHP but went poking around and found a file called "Error.log" and pulled this line off from Last night which was not caused by me.

[27-Nov-2005 11:47:25] PHP Warning: unlink(/public_html/gallery/g2data/sessions/_vti_cnf): Is a directory in /home/troopon2/public_html/gallery/modules/core/classes/GalleryPlatform.class on line 543

I looked into Config.php and it spoke of a Debug option so I turned on the Buffered version and got a lot of errors like...

Notice: Only variable references should be returned by reference in /home/troopon2/public_html/gallery/modules/core/classes/GallerySession.class on line 603

Notice: Only variable references should be returned by reference in /home/troopon2/public_html/gallery/lib/adodb/adodb.inc.php on line 2847
Interestingly, the gallery DOES appear in the debug mode!. When I click on the pages within the debug mode screen the gallery works although I cannot get the "Site admin" to work. However, when I go back to my home page and then into gallery again I am back to no body on the page, only the Gallery header and footer.

Wondering why this was, I went back into the debug and again clicked on the now visible (along with a lot of debug code)gallery thumbnails and bookmarked the resulting page (which all work. I can now go out of IE, get back in and the bookmark will bring up a functioning page!

It appears that the gallery is there but for some reason it will not start from http://www.troop1610.com/gallery/main.php

What can I try to get it all working, Have I been hacked????

Thanks

The attachment is the text output from the debug file.

Gallery version (not just "2"):2.0
PHP version (e.g. 4.3.11):PHPInfo Link (see FAQ):4.4.1
Webserver (e.g. Apache 1.3.33):1.3,14
Database (e.g. MySql 4.0.11):
Activated toolkits (e.g. NetPbm, GD):
Operating system (e.g. Linux):linux
Browser (e.g. Firefox 1.0):IE or Firefox

AttachmentSize
gallerydebug.txt34.04 KB
 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-11-28 18:15

@all of a sudden:
your webhost changed the configuration. tell them they broke your g2 installation.

@notice: only variable references...:

FAQ: I get "Notice: Only variable references should be returned by reference in ", what's wrong?

@Notice: iconv(): Wrong charset, cannot convert from `ISO-8859-1' to `UTF-8' in /home/troopon2/public_html/gallery/modules/core/classes/GalleryPhpVm.class

FAQ: Where I should see dates I see "Wrong charset, cannot convert" or "Illegal character encoding" or "Illegal recode request".. what is wrong?

 
poduska

Joined: 2005-11-28
Posts: 2
Posted: Mon, 2005-11-28 18:28

I made the changes above and there was no difference although the error.log was filled with references to "Zen optimizer" ,what ever that is, which is listed in the first FAQ.

I have yet to call "Bluehost.com" but, in the past, they seem to have little luck in fixing installation problems even if installed by Cpanel.

Thanks