RSGallery2 Support Forums
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : December 04, 2008, 12:37:18 am
+  RSGallery2 Support Forums
|-+  RSgallery2 support forums
| |-+  RSgallery2 bugs & problems
| | |-+  Resolved Issues (Moderators: Jonah, Daniel Tulp, Ronald Smit)
| | | |-+  Manage Items
Advanced search
  « previous next »
Pages 1
Author
Topic: Manage Items  (Read 4712 times)
« on: February 14, 2008, 09:09:13 pm »
onastvar Offline
Newbie
*
Posts: 8



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
(
    [_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]
[/code][/code][/code]
Logged
 
Reply #1
« on: February 15, 2008, 12:57:06 pm »
Jonah Offline
Administrator
Hero Member
*****
Posts: 1414



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.
Logged

Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.
 
Reply #2
« on: February 16, 2008, 10:53:19 pm »
onastvar Offline
Newbie
*
Posts: 8



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
Logged
 
Reply #3
« on: February 18, 2008, 11:13:33 am »
Jonah Offline
Administrator
Hero Member
*****
Posts: 1414



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.
Logged

Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.
 
Reply #4
« on: February 19, 2008, 04:28:25 pm »
onastvar Offline
Newbie
*
Posts: 8



Attached is screenshot of phpMyAdmin > Table: jos_rsgallery2_galleries. I'm not sure how to change ID to 1 any suggestions?

Thanks
Logged
 
Reply #5
« on: February 20, 2008, 08:32:59 am »
Jonah Offline
Administrator
Hero Member
*****
Posts: 1414



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.   Smiley
Logged

Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.
 
Reply #6
« on: February 20, 2008, 10:40:22 pm »
onastvar Offline
Newbie
*
Posts: 8



What NEW gallery did I create???
I've tried to change ID to 1 - same error - same result
Any other suggestions?
Logged
 
Reply #7
« on: February 21, 2008, 01:17:18 pm »
Jonah Offline
Administrator
Hero Member
*****
Posts: 1414



What NEW gallery did I create???

Please actually read my posts.
Logged

Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.
 
Reply #8
« on: February 21, 2008, 10:01:27 pm »
onastvar Offline
Newbie
*
Posts: 8



I'm not sure why you moved this post to resloved. The bug / issue could not be resloved with instructions from your posts.
Logged
 
Print  Pages 1
« previous next »
Jump to: