"Item not found."

Zathu

Joined: 2007-01-08
Posts: 5
Posted: Mon, 2007-01-08 10:36

I had a similar error before and kind of put it on the back burner for awhile, I tried upgrading hoping the file overwrite would fix it. I've got my G2 integrated into Joomla and the image of the day worked as a way to get into albums within Gallery, but I can't load the main.php. I upgraded to 2.2 RC1 and am still getting an error..

Error

Item not found.

Back to the Gallery


Gallery version: 2.2RC1
PHP version: 5.1.6
PHPInfo Link: http://www.theorderofthejedi.org/joomla/gallery2/lib/support/phpinfo.php
Webserver: Apache 1.3.37 (Unix)
Database: MySQL 4.1.21-standard
Activated toolkits: Unknown
Operating system (e.g. Linux): Linux
Browser: Firefox 2.0.0.1 for Mac

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2007-01-08 16:24

- Does it work correctly in standalone?
- If you want to post a phpinfo link, please put a phpinfo file into your gallery2 folder. the one in lib/support is password protected.
- Please enable buffered debug mode:
FAQ: How to set/use Gallery in debug mode?
- did you already try to clear your gallery caches?
FAQ: How can I clear cached data?
- probably, your joomla integration deleted g2's guest user. but that's just a theory. we'll know more once you enable the debug mode.

--------------
Enter the Gallery 2 Theme Contest today!

 
Zathu

Joined: 2007-01-08
Posts: 5
Posted: Mon, 2007-01-08 18:42

No, standalone does not work either.

I've put phpinfo.pphp in my gallery2 folder, but its still showing up blank.
http://www.theorderofthejedi.org/joomla/gallery2/phpinfo.php

Here it is with debug mode:
http://www.theorderofthejedi.org/joomla/gallery2/main.php

I tried clearing the cache before the upgrade, but not after. I just cleared the cache again and it looks the same.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2007-01-08 23:51

@phpinfo:
then your phpinfo isn't right or something's wrong with your webserver. <?php phpinfo(); ?> is all that should be in that file.

@gallery:
(mysql): SELECT g2_User.g_userName, g2_User.g_fullName, g2_User.g_hashedPassword, g2_User.g_email, g2_User.g_language, g2_User.g_locked, g2_Entity.g_id, g2_Entity.g_creationTimestamp, g2_Entity.g_isLinkable, g2_Entity.g_linkId, g2_Entity.g_modificationTimestamp, g2_Entity.g_serialNumber, g2_Entity.g_entityType, g2_Entity.g_onLoadHandlers FROM g2_User, g2_Entity WHERE g2_User.g_id IN (6,54) AND g2_Entity.g_id=g2_User.g_id
is the last query.

either the user with id 6 or 54 are corrupted.
you need to check your database manually, a row for each of those ids should be in the User and in the Entity table.

--------------
Enter the Gallery 2 Theme Contest today!

 
Zathu

Joined: 2007-01-08
Posts: 5
Posted: Tue, 2007-01-09 02:58

@phpinfo:
Hmm, the code's right, must be something with my web host.

@gallery:
I re-synced the users from Joomla and it seemed to change that message to not include 54. I don't see anything strange within phpMyAdmin for 6 or 54.
(mysql): SELECT g2_User.g_userName, g2_User.g_fullName, g2_User.g_hashedPassword, g2_User.g_email, g2_User.g_language, g2_User.g_locked, g2_Entity.g_id, g2_Entity.g_creationTimestamp, g2_Entity.g_isLinkable, g2_Entity.g_linkId, g2_Entity.g_modificationTimestamp, g2_Entity.g_serialNumber, g2_Entity.g_entityType, g2_Entity.g_onLoadHandlers FROM g2_User, g2_Entity WHERE g2_User.g_id IN (6) AND g2_Entity.g_id=g2_User.g_id

 
Zathu

Joined: 2007-01-08
Posts: 5
Posted: Thu, 2007-01-18 05:33

Does anyone have any idea what else I could try? =/

 
Zathu

Joined: 2007-01-08
Posts: 5
Posted: Mon, 2007-01-22 05:35

:bump:

Any thoughts? Is there any way to back up the users, album detail, and image details and import them into a fresh install?