collapse

* User Info

 
 
Welcome, Guest. Please login or register.

* Recent Posts

How do i replace an image file with another image file by Malu
[December 16, 2020, 03:17:02 PM]


Can't get RSG "Show My Galleries" to work by Dampfnudel
[February 25, 2019, 11:01:55 AM]


Change the order of uploaded images in the gallery by whazzup
[February 19, 2019, 10:37:29 PM]


Upload timeout for large galleries (500 images each) by whazzup
[February 11, 2019, 10:07:25 PM]


Greetings from Ronald Smit by whazzup
[January 06, 2019, 03:39:22 PM]


Pluign and module by whazzup
[June 08, 2018, 11:57:13 PM]


Version 4.4.1 released by whazzup
[May 31, 2018, 04:31:16 PM]


search.html.php refer to rsgsearch.css with a wrong path by whazzup
[January 13, 2018, 08:12:04 PM]

Author Topic: Manage Items  (Read 7816 times)

Offline onastvar

  • Newbie
  • *
  • Posts: 8
Manage Items
« on: February 15, 2008, 03:09:13 AM »
When in RSGallery2 Control Panel when I click on Manage Items i get the following:

Sorry for the long code...Please assist?

Code: [Select]
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]

Offline Jonah

  • Retired from Dev Team
  • Hero Member
  • ****
  • Posts: 1.412
Re: Manage Items
« Reply #1 on: February 15, 2008, 06: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.
Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.

Offline onastvar

  • Newbie
  • *
  • Posts: 8
Re: Manage Items
« Reply #2 on: February 17, 2008, 04:53:19 AM »
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

Offline Jonah

  • Retired from Dev Team
  • Hero Member
  • ****
  • Posts: 1.412
Re: Manage Items
« Reply #3 on: February 18, 2008, 05:13:33 PM »
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.
Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.

Offline onastvar

  • Newbie
  • *
  • Posts: 8
Re: Manage Items
« Reply #4 on: February 19, 2008, 10: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


[attachment no longer available]

Offline Jonah

  • Retired from Dev Team
  • Hero Member
  • ****
  • Posts: 1.412
Re: Manage Items
« Reply #5 on: February 20, 2008, 02:32:59 PM »
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.   :)
Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.

Offline onastvar

  • Newbie
  • *
  • Posts: 8
Re: Manage Items
« Reply #6 on: February 21, 2008, 04:40:22 AM »
What NEW gallery did I create???
I've tried to change ID to 1 - same error - same result
Any other suggestions?

Offline Jonah

  • Retired from Dev Team
  • Hero Member
  • ****
  • Posts: 1.412
Re: Manage Items
« Reply #7 on: February 21, 2008, 07:17:18 PM »
What NEW gallery did I create???

Please actually read my posts.
Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.

Offline onastvar

  • Newbie
  • *
  • Posts: 8
Re: Manage Items
« Reply #8 on: February 22, 2008, 04:01:27 AM »
I'm not sure why you moved this post to resloved. The bug / issue could not be resloved with instructions from your posts.