2.0 installation problems using PHP 4.4.0

breilly

Joined: 2005-10-19
Posts: 3
Posted: Wed, 2005-10-19 18:48

I updated an existing Gallery installation to 2.0 last week and it ran fine until yesterday. I created a new installation today to see if that would work and it doesn't -- I get the same errors after setting debug mode to buffered. Errors are below and don't mean too much to me. The host (vizaweb) is running PHP 4.4.0

my new installation is at http://www.reillyville.com/photo
old one: http://www.reillyville.com/pictures

I have seen some postings about modifying php.ini to change the zend optimizer but I don't think I have access to that file. Is there an example somewhere of how to add that change locally?

Thanks,

Brian Reilly

Notice: Only variable references should be returned by reference in /home/reillyv/public_html/photo/modules/core/classes/GalleryDataCache.class on line 324

Notice: Only variable references should be returned by reference in /home/reillyv/public_html/photo/lib/adodb/adodb.inc.php on line 2847

Notice: Only variable references should be returned by reference in /home/reillyv/public_html/photo/modules/core/classes/GallerySession.class on line 603

Notice: Only variable references should be returned by reference in /home/reillyv/public_html/photo/modules/core/classes/GallerySession.class on line 603

Notice: Only variable references should be returned by reference in /home/reillyv/public_html/photo/modules/core/classes/GallerySession.class on line 603

Notice: Only variable references should be returned by reference in /home/reillyv/public_html/photo/modules/core/classes/GallerySession.class on line 603

Notice: Only variable references should be returned by reference in /home/reillyv/public_html/photo/modules/core/classes/GallerySession.class on line 603
Error
An error has occurred.

Back to the Gallery

Error Detail +
Debug Output

getParameter permissions.file for core plugin file_exists(/home/reillyv/public_html/photo/g2data/cache/module/core/0/0/0.inc) file_exists(/home/reillyv/public_html/photo/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) file_exists(/home/reillyv/public_html/photo/modules/core/classes/helpers/../../../../modules/rewrite/classes/RewriteUrlGenerator.class)
(mysql): SELECT g2_RewriteMap.g_match, g2_RewriteMap.g_pattern FROM g2_RewriteMap WHERE g2_RewriteMap.g_match != ''
file_exists(/home/reillyv/public_html/photo/g2data/sessions/e3265161eb4dedb20ce03ae065ff8e05) file_exists(/home/reillyv/public_html/photo/g2data/sessions/e3265161eb4dedb20ce03ae065ff8e05) getParameter cookie.domain for core plugin getParameter cookie.path for core plugin getParameter galleryLocation for rewrite plugin file_exists(/home/reillyv/public_html/photo/g2data/cache/module/rewrite/0/0/0.inc) getParameter default.language for core plugin Loading plugin core Class not defined, trying to include it. file_exists(/home/reillyv/public_html/photo/modules/core/classes/helpers/../../../../modules/core/module.inc) realpath(/home/reillyv/public_html/photo/modules/core/classes/../../..) Binding text domain: modules_core -> /home/reillyv/public_html/photo/modules/core/locale core plugin successfully instantiated file_exists(/home/reillyv/public_html/photo/g2data/versions.dat) file(/home/reillyv/public_html/photo/g2data/versions.dat, ) getParameter id.anonymousUser for core plugin [1129747174] can't guarantee 5 -- extending! file_exists(/home/reillyv/public_html/photo/g2data/cache/entity/0/0/5.inc) Loading plugin core core plugin successfully instantiated Check the version of the core plugin file_exists(/home/reillyv/public_html/photo/g2data/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the core plugin is ok file_exists(/home/reillyv/public_html/photo/modules/core/classes/../../../modules/core/ShowItem.inc) getParameter id.rootAlbum for core plugin file_exists(/home/reillyv/public_html/photo/g2data/cache/entity/0/0/7.inc) getParameter default.theme for core plugin Loading plugin matrix Class not defined, trying to include it. file_exists(/home/reillyv/public_html/photo/modules/core/classes/helpers/../../../../themes/matrix/theme.inc) matrix plugin successfully instantiated Check the version of the matrix plugin file_exists(/home/reillyv/public_html/photo/g2data/cache/theme/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the matrix plugin is ok file_exists(/home/reillyv/public_html/photo/g2data/cache/theme/matrix/0/0/0.inc) file_exists(/home/reillyv/public_html/photo/g2data/cache/theme/matrix/0/0/7.inc) getParameter id.anonymousUser for core plugin getParameter id.adminGroup for core plugin
(mysql): SELECT g2_UserGroupMap.g_userId FROM g2_UserGroupMap WHERE g2_UserGroupMap.g_userId = 5 AND g2_UserGroupMap.g_groupId = '3' LIMIT 1
getParameter id.rootAlbum for core plugin mysql error: [1030: Got error 12 from table handler] in EXECUTE(" SELECT g2_Group.g_id, g2_Group.g_groupName FROM g2_UserGroupMap, g2_Group WHERE g2_Group.g_id = g2_UserGroupMap.g_groupId AND g2_UserGroupMap.g_userId = 5 ORDER BY g2_Group.g_groupName LIMIT 18446744073709551615")
(mysql): SELECT g2_Group.g_id, g2_Group.g_groupName FROM g2_UserGroupMap, g2_Group WHERE g2_Group.g_id = g2_UserGroupMap.g_groupId AND g2_UserGroupMap.g_userId = 5 ORDER BY g2_Group.g_groupName LIMIT 18446744073709551615
1030: Got error 12 from table handler

adodb_mysql._execute(
SELECT
g2_Group.g_id,
g2_Group.g_groupName
FROM
g2_UserGroupM...) % line
836, file: adodb.inc.php

adodb_mysql.execute(
SELECT
g2_Group.g_id,
g2_Group.g_groupName
FROM
g2_UserGroupM..., Array[1]) % line 479, file: adodb-mysql.inc.php

adodb_mysql.selectlimit(
SELECT
g2_Group.g_id,
g2_Group.g_groupName
FROM
g2_UserGroupM..., -1, -1, Array[1]) % line 1154, file: DatabaseStorage.class

mysqldatabasestorage.search(
SELECT
[GalleryGroup::id],
[GalleryGroup::groupName]
FROM
[Ga..., Array[1], Array[1]) % line 245, file: GalleryStorage.class

gallerystorage.search(
SELECT
[GalleryGroup::id],
[GalleryGroup::groupName]
FROM
[Ga..., Array[1], Array[1]) % line 223, file: Gallery.class
getParameter default.theme for core plugin Loading plugin matrix matrix plugin successfully instantiated Check the version of the matrix plugin The version of the matrix plugin is ok Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok file_exists(/home/reillyv/public_html/photo/modules/core/classes/../../../modules/core/ErrorPage.inc) getParameter id.adminGroup for core plugin realpath(/home/reillyv/public_html/photo/modules/core/classes/../../../) file_exists(/home/reillyv/public_html/photo/modules/core/classes/../../../lib/javascript/local/BlockToggle.js) file_exists(/home/reillyv/public_html/photo/g2data/smarty/templates_c/%%1473840668) is_dir(/home/reillyv/public_html/photo/g2data/smarty/templates_c/%%1473840668) file_exists(/home/reillyv/public_html/photo/g2data/smarty/templates_c/%%1473840668) is_writeable(/home/reillyv/public_html/photo/g2data/smarty/templates_c/%%1473840668) file_exists(/home/reillyv/public_html/photo/g2data/smarty/templates_c/%%1473840668/v_8) realpath(/home/reillyv/public_html/photo/modules/core/classes/../../..) Binding text domain: themes_matrix -> /home/reillyv/public_html/photo/themes/matrix/locale file_exists(/home/reillyv/public_html/photo/modules/core/classes/../../../themes/matrix/local/theme.css)

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-10-19 19:00

FAQ: I get "Notice: Only variable references should be returned by reference in ", what's wrong?

only your webhosting administrator can access php.ini, contact them and point them to the FAQ entry.

 
breilly

Joined: 2005-10-19
Posts: 3
Posted: Wed, 2005-10-19 19:19

Thanks -- I did that and am still waiting to hear back from them, so I guess there is nothing more to do.

 
breilly

Joined: 2005-10-19
Posts: 3
Posted: Thu, 2005-10-20 16:13

They say to create a php.ini file in my public_html folder with the zend_optimizer.optimization_level=14 line in it. This hasn't helped, but I may be doing it wrong. What else should be in the php.ini file? Does it get checked before or after the php.ini file on the host?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-10-20 16:21

ask them for a copy of their php.ini file.
in your copy, change the zend optimizer level line and save it where they tell you to.

please handle this with your webhost, we can't help you there.