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, 07:57:43 pm
+  RSGallery2 Support Forums
|-+  RSgallery2 support forums
| |-+  RSgallery2 bugs & problems (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  User delete image problem
Advanced search
  « previous next »
Pages 1
Author
Topic: User delete image problem  (Read 2764 times)
« on: August 10, 2008, 10:14:38 am »
Smoothound
Guest

Hi

I?m using Joomla 1.5 with RSGallery2 version 2.00.0(SVN802) and am more than happy with it, but we have discovered one problem.

If a user wants to delete an image from the front end they have uploaded they get the following error message ?No Id provided. Contact component developer? even though we have found a way round it by going into edit then coming out of edit then straight into delete then it works, but it?s a bit long winded.
All the galleries have a topic and the owner is ?no user?

Any ideas or suggestions to help resolve this wound be appreciated.

Thanks
Antony
Logged
 
Reply #1
« on: August 11, 2008, 01:19:54 pm »
Smoothound
Guest

Here's more info if required. I am running Joomla 1.5.2 the php version is 5.2.6 and the operating system is Linux.
I am also running phpBB forum 3.01 which is bridged using a Jfusion bridge. Users register through phpBB forum but use Joomla to login.
Being the site administrator I have no problems deleting images from the back end, the problem is users wanting to delete their own images for whatever the reason.

If you want to take a look the URL is http://www.bembridge-ac.co.uk

Any help would be appreciated.

Thanks
Antony
Logged
 
Reply #2
« on: August 11, 2008, 01:53:09 pm »
Smoothound
Guest

I have turned the debug on and can recreate the bug but after that I don't know what I'm looking at.

Help
Thanks
Antony
Logged
 
Reply #3
« on: September 15, 2008, 10:05:01 pm »
Ka Lodger Offline
Newbie
*
Posts: 3



same here, the super admin cant delete images from frontend:
joomla 1.5, RSGallery2 2.00.0 Beta - SVN 802
the icons are there, after klicking delte icon, the message appears (do you want to..), after hitting OK, the page reloads but the image is still there..
please advise
best regards
philipp
ftv
Logged
 
Reply #4
« on: September 17, 2008, 11:53:42 am »
greenmeanie Offline
Newbie
*
Posts: 6

WWW

Same here doesn't give an error but they can't delete from the front end.
Logged
 
Reply #5
« on: November 04, 2008, 07:39:45 am »
garysumpter Offline
Newbie
*
Posts: 18



This is a real problem, any fixes?
Logged
 
Reply #6
« on: November 04, 2008, 08:40:58 am »
Antti Offline
Dev Team
Newbie
*
Posts: 29



Reproduced the issue as well and will try to find solution.
Logged

RSGallery2: 1.5Native - Dev
 
Reply #7
« on: November 04, 2008, 11:56:28 am »
Antti Offline
Dev Team
Newbie
*
Posts: 29



Hey, try to edit components/com_rsgallery2/lib/mygalleries/mygalleries.class.php

Change line 643 from
location = "<?php echo JRoute::_("index.php?option=com_rsgallery2&rsgOption=myGalleries&task=deleteItem&id=", false);?>"+id;
to
location = "<?php echo JRoute::_("index.php?option=com_rsgallery2&rsgOption=myGalleries&task=deleteItem", false) . "&id=";?>"+id;
Logged

RSGallery2: 1.5Native - Dev
 
Reply #8
« on: November 14, 2008, 04:53:23 am »
garysumpter Offline
Newbie
*
Posts: 18



Thanks for this, I have implemented the change. However there is a problem in the way of me testing it.

When logged into the front end, I go to my galleries and I see the list of uploaded photos.

Under it there is

<< Start < Prev 1 2 3 Next > End >>
Page 1 of 3

However if I click any of the numbers it takes me to the homepage of the site. This is casuing me real big problems.

If I mouse over lets say the '2' link, the address is http://www.mysite.co.uk/index.php?limitstart=10?limitstart=10 which clearly isnt right??

Can you advise on this? I urgently need to get these two issues fixed...

Thanks

Gary
Logged
 
Reply #9
« on: November 24, 2008, 06:23:17 am »
Lowgoz Offline
Newbie
*
Posts: 2



implemented the suggested fix, and tried.

Image stays, page reloads and breadcrumbs change from "Home -> Photos" to "Home -> Photos -> imagename". Page still shows thumbnailed images and "deleted" image stays there


Need a fix for this !
Logged
 
Reply #10
« on: November 24, 2008, 09:10:05 am »
john Offline
Dev Team
Sr. Member
*
Posts: 482



try to change te above file with

Code:
location = "index.php?option=com_rsgallery2&rsgOption=myGalleries&task=deleteItem&id="+id;

john
Logged
 
Reply #11
« on: November 24, 2008, 05:10:08 pm »
Lowgoz Offline
Newbie
*
Posts: 2



same thing happens with your above suggestion..

Should i reinstall this, or is it a coding error ?
Logged
 
Print  Pages 1
« previous next »
Jump to: