Gallery 1.5 errors with PHP 5.3.3

nvassos

Joined: 2010-10-19
Posts: 4
Posted: Tue, 2010-10-19 20:50

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): www.bigstuff.biz/gallery/
Gallery version: I think 1.5
Apache version: 2
PHP version (don't just say PHP 4, please): 5.3.3
Graphics Toolkit:
Operating system: Centos
Web browser/version (if applicable): Firefox

I fixed all the decprecated errors except these errors

Warning: get_class() expects parameter 1 to be object, boolean given in /home/bigstuff/public_html/gallery/classes/Album.php on line 807

Warning: get_class() expects parameter 1 to be object, boolean given in /home/bigstuff/public_html/gallery/classes/Album.php on line 810

if you go the website you will see what I am talking about. I hope we figure this out because the owner is not happy haha.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2010-10-19 20:53

Hi,

basically the subject is the answer ... Gallery 1.5 on PHP 5.3 ..

Jens
--
Gallery 1 Developer

 
nvassos

Joined: 2010-10-19
Posts: 4
Posted: Tue, 2010-10-19 21:14

Yeah well, that's what we have to do for now. Is there a solution for the boolean error. If now I will contact the owner.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-10-19 21:27

Downgrade PHP

Upgrade to Gallery2

Jens, any other ideas?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
nvassos

Joined: 2010-10-19
Posts: 4
Posted: Tue, 2010-10-19 22:19

I upgraded to Gallery 2 but because of the erros i cant import the data. It imports the user but it doesnt show any albums and the customer has ALOT of albums. I followed the guide word by word.

 
nvassos

Joined: 2010-10-19
Posts: 4
Posted: Tue, 2010-10-19 22:20

I mean I installed it on second folder

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2010-10-20 06:49

Hello,

first you should get rid of all the debug output.
Turn the debug off.

Then, please tell me the exact Version number of your Gallery. 1.5? or 1.5.1? 1.5.5 ? ... etc.
You can see that in Version.php

Jens
--
Gallery 1
Developer