|
Title: Manage Items Post by: onastvar on February 14, 2008, 09:09:13 pm When in RSGallery2 Control Panel when I click on Manage Items i get the following:
Sorry for the long code...Please assist? Code: jexception Object [/code][/code][/code]( [_errors] => Array ( ) [level] => 1 [code] => 1 [message] => gallery id does not exist: 1 [info] => [file] => [line] => 0 [function] => [class] => [type] => [args] => [backtrace] => Array ( [0] => Array ( [function] => __construct [class] => jexception [type] => -> [args] => Array ( [0] => 1 [1] => 1 [2] => gallery id does not exist: 1 [3] => [4] => 1 ) ) [1] => Array ( [file] => /home/www/bosanskinovi/components/com_rsgallery2/lib/j15backport/libraries/joomla/base/object.php [line] => 49 [function] => call_user_func_array [args] => Array ( [0] => Array ( [0] => jexception Object ( [_errors] => Array ( ) [level] => 1 [code] => 1 [message] => gallery id does not exist: 1 [info] => [file] => [line] => 0 [function] => [class] => [type] => [args] => [backtrace] => Array *RECURSION* ) [1] => __construct ) [1] => Array ( [0] => 1 [1] => 1 [2] => gallery id does not exist: 1 [3] => [4] => 1 ) ) ) [2] => Array ( [file] => /home/www/bosanskinovi/components/com_rsgallery2/lib/j15backport/libraries/joomla/utilities/error.php [line] => 139 [function] => jobject [class] => jexception [type] => -> [args] => Array ( [0] => 1 [1] => 1 [2] => gallery id does not exist: 1 [3] => [4] => 1 ) ) [3] => Array ( [file] => /home/www/bosanskinovi/components/com_rsgallery2/lib/j15backport/libraries/joomla/utilities/error.php [line] => 174 [function] => raise [class] => jerror [type] => :: [args] => Array ( [0] => 1 [1] => 1 [2] => gallery id does not exist: 1 [3] => [4] => 1 ) ) [4] => Array ( [file] => /home/www/bosanskinovi/administrator/components/com_rsgallery2/includes/gallery.manager.php [line] => 202 [function] => raiseerror [class] => jerror [type] => :: [args] => Array ( [0] => 1 [1] => gallery id does not exist: 1 ) ) [code] Title: Re: Manage Items Post by: Jonah on February 15, 2008, 12:57:06 pm Do you know how this error came about? What you did to that then triggered this error?
You need to create a new gallery. Then use phpmyadmin or another database tool to modify jos_rsgallery2_galleries and edit the new gallery and manually change the id to 1. Then you can deal with the images that are in that gallery or delete it or whatever. Title: Re: Manage Items Post by: onastvar on February 16, 2008, 10:53:19 pm Jonah, thanks for your reply. To answer your questions. I did an upgrade, to RSGallery2 1.14.3 Alpha - SVN 649. I have about 14 galleries where 2 of galleries have 4 subgalleries. Eveything is working fine after the upgrade, except when I'm in control panel and when I click on MANAGE ITEMS I get that code page.
Is there a way to fix this and to keep these 14 existing galleries? Please advise - Thanks Title: Re: Manage Items Post by: Jonah on February 18, 2008, 11:13:33 am Odd, I can't see how upgrading would have caused that.
If you follow my directions, it will fix the issue and you will retain the rest of your data. Title: Re: Manage Items Post by: onastvar on February 19, 2008, 04:28:25 pm Attached is screenshot of phpMyAdmin > Table: jos_rsgallery2_galleries. I'm not sure how to change ID to 1 any suggestions?
Thanks Title: Re: Manage Items Post by: Jonah on February 20, 2008, 08:32:59 am Click Browse
Edit the new gallery you created Change the ID to 1. WARNING: Make a backup first. If you screw up it isn't my fault. :) Title: Re: Manage Items Post by: onastvar on February 20, 2008, 10:40:22 pm What NEW gallery did I create???
I've tried to change ID to 1 - same error - same result Any other suggestions? Title: Re: Manage Items Post by: Jonah on February 21, 2008, 01:17:18 pm What NEW gallery did I create??? Please actually read my posts. Title: Re: Manage Items Post by: onastvar on February 21, 2008, 10:01:27 pm I'm not sure why you moved this post to resloved. The bug / issue could not be resloved with instructions from your posts.
|