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
Posts: 1
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
Posts: 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.
Posts: 7994
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.
Posts: 5
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
Posts: 7994
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,
Posts: 8194
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?
Posts: 5
I updated my PHP and I was able to configure the DB and get things working.
Thanks,
Nathan