Install Step 8 and 9 - adodb.inc.php on line 2832

ehy0121

Joined: 2005-08-01
Posts: 3
Posted: Mon, 2005-08-01 15:54

First, thank you all for an awesome product! I've just recently started using gallery v1.5 and wow! great job all.

I've recently tried using G2 and have been having faults. First off, during the install, of step 8, 9 and 10 I get the following error message on the browser:

Notice: Only variable references should be returned by reference in /www/e/ehy0121/htdocs/gallery2/modules/core/classes/GalleryDataCache.class on line 308

Many of the following:
Notice: Only variable references should be returned by reference in /www/e/ehy0121/htdocs/gallery2/lib/adodb/adodb.inc.php on line 2832

FYI - The integrity check was perfect all green in step 2.

I think that this issue is causing most of my other problems. I tried migration some albums from G1 to G2 and I get errors where I cannot display the photo album page at all (I get a server error). So the only way to resolve this is to delete the photo albums folders using FTP then G2 will at least work with broken image links. I then delete the albums using the browser interface. THIS IS RANDOM. Some albums works fine others just crash G2.

Thanks in advance,

-Evan

----

Hosted by Powweb.com
Gallery version = 2.0-beta-4 core 0.9.32
PHP version = 4.4.0 cgi
Webserver = Apache/1.3.33 (Unix) FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7d PowWeb/1.1
Database = mysql 4.1.11-log
Toolkits = ArchiveUpload, Exif, ImageMagick, SquareThumb, Thumbnail
Operating system = FreeBSD clust05-www01.powweb.com 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Thu Ma i386
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; iOpus-I-M; SV1; .NET CLR 1.1.4322
G1 version: 1.5

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Mon, 2005-08-01 17:08

I have the exact same problem, however I did not have this problem the very first time I attempted install but it still acted strangely (instead of viewing the gallery at the end, it always goes to the upgrade page)... I just signed up for POWWEB yesterday and am using a new install of PHP-Nuke (not integrated yet). so I'm putting my files in the modules/gallery2 folder. the g2data folder is the same level as my htdocs folder so it is outside the root and secure and files are successfully being created in it.

I'm about to delete everything and install the gallery first to see what happens.

Hosted by Powweb.com
Gallery version = 2.0-beta-4 core 0.9.32
PHP version = 4.4.0 cgi
Webserver = Apache/1.3.33 (Unix)
Database = mysql 4.1.11-log
Toolkits = ArchiveUpload, Exif, ImageMagick, SquareThumb, Thumbnail
Operating system = FreeBSD 4.11-RELEASE #0
Browser = IE 6

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-08-01 17:21
Quote:
Notice: Only variable references should be returned by reference in /www/e/ehy0121/htdocs/gallery2/modules/core/classes/GalleryDataCache.class on line 308

in a clean beta 4, this can't be. this was fixed before.

Quote:
Many of the following:
Notice: Only variable references should be returned by reference in /www/e/ehy0121/htdocs/gallery2/lib/adodb/adodb.inc.php on line 2832

same here. this was fixed in beta 4.

ideas:
- you have not a beta 4, but a nightly snapshot which is a few days older than beta 4
- you have a very weird issue, where php accelerators or so are involved.

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Mon, 2005-08-01 18:09

Ok, so i removed every single file from my server, and I deleted every single database entry. I downloaded gallery-2.0-beta-4+.tar from http://galleryupdates.jpmullan.com that is updated as of 3:45am this morning. I went through the installer, and the exact same error comes up when going through steps 8-10....

Quote:
Notice: Only variable references should be returned by reference in /www/t/mysite/htdocs/modules/gallery2/lib/adodb/adodb.inc.php on line 2832

As always however, it also says it is successful on every step and when trying to go to main.php it wants to upgrade.

Hosted by Powweb.com
Gallery version = 2.0-beta-4 core 0.9.32
PHP version = 4.4.0 cgi
Webserver = Apache/1.3.33 (Unix)
Database = mysql 4.1.11-log
Toolkits = ArchiveUpload, Exif, ImageMagick, SquareThumb, Thumbnail
Operating system = FreeBSD 4.11-RELEASE #0
Browser = IE 6

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-08-01 18:36

asi said. i just looked at the code. i know the reason for such notces and i know how to fix them and i see in this file in this very line it is fixed.

zip your file please and load it somewhere up such that i can see whether such a notice is possible in your case.

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Mon, 2005-08-01 18:41

so you want me to download all the files in my gallery2 folder and zip them up? ok, i'll post a link when I ahve it available.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-08-01 18:58

no, i want you to zip the /lib/adodb/adodb.inc.php file only

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Mon, 2005-08-01 20:54

Here you go. I don't use Winzip. I use WinRAR so if you can't open this zip file let me know.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-08-01 21:23

thanks.

something's wrong with your php then. the file is ok.

i'd place my bet on something like php accelerator / cache issues.

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Mon, 2005-08-01 21:27

I am using the standard php.ini file that POWWEB provides, however I can make changes to it and put it in my root folder. Would you like to see a copy of it?

If it was cache issues, where would I go about fixing that?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-08-01 21:32

no, what i'm saying is: php shows this notice since php 4.4.0 if the script does something that is not 100% correct. we fixed it. we checked with several php 4.4.0 installs if it's really fixed.
but your php still complains about it, for no reason. it shouldn't. period. it's not a configuration issue, your php engine is just behaving buggy.

since it's just a Notice and not a warning or error, you could just change your php warning level to such that you no longer see Notices.
a productive php server shouldn't show any errors at all anyway.

in your php.ini, set it to:
error_reporting = E_ALL & ~E_NOTICE

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Mon, 2005-08-01 21:43

I don't know if this makes any difference, but I want to remind you that I did not get this notice the very first time I went throught the install process.

And turning off the warning may make the warning disappear, but to me that still doesn't explain to me whay I can't view my gallery. Like I said, any time I try to load the front page of it (main.php ?) It goes to the upgrade screen. What do you think that is about?

In the meantime, I will make the change u suggested.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-08-01 22:13

an install loop -> upgrade loop. then activate immediate debug mode (in config.php) once it is installed and browse to main.php. you should get some debug information, post it.

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Mon, 2005-08-01 22:16

On a side note...

I think it may be possible for me to force my site to use php version 5 instead of 4.4. Do you think this may fix the issue or something I should try?

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Mon, 2005-08-01 22:20

Notice: Only variable references should be returned by reference in /www/t/theklingsnet/htdocs/modules/gallery2/lib/adodb/adodb.inc.php on line 2832

Notice: Only variable references should be returned by reference in /www/t/theklingsnet/htdocs/modules/gallery2/lib/adodb/adodb.inc.php on line 2832

Warning: mkdir(../../../../g2data): Permission denied in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GalleryPlatform.class on line 598

Warning: rename(/var/tmp/0.inc1Sj1NL,../../../../g2data/cache/module/core/0/0/0.inc): No such file or directory in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GalleryPlatform.class on line 465

Warning: mkdir(../../../../g2data): Permission denied in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GalleryPlatform.class on line 598

Warning: rename(/var/tmp/0.incBebOFH,../../../../g2data/cache/module/core/0/0/0.inc): No such file or directory in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GalleryPlatform.class on line 465

Notice: Only variable references should be returned by reference in /www/t/theklingsnet/htdocs/modules/gallery2/lib/adodb/adodb.inc.php on line 2832

Warning: mkdir(../../../../g2data): Permission denied in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GalleryPlatform.class on line 598

Warning: rename(/var/tmp/GalleryFactoryHelper_loadRegistry.inc90l99R,../../../../g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc): No such file or directory in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GalleryPlatform.class on line 465

Notice: Only variable references should be returned by reference in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GallerySession.class on line 614

Warning: rename(/var/tmp/3b0bf057b24e806e932e1a184a4ffb52ylg5ME,../../../../g2data/sessions/3b0bf057b24e806e932e1a184a4ffb52): No such file or directory in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GalleryPlatform.class on line 465

Debug Redirect
Not automatically redirecting you to the next page because we're in debug mode
Continue to the next page
--------------------------------------------------------------------------------
file_exists(../../../../g2data/cache/module/core/0/0/0.inc)
--------------------------------------------------------------------------------
(mysql): SELECT g2_PluginParameterMap.g_parameterName, g2_PluginParameterMap.g_parameterValue FROM g2_PluginParameterMap WHERE g2_PluginParameterMap.g_pluginType = 'module' AND g2_PluginParameterMap.g_pluginId = 'core' AND g2_PluginParameterMap.g_itemId = 0
--------------------------------------------------------------------------------
file_exists(../../../../g2data/cache/module/core/0/0) file_exists(../../../../g2data/cache/module/core/0/0/0.inc)
--------------------------------------------------------------------------------
(mysql): SELECT g2_PluginParameterMap.g_parameterName, g2_PluginParameterMap.g_parameterValue FROM g2_PluginParameterMap WHERE g2_PluginParameterMap.g_pluginType = 'module' AND g2_PluginParameterMap.g_pluginId = 'core' AND g2_PluginParameterMap.g_itemId = 0
--------------------------------------------------------------------------------
file_exists(../../../../g2data/cache/module/core/0/0) file_exists(../../../../g2data/cache/module/core/0) file_exists(../../../../g2data/cache/module/core) file_exists(../../../../g2data/cache/module) file_exists(../../../../g2data/cache) file_exists(../../../../g2data) file_exists(../../../..) is_dir(../../../..) mkdir(../../../../g2data, 755) rename(/var/tmp/0.inc1Sj1NL, ../../../../g2data/cache/module/core/0/0/0.inc) file_exists(../../../../g2data/cache/module/core/0/0) file_exists(../../../../g2data/cache/module/core/0) file_exists(../../../../g2data/cache/module/core) file_exists(../../../../g2data/cache/module) file_exists(../../../../g2data/cache) file_exists(../../../../g2data) file_exists(../../../..) is_dir(../../../..) mkdir(../../../../g2data, 755) rename(/var/tmp/0.incBebOFH, ../../../../g2data/cache/module/core/0/0/0.inc) file_exists(../../../../g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc)
--------------------------------------------------------------------------------
(mysql): SELECT g2_FactoryMap.g_classType, g2_FactoryMap.g_className, g2_FactoryMap.g_implId, g2_FactoryMap.g_implPath, g2_FactoryMap.g_hints FROM g2_FactoryMap ORDER BY g2_FactoryMap.g_orderWeight ASC
--------------------------------------------------------------------------------
file_exists(../../../../g2data/cache/module/_all/0/0) file_exists(../../../../g2data/cache/module/_all/0) file_exists(../../../../g2data/cache/module/_all) file_exists(../../../../g2data/cache/module) file_exists(../../../../g2data/cache) file_exists(../../../../g2data) file_exists(../../../..) is_dir(../../../..) mkdir(../../../../g2data, 755) rename(/var/tmp/GalleryFactoryHelper_loadRegistry.inc90l99R, ../../../../g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) Unimplemented: GalleryUrlGenerator file_exists(../../../../g2data/sessions/3b0bf057b24e806e932e1a184a4ffb52) file_exists(../../../../g2data/sessions/3b0bf057b24e806e932e1a184a4ffb52) file_exists(/www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/helpers/../../../../modules/core/module.inc) realpath(/www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/../../..) Binding text domain: modules_core -> /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/locale file_exists(../../../../g2data/versions.dat) rename(/var/tmp/3b0bf057b24e806e932e1a184a4ffb52ylg5ME, ../../../../g2data/sessions/3b0bf057b24e806e932e1a184a4ffb52)

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-08-01 22:20

how should i know if you can just switch to php 5.

my ISP has such an option in the cpanel and G2 works in PHP 5.0.3.
but for me, g2 also work on PHP 4.4.0 / linux and PHP 4.4.0 / winxp.

just try, don't know why you have issues, so they might as well go away with a php version change.

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Mon, 2005-08-01 22:28

I will definately try that. Regarding the debug info... Do you see anything that catches your eye?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-08-01 22:32

Warning: mkdir(../../../../g2data): Permission denied in

it can't write to subfolders of g2data.

try a clean install, with an empty g2data folder.
if you then get the same problem / mkdir warning after the install, you have a serious problem.

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Mon, 2005-08-01 22:50

This is a clean install. had all files deleted and removed from the server. I'm looking into switching to PHP 5 right now. I did verify, also, that the g2data file was writable, 777, and the subfolders were 755 (I changed the subfolders to 777 to see if that made any difference and no.

I will let you know what happens when I switch to PHP 5

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Mon, 2005-08-01 23:28

Ok, I've got php.ini version 5 installed. going to the main.php file gives no warnings or erros, only the permission denied messages. This being the case I'm removing the files and the db entries, and doing a clean install of gallery 2. I will let you know.

Thanks for the help so far Valiant

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Tue, 2005-08-02 00:16

OK UPDATE!!

going to the installer, I was able to get past the login.txt file successfully, but after it completed the next step, it said I had a bad login.txt file again. So I uploaded it again with the new digits and went through this again. It seems to be looping at random spots during the installation now. Wondering if the php.ini file needs to be tweaked some more. Haven't gotten to the point where it creates the config file yet, but still trying.

Was able to get all the way to the installation type step after numerous tries but failed again right after that.

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Tue, 2005-08-02 00:30

So, now, i've been able tot get all the way to step 7, but then it pretty much takes me back to the step where I tell it the location of my g2data folder. sometimes this page even looks like the fon't is off (big font's) but usually it's normal.

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Tue, 2005-08-02 00:44

mostly a note to self to keep track of my errors

Stack Trace:
Error (ERROR_STORAGE_FAILURE)
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 253 (MySqlDatabaseStorage::error)
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 210 (MySqlDatabaseStorage::_getConnection)
in modules/core/classes/GalleryStorage.class at line 728 (MySqlDatabaseStorage::init)
in install/steps/InstallCoreModuleStep.class at line 72 (GalleryStorage::isInstalled)
in install/index.php at line 167 (InstallCoreModuleStep::loadTemplateData)

Debug Output:
file_exists(../../../../g2data/cache/module/core/0/0/0.inc)
mysql error: [2005: Unknown MySQL server host 'mysql12.powweb.com ' (1)] in
CONNECT(mysql12.powweb.com , ?, ?, theklings_net)

Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL
server host 'mysql12.powweb.com ' (1) in
/www/t/theklingsnet/htdocs/modules/gallery2/lib/adodb/drivers/adodb-mysql.inc.php
on line 348
mysql12.powweb.com : Unknown MySQL server host 'mysql12.powweb.com '
(1)

file_exists(../../../../g2data//cache/entity)
file_exists(../../../../g2data//cache/theme)
file_exists(../../../../g2data//cache/module)
file_exists(../../../../g2data//cache/derivative)
mysql error: [2005: Unknown MySQL server host 'mysql12.powweb.com ' (1)] in
CONNECT(mysql12.powweb.com , ?, ?, theklings_net)

Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL
server host 'mysql12.powweb.com ' (1) in
/www/t/theklingsnet/htdocs/modules/gallery2/lib/adodb/drivers/adodb-mysql.inc.php
on line 348
mysql12.powweb.com : Unknown MySQL server host 'mysql12.powweb.com '
(1)

realpath(/www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/../../../)

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-08-02 04:38

as to your installer problems (authentication), maybe deleting your PHPSID cookie in your browser may help.
@mysql: error: can't help there. php says this db host isn't ok.

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Tue, 2005-08-02 05:48

Clearing out the cookies and offline files seemes to have fixed it but I still have the upgrade loop going on.

Here is the debug info when trying to go to main.php.

Quote:
Debug Redirect
Not automatically redirecting you to the next page because we're in debug mode
Continue to the next page
--------------------------------------------------------------------------------
file_exists(../../../../g2data/cache/module/core/0/0/0.inc)
--------------------------------------------------------------------------------
(mysql): SELECT g2_PluginParameterMap.g_parameterName, g2_PluginParameterMap.g_parameterValue FROM g2_PluginParameterMap WHERE g2_PluginParameterMap.g_pluginType = 'module' AND g2_PluginParameterMap.g_pluginId = 'core' AND g2_PluginParameterMap.g_itemId = 0
--------------------------------------------------------------------------------
file_exists(../../../../g2data/cache/module/core/0/0) file_exists(../../../../g2data/cache/module/core/0/0/0.inc)
--------------------------------------------------------------------------------
(mysql): SELECT g2_PluginParameterMap.g_parameterName, g2_PluginParameterMap.g_parameterValue FROM g2_PluginParameterMap WHERE g2_PluginParameterMap.g_pluginType = 'module' AND g2_PluginParameterMap.g_pluginId = 'core' AND g2_PluginParameterMap.g_itemId = 0
--------------------------------------------------------------------------------
file_exists(../../../../g2data/cache/module/core/0/0) file_exists(../../../../g2data/cache/module/core/0) file_exists(../../../../g2data/cache/module/core) file_exists(../../../../g2data/cache/module) file_exists(../../../../g2data/cache) file_exists(../../../../g2data) file_exists(../../../..) is_dir(../../../..) mkdir(../../../../g2data, 755) rename(/var/tmp/0.incPksCjm, ../../../../g2data/cache/module/core/0/0/0.inc) file_exists(../../../../g2data/cache/module/core/0/0) file_exists(../../../../g2data/cache/module/core/0) file_exists(../../../../g2data/cache/module/core) file_exists(../../../../g2data/cache/module) file_exists(../../../../g2data/cache) file_exists(../../../../g2data) file_exists(../../../..) is_dir(../../../..) mkdir(../../../../g2data, 755) rename(/var/tmp/0.incmb14OC, ../../../../g2data/cache/module/core/0/0/0.inc) file_exists(../../../../g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc)
--------------------------------------------------------------------------------
(mysql): SELECT g2_FactoryMap.g_classType, g2_FactoryMap.g_className, g2_FactoryMap.g_implId, g2_FactoryMap.g_implPath, g2_FactoryMap.g_hints FROM g2_FactoryMap ORDER BY g2_FactoryMap.g_orderWeight ASC
--------------------------------------------------------------------------------
file_exists(../../../../g2data/cache/module/_all/0/0) file_exists(../../../../g2data/cache/module/_all/0) file_exists(../../../../g2data/cache/module/_all) file_exists(../../../../g2data/cache/module) file_exists(../../../../g2data/cache) file_exists(../../../../g2data) file_exists(../../../..) is_dir(../../../..) mkdir(../../../../g2data, 755) rename(/var/tmp/GalleryFactoryHelper_loadRegistry.incI0MiKr, ../../../../g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) Unimplemented: GalleryUrlGenerator file_exists(../../../../g2data/sessions/504b929f9a0acc8d06902efdc47da29b) file_exists(/www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/helpers/../../../../modules/core/module.inc) realpath(/www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/../../..) Binding text domain: modules_core -> /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/locale file_exists(../../../../g2data/versions.dat) rename(/var/tmp/504b929f9a0acc8d06902efdc47da29bXKqUXU, ../../../../g2data/sessions/504b929f9a0acc8d06902efdc47da29b)

I'm going to try the fix you mentioned at this post...

http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=32072&postdays=0&postorder=asc&start=0&sid=0102ff0898ca14af3405bbc630942913

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Tue, 2005-08-02 16:41

Ok, so after more tshooting, I am back where I didn't want to be. Looping at the authenticate step. I even tried doing the install from a different location (work pc) to see if that would do anything, and it appears not. When it asked me to upload the login.txt file, I uploaded it from my original computer (laptop) which has a completely separat wan ip address, nogo.

Current version is beta 4+ dated 8/2 4am

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-08-02 16:53

you understand that you see a different login.txt key when you access the auth step from different browsers / computers, right?

i guess you should clear your cookies again. to get past the auth step.

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Tue, 2005-08-02 17:19

yes i do, so i didn't pull it up on the second computer, i just created the text file and uploaded it....

another note, 19 times out of 20, the link to the login.txt file that the installer creates for you is not the same # as what is displayed on the page.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-08-02 18:39

can't confirm any of the issues you're having there. just checked the thing you say about the login.txt downloadable file.

and i don't see others with a similar problem. you must have a very bad php / apache setup there.

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Tue, 2005-08-02 21:00

I'm willing to bet the guy who's link I provided a few posts up has the same problem with his looping. The link gives a different key than what is displayed.

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Tue, 2005-08-02 21:02

Valiant, if I create a temporary ftp and mysql account for you, would you be willing to try the install for me?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-08-02 21:08

if we offered installing for free, everyone would ask us to install G2/G1 for them.
see: http://gallery.menalto.com/modules.php?op=modload&name=GalleryPaidSupport&file=index

i don't even do it for money...

your case seems to be pretty hopeless. one would have to spend quite some time to find out what exactly is screwed up in your config/setup.

honestly, i'd report powweb that there are really strange issues and use another gallery software. i guess G1 works on powweb, there's also coppermine and other good gallery software products.

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Wed, 2005-08-03 01:46

I'm close, don't give up now!!!!!

Install is done, however had to stick with adodb error?

Issue 1
To get rid of the adodb error, I had to install version 5 php.ini on my webroot. This, and possibly the .htaccess is what was causing the authentication loop.

Resolution 1
Remove the version 5 php.ini file and htaccess ( I didn't try one at a time, was focused on completing the install).

Issue 2
Removing the 2 files forces me to get the adodb error.

Resolution 2
What damage does having this error create? I'm turning debug on to see whats going on with both versions of php.

I will let you know!

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Wed, 2005-08-03 01:54

note to self...
php 4.4.0 debug

Quote:
Notice: Only variable references should be returned by reference in /www/t/theklingsnet/htdocs/modules/gallery2/lib/adodb/adodb.inc.php on line 2832

Notice: Only variable references should be returned by reference in /www/t/theklingsnet/htdocs/modules/gallery2/lib/adodb/adodb.inc.php on line 2832

Warning: mkdir(../../../../g2data): Permission denied in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GalleryPlatform.class on line 598

Warning: rename(/var/tmp/0.inc9JOG9l,../../../../g2data/cache/module/core/0/0/0.inc): No such file or directory in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GalleryPlatform.class on line 465

Warning: mkdir(../../../../g2data): Permission denied in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GalleryPlatform.class on line 598

Warning: rename(/var/tmp/0.incRh0d5j,../../../../g2data/cache/module/core/0/0/0.inc): No such file or directory in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GalleryPlatform.class on line 465

Notice: Only variable references should be returned by reference in /www/t/theklingsnet/htdocs/modules/gallery2/lib/adodb/adodb.inc.php on line 2832

Warning: mkdir(../../../../g2data): Permission denied in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GalleryPlatform.class on line 598

Warning: rename(/var/tmp/GalleryFactoryHelper_loadRegistry.incj4IOjq,../../../../g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc): No such file or directory in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GalleryPlatform.class on line 465

Notice: Only variable references should be returned by reference in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GallerySession.class on line 603

Warning: rename(/var/tmp/5e6369013ee06342c11459ba95bbe532tpKoG0,../../../../g2data/sessions/5e6369013ee06342c11459ba95bbe532): No such file or directory in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GalleryPlatform.class on line 465

Debug Redirect
Not automatically redirecting you to the next page because we're in debug mode
Continue to the next page
--------------------------------------------------------------------------------
file_exists(../../../../g2data/cache/module/core/0/0/0.inc)
--------------------------------------------------------------------------------
(mysql): SELECT g2_PluginParameterMap.g_parameterName, g2_PluginParameterMap.g_parameterValue FROM g2_PluginParameterMap WHERE g2_PluginParameterMap.g_pluginType = 'module' AND g2_PluginParameterMap.g_pluginId = 'core' AND g2_PluginParameterMap.g_itemId = 0
--------------------------------------------------------------------------------
file_exists(../../../../g2data/cache/module/core/0/0) file_exists(../../../../g2data/cache/module/core/0/0/0.inc)
--------------------------------------------------------------------------------
(mysql): SELECT g2_PluginParameterMap.g_parameterName, g2_PluginParameterMap.g_parameterValue FROM g2_PluginParameterMap WHERE g2_PluginParameterMap.g_pluginType = 'module' AND g2_PluginParameterMap.g_pluginId = 'core' AND g2_PluginParameterMap.g_itemId = 0
--------------------------------------------------------------------------------
file_exists(../../../../g2data/cache/module/core/0/0) file_exists(../../../../g2data/cache/module/core/0) file_exists(../../../../g2data/cache/module/core) file_exists(../../../../g2data/cache/module) file_exists(../../../../g2data/cache) file_exists(../../../../g2data) file_exists(../../../..) is_dir(../../../..) mkdir(../../../../g2data, 755) rename(/var/tmp/0.inc9JOG9l, ../../../../g2data/cache/module/core/0/0/0.inc) file_exists(../../../../g2data/cache/module/core/0/0) file_exists(../../../../g2data/cache/module/core/0) file_exists(../../../../g2data/cache/module/core) file_exists(../../../../g2data/cache/module) file_exists(../../../../g2data/cache) file_exists(../../../../g2data) file_exists(../../../..) is_dir(../../../..) mkdir(../../../../g2data, 755) rename(/var/tmp/0.incRh0d5j, ../../../../g2data/cache/module/core/0/0/0.inc) file_exists(../../../../g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc)
--------------------------------------------------------------------------------
(mysql): SELECT g2_FactoryMap.g_classType, g2_FactoryMap.g_className, g2_FactoryMap.g_implId, g2_FactoryMap.g_implPath, g2_FactoryMap.g_hints FROM g2_FactoryMap ORDER BY g2_FactoryMap.g_orderWeight ASC
--------------------------------------------------------------------------------
file_exists(../../../../g2data/cache/module/_all/0/0) file_exists(../../../../g2data/cache/module/_all/0) file_exists(../../../../g2data/cache/module/_all) file_exists(../../../../g2data/cache/module) file_exists(../../../../g2data/cache) file_exists(../../../../g2data) file_exists(../../../..) is_dir(../../../..) mkdir(../../../../g2data, 755) rename(/var/tmp/GalleryFactoryHelper_loadRegistry.incj4IOjq, ../../../../g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) Unimplemented: GalleryUrlGenerator file_exists(../../../../g2data/sessions/5e6369013ee06342c11459ba95bbe532) file_exists(../../../../g2data/sessions/5e6369013ee06342c11459ba95bbe532) file_exists(/www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/helpers/../../../../modules/core/module.inc) realpath(/www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/../../..) Binding text domain: modules_core -> /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/locale file_exists(../../../../g2data/versions.dat) rename(/var/tmp/5e6369013ee06342c11459ba95bbe532tpKoG0, ../../../../g2data/sessions/5e6369013ee06342c11459ba95bbe532)

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Wed, 2005-08-03 01:56

note to self
.htaccess to php version 5

Quote:
Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 150501 is not allowed to access ../../../.. owned by uid 0 in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GalleryPlatform.class on line 598

Warning: rename() [function.rename]: SAFE MODE Restriction in effect. The script whose uid is 150501 is not allowed to access /www/t owned by uid 0 in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GalleryPlatform.class on line 465

Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 150501 is not allowed to access ../../../.. owned by uid 0 in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GalleryPlatform.class on line 598

Warning: rename() [function.rename]: SAFE MODE Restriction in effect. The script whose uid is 150501 is not allowed to access /www/t owned by uid 0 in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GalleryPlatform.class on line 465

Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 150501 is not allowed to access ../../../.. owned by uid 0 in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GalleryPlatform.class on line 598

Warning: rename() [function.rename]: SAFE MODE Restriction in effect. The script whose uid is 150501 is not allowed to access /www/t owned by uid 0 in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GalleryPlatform.class on line 465

Warning: putenv() [function.putenv]: Safe Mode warning: Cannot set environment variable 'LANG' - it's not in the allowed list in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GalleryTranslator.class on line 267

Warning: putenv() [function.putenv]: Safe Mode warning: Cannot set environment variable 'LANGUAGE' - it's not in the allowed list in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GalleryTranslator.class on line 268

Warning: rename() [function.rename]: SAFE MODE Restriction in effect. The script whose uid is 150501 is not allowed to access /www/t owned by uid 0 in /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/GalleryPlatform.class on line 465

Debug Redirect
Not automatically redirecting you to the next page because we're in debug mode
Continue to the next page
--------------------------------------------------------------------------------
file_exists(../../../../g2data/cache/module/core/0/0/0.inc)
--------------------------------------------------------------------------------
(mysql): SELECT g2_PluginParameterMap.g_parameterName, g2_PluginParameterMap.g_parameterValue FROM g2_PluginParameterMap WHERE g2_PluginParameterMap.g_pluginType = 'module' AND g2_PluginParameterMap.g_pluginId = 'core' AND g2_PluginParameterMap.g_itemId = 0
--------------------------------------------------------------------------------
file_exists(../../../../g2data/cache/module/core/0/0) file_exists(../../../../g2data/cache/module/core/0/0/0.inc)
--------------------------------------------------------------------------------
(mysql): SELECT g2_PluginParameterMap.g_parameterName, g2_PluginParameterMap.g_parameterValue FROM g2_PluginParameterMap WHERE g2_PluginParameterMap.g_pluginType = 'module' AND g2_PluginParameterMap.g_pluginId = 'core' AND g2_PluginParameterMap.g_itemId = 0
--------------------------------------------------------------------------------
file_exists(../../../../g2data/cache/module/core/0/0) file_exists(../../../../g2data/cache/module/core/0) file_exists(../../../../g2data/cache/module/core) file_exists(../../../../g2data/cache/module) file_exists(../../../../g2data/cache) file_exists(../../../../g2data) file_exists(../../../..) file_exists(../../..) is_dir(../../..) mkdir(../../../.., 755) rename(/var/tmp/0.incdKLQ5r, ../../../../g2data/cache/module/core/0/0/0.inc) file_exists(../../../../g2data/cache/module/core/0/0) file_exists(../../../../g2data/cache/module/core/0) file_exists(../../../../g2data/cache/module/core) file_exists(../../../../g2data/cache/module) file_exists(../../../../g2data/cache) file_exists(../../../../g2data) file_exists(../../../..) file_exists(../../..) is_dir(../../..) mkdir(../../../.., 755) rename(/var/tmp/0.inc40BRKs, ../../../../g2data/cache/module/core/0/0/0.inc) file_exists(../../../../g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc)
--------------------------------------------------------------------------------
(mysql): SELECT g2_FactoryMap.g_classType, g2_FactoryMap.g_className, g2_FactoryMap.g_implId, g2_FactoryMap.g_implPath, g2_FactoryMap.g_hints FROM g2_FactoryMap ORDER BY g2_FactoryMap.g_orderWeight ASC
--------------------------------------------------------------------------------
file_exists(../../../../g2data/cache/module/_all/0/0) file_exists(../../../../g2data/cache/module/_all/0) file_exists(../../../../g2data/cache/module/_all) file_exists(../../../../g2data/cache/module) file_exists(../../../../g2data/cache) file_exists(../../../../g2data) file_exists(../../../..) file_exists(../../..) is_dir(../../..) mkdir(../../../.., 755) rename(/var/tmp/GalleryFactoryHelper_loadRegistry.inc2nUaCi, ../../../../g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) Unimplemented: GalleryUrlGenerator file_exists(../../../../g2data/sessions/5e6369013ee06342c11459ba95bbe532) file_exists(../../../../g2data/sessions/5e6369013ee06342c11459ba95bbe532) file_exists(/www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/helpers/../../../../modules/core/module.inc) realpath(/www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/../../..) Binding text domain: modules_core -> /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/locale file_exists(../../../../g2data/versions.dat) rename(/var/tmp/5e6369013ee06342c11459ba95bbe532aHHvpn, ../../../../g2data/sessions/5e6369013ee06342c11459ba95bbe532)

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Wed, 2005-08-03 01:59

note to self
php version 5 php.ini file

Quote:
Debug Redirect
Not automatically redirecting you to the next page because we're in debug mode
Continue to the next page
--------------------------------------------------------------------------------
file_exists(../../../../g2data/cache/module/core/0/0/0.inc)
--------------------------------------------------------------------------------
(mysql): SELECT g2_PluginParameterMap.g_parameterName, g2_PluginParameterMap.g_parameterValue FROM g2_PluginParameterMap WHERE g2_PluginParameterMap.g_pluginType = 'module' AND g2_PluginParameterMap.g_pluginId = 'core' AND g2_PluginParameterMap.g_itemId = 0
--------------------------------------------------------------------------------
file_exists(../../../../g2data/cache/module/core/0/0) file_exists(../../../../g2data/cache/module/core/0/0/0.inc)
--------------------------------------------------------------------------------
(mysql): SELECT g2_PluginParameterMap.g_parameterName, g2_PluginParameterMap.g_parameterValue FROM g2_PluginParameterMap WHERE g2_PluginParameterMap.g_pluginType = 'module' AND g2_PluginParameterMap.g_pluginId = 'core' AND g2_PluginParameterMap.g_itemId = 0
--------------------------------------------------------------------------------
file_exists(../../../../g2data/cache/module/core/0/0) file_exists(../../../../g2data/cache/module/core/0) file_exists(../../../../g2data/cache/module/core) file_exists(../../../../g2data/cache/module) file_exists(../../../../g2data/cache) file_exists(../../../../g2data) file_exists(../../../..) is_dir(../../../..) mkdir(../../../../g2data, 755) rename(/var/tmp/0.incq5Ue85, ../../../../g2data/cache/module/core/0/0/0.inc) file_exists(../../../../g2data/cache/module/core/0/0) file_exists(../../../../g2data/cache/module/core/0) file_exists(../../../../g2data/cache/module/core) file_exists(../../../../g2data/cache/module) file_exists(../../../../g2data/cache) file_exists(../../../../g2data) file_exists(../../../..) is_dir(../../../..) mkdir(../../../../g2data, 755) rename(/var/tmp/0.inckLSQR9, ../../../../g2data/cache/module/core/0/0/0.inc) file_exists(../../../../g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc)
--------------------------------------------------------------------------------
(mysql): SELECT g2_FactoryMap.g_classType, g2_FactoryMap.g_className, g2_FactoryMap.g_implId, g2_FactoryMap.g_implPath, g2_FactoryMap.g_hints FROM g2_FactoryMap ORDER BY g2_FactoryMap.g_orderWeight ASC
--------------------------------------------------------------------------------
file_exists(../../../../g2data/cache/module/_all/0/0) file_exists(../../../../g2data/cache/module/_all/0) file_exists(../../../../g2data/cache/module/_all) file_exists(../../../../g2data/cache/module) file_exists(../../../../g2data/cache) file_exists(../../../../g2data) file_exists(../../../..) is_dir(../../../..) mkdir(../../../../g2data, 755) rename(/var/tmp/GalleryFactoryHelper_loadRegistry.incFKpQqp, ../../../../g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) Unimplemented: GalleryUrlGenerator file_exists(../../../../g2data/sessions/5e6369013ee06342c11459ba95bbe532) file_exists(../../../../g2data/sessions/5e6369013ee06342c11459ba95bbe532) file_exists(/www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/helpers/../../../../modules/core/module.inc) realpath(/www/t/theklingsnet/htdocs/modules/gallery2/modules/core/classes/../../..) Binding text domain: modules_core -> /www/t/theklingsnet/htdocs/modules/gallery2/modules/core/locale file_exists(../../../../g2data/versions.dat) rename(/var/tmp/5e6369013ee06342c11459ba95bbe532coYRKi, ../../../../g2data/sessions/5e6369013ee06342c11459ba95bbe532)

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Wed, 2005-08-03 02:07

According to the Upgrader I have version 9.3.3
I had to remove the php.ini file again to get past the authenticate step.

Since I had to remove it I get the adodb error on the Upgrade modules step and then again on the Finished page.

Going to read up on that fix you mentioned in the other topic.

 
MurphDog

Joined: 2003-04-13
Posts: 40
Posted: Wed, 2005-08-03 03:22

In the above mentioned post you say

Quote:
go to phpmyadmin, click on g2_PluginParameterMap
click on browse
find the rows
"module core 0 default.layout wordpress"
and
"module core 0 default.theme matrix"
note: just find the rows
"module core 0 default.layout "
"module core 0 default.theme "
the value in the g_parameterValue column is not that important. just change the value from wordpress or anything else to matrix in boths rowse (default.layout and default.theme).
then go to yourgalleryurl/lib/tools/test/ and hit flushCache and hit on flushTemplate

module core 0 default.layout classic
module core 0 default.theme matrix

I know this is an older version, but I thought I'd ask anyway. I looked at my tables and saw that there was no "module core 0 default.layout" row
Is this on purpose?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-08-03 05:30

yes, there are not themes anymore in G2.

 
d_hos

Joined: 2005-06-15
Posts: 6
Posted: Fri, 2005-08-05 01:40

I'm having the exact same issue with powweb. Very similar errors. I am using the beta4 version installed to a clean directory with the correct permissions granted.

On step 8 I get:

Notice: Only variable references should be returned by reference in /www/h/hostetterorg/htdocs/bbiphotos/lib/adodb/adodb.inc.php on line 2832

Fatal error: Cannot instantiate non-existent class: gallerygroup in /www/h/hostetterorg/htdocs/bbiphotos/modules/core/CoreModuleExtras.inc on line 1373

The first error is listed about 40 times, the last only once (and last).

One add'l thing happening to me is that FTP uploads with powweb seem very flaky. I had to retry like 15 times over hours to get it all uploaded. And during the system checks I get this:

Gallery file integrity Warning

# modules/core/classes/interfaces/GalleryGroup.inc
# modules/core/po/no_NO.po
# modules/quotas/classes/GNUmakefile
# modules/exif/classes/GNUmakefile
# modules/migrate/test/data/albums/album04/album.dat
# modules/netpbm/classes/NetPbmToolkit.class
# modules/webcam/po/strings.raw
# themes/matrix/po/ja_JP.po

the filesizes, dates and times are the same on the remote server as from the gallery package. I'll try reuploading them but honestly I don't see how those files could cause these errors. I guess powweb has an issue with PHP.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-08-05 01:45

d_hos, i can't do anything about the PHP notices. as i explained in this topic, powweb has a very weird php engine. i've eplained in this thread how to get rid of them.

@fatal error / missing / modified files:
reupload the missing/modified files to fix your fatal error problem.
as long as you have a file integrity warning, you don't have to try to install g2.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-08-05 14:30

@powweb users:
you are not the only one with the strange PHP Notices:

see my bug report:
http://bugs.php.net/bug.php?id=34009

 
d_hos

Joined: 2005-06-15
Posts: 6
Posted: Fri, 2005-08-05 19:48

Thanks valient, I read the thread closely and saw some suggestions on how to resolve this, I was just posting to verifying that it's powweb.

I too am having the problem with the login authentication failing at various points during the install process. I also noticed that the authentication string sometimes repeats. Also the link to download the text file containing the string sometimes doesn't contain the displayed string, in fact it usually contains the NEXT string that gets offered. Isn't that strange.

I gave up when finally I couldn't get any login authentication string be accepted at all. I deleted everything gallery2 and I'm trying again today. If I can't get it working then I'll just use G1 for which powweb offers a preloading option.

I had tried using the recommended ini for the latest beta of PHP 5, also found how you can use PHP5 with powweb instead of 4.4, neither of those solved the problem with the PHP notices or authentication though.

 
d_hos

Joined: 2005-06-15
Posts: 6
Posted: Sun, 2005-08-07 16:04

This seems to solve the authentication looping problem. I was having a similar problem with G1 where logging in as admin wouldn't 'stick'.

http://forum.powweb.com/showthread.php?t=49830

"We've already seen a number of tickets and support requests on sessions not being saved."

"Edit the session.save_path variable (php.ini) to point to somewhere in your own webspace."

"Since session files will be saved directly to your webspace, you will either need to log into FTP to delete them manually every so often (depending on the traffic of your site), or set up a cron job to automatically sweep this folder"