Yay Error

NathanE

Joined: 2002-10-09
Posts: 5
Posted: Wed, 2002-10-09 16:23

This is the error that I get when I try and run the setup.

Fatal error: Failed opening required '/home/nathan/public_html/gallery2/modules/core/classes/GalleryProfiler.class' (include_path='') in /home/nathan/public_html/gallery2/modules/core/module.inc on line 55

-Nathan

 
bunnyk

Joined: 2002-10-08
Posts: 1
Posted: Wed, 2002-10-09 17:26

yup same here.. i also get an error when i run setup:

Fatal error: Call to a member function on a non-object in c:appservwwwg2gallery2setupsetup.php on line 247

 
zjs2k

Joined: 2002-08-24
Posts: 33
Posted: Wed, 2002-10-09 20:33

I don't think you should be surpised to see errors. This is a pre-alpha version. I suggest you dig into the scripts and check the error yourself. If you are not familiar with php programming, I suggest you to wait at least until the first alpha release.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2002-10-10 00:47

zjs2k is right on the money. I'm not providing support for G2 here. This forum is for you to test out the code, find bugs and send me detailed comments, suggestions and patches so that we can get G2 out the door faster.

In this particular case, though I had forgotten to check some files in so thanks for the heads up :smile: Try again now -- you should get beyond that error.

 
NathanE

Joined: 2002-10-09
Posts: 5
Posted: Thu, 2002-10-10 01:44

I'm getting further now.

Fatal error: Call to undefined function: mysql_pconnect() in /home/nathan/public_html/gallery2/lib/adodb/drivers/adodb-mysql.inc.php on line 128

I belive I have the mysql stuff setup correctly.

I definitly am not looking to get support I just want to see if I can get it working and find some bugs. I break firewalls for a living I figure I can find a way to break this too.

-Nathan

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2002-10-10 04:26

Hmm. mysql_pconnect is a standard MySQL function in PHP. Can you make your phpinfo() available to us so that I can take a look at it?

Do you have mysql_connect?

To get around this for now, edit modules/core/classes/GalleryStorage/DatabaseStorage.class and change line 228:

$ret = $this->_db->PConnect($this->_hostname,

to:

$ret = $this->_db->Connect($this->_hostname,

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Thu, 2002-10-10 14:56

You have to compile PHP with the "--with-mysql" configure flag to have access to MySQL functions..If you have a binary, I think most of the binaries come with MySQL support...What version of PHP are you using?

 
NathanE

Joined: 2002-10-09
Posts: 5
Posted: Sat, 2002-10-19 20:33

I updated my PHP and I was able to configure the DB and get things working.

Thanks,
Nathan