G2 Install Error

4Eyes
4Eyes's picture

Joined: 2002-10-17
Posts: 7
Posted: Wed, 2002-10-30 18:38

I get this one when running setup.php ...

Fatal error: Call to a member function on a non-object in /home/sites/site15/web/gallery2/setup/setup.php on line 251

Any ideas?

 
4Eyes
4Eyes's picture

Joined: 2002-10-17
Posts: 7
Posted: Wed, 2002-10-30 21:04

It's OK, I read the post G2 d/l and commented out the same line (different number) as suggested.

Now get ......

Gallery requires PHP 4.0.4 or better to function. You are running PHP version 4.0.3pl1. Please upgrade.

Will let you know what happens next.

 
4Eyes
4Eyes's picture

Joined: 2002-10-17
Posts: 7
Posted: Tue, 2002-11-05 23:46

Have installed php 4.2.3 and now get the following......

Warning: stat failed for /gallery2/gnb/ (errno=2 - No such file or directory) in /home/sites/site15/web/gallery2/modules/core/classes/GalleryPlatform.class on line 296

Have made dir
/home/sites/site15/web/gallery2/gnb

and permissions appear correct.

Any ideas?

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2002-11-06 06:46

You've gotta provide more details. What were you doing when you saw this message? What debug messages appear around the warning?

Why is it trying to stat "/gallery2/gnb/"? My guess is that this is an incorrect path. What did you specify in your config.php for the 'data.gallery.base' property?

 
4Eyes
4Eyes's picture

Joined: 2002-10-17
Posts: 7
Posted: Wed, 2002-11-06 09:39

OK understood for more info next time. I had just called setup.php for the first time and entered the password.

It was the path that was the problem. Have now put a full path name in config.php

/home/sites/site15/web/gallery2/gnb

and this works.
All tables generated and now looking at modules.
Ta.