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

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : October 30 12:11:56 PM
+  RSGallery2 Support Forums
|-+  RSgallery2 support forums
| |-+  RSgallery2 bugs & problems (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  Unresolved Bugs?
Advanced search
  « previous next »
Pages 1
Author
Topic: Unresolved Bugs?  (Read 3539 times)
« on: January 27 02:24:49 PM »
manon1165 Offline
Newbie
*
Posts: 3

View Profile

I'm using:

Joomla! 1.0.13 Stable [ Sunglow ]
RSGallery2 1.14.1 Alpha - SVN 587

Permissions for RSG2 are:  Enabled Access Control (yes), Show My Galleries (yes), Can User Create Galleries (yes)

1) In the frontend, when a registered user creates a gallery, they cannot create with an apostrophe (for example, Joe's Gallery) in the name.  This message comes up: "Gallery could not be created!\\nWe wil take you back to the previous screen."

2) And when a registered user creates a gallery in the frontend without the apostrophe (for example, Joe Gallery), it creates the gallery, but then I cannot delete the gallery.  I get this message: "This gallery is containing subcategories and cannot be deleted. If you want to delete this gallery, first move or delete subcategories".  There are no subcategories!

3) From the backend, as Super Administrator, I cannot no longer batch upload. I use the zip upload feature, choose my gallery, click NEXT, whicht takes me to the RSG2 control panel without uploading a single image. (And yes, I am within my upload limit.) This is after I had applied the session patch for Joomla ( http://forum.joomla.org/index.php/topic,193707.msg943504.html#msg943504 ) which I need for JoomFish and other components to work properly.

Any help would be appreciated.  Thanks.

UPDATE [RESOLVED]:

4) When you refresh the browser on the gallery list view and on the slideshow of the Semantic template, the gallery thumbs show up at the bottom of the gallery listing as raw images which when you click on them, come up with this message: "Fatal error: Call to a member function on a non-object in .../components/com_rsgallery2/templates/meta/display.class.php on line 234"  This is what is on line 234:        $title = $this->gallery->get('name');

Seems it was looking for images that had had upload session problems.  Deleted images and now below problem #4 working fine. Still need help with problems #1-3.
« Last Edit: January 28 05:42:54 PM by manon1165 » Logged
 
Reply #1
« on: February 19 12:21:18 AM »
Eddie Offline
Newbie
*
Posts: 3

View Profile Email

Hi,

I'm using RSGallery2 1.14.3 production Alpha.

I don't have any problems with the (2), (3), (4) as stated by manon1165. They all seem to work with 1.14.3.
However, I do have a problem with (1), when a registered user creates a gallery, they cannot create with an apostrophe in the name or the description. This message comes up: "Gallery could not be created!\nWe wil take you back to the previous screen."

Any fix to this please?

Thanks
Logged
 
Reply #2
« on: February 19 07:30:58 PM »
Daniel Tulp Offline
Administrator
Hero Member
*****
Search search search before posting please Posts: 1867
danieltulp@hotmail.com
View Profile WWW Email

@manon
have you tried 1.14.3?

@eddie
what results from using \' instead of '
so joe's becomes joe\'s
Logged

RSgallery2 developement team
RSgallery2 modules:
design.danieltulp.nl
 
Reply #3
« on: February 19 07:44:59 PM »
Eddie Offline
Newbie
*
Posts: 3

View Profile Email

Thanks Daniel,

I tried Joe\'s gallery, it works fine. It seems to fix the problem, although it's not very convenience for users.

Also I tested the description using "testing\'s", that works fine too...

\' seems to take care of the problem in both the gallery name and description.

-Eddie
Logged
 
Reply #4
« on: April 30 06:28:06 PM »
Robert M Offline
Newbie
*
Posts: 6

View Profile

Hello,
Is this topic still active?
I have the same problem.  I though it was Joomla, but realize this only occurs in the RSGallery2 portion of the site.  I have tried the "fix" above by adding a slash before the apostrophe, but that did not work.  Is there a way around this issue?  Specs are below:

Joomla 1.5.3
Legacy plugin
RSGallery 1.14.3

bertman
Logged
 
Reply #5
« on: June 09 10:50:01 PM »
p9939068 Offline
Newbie
*
Posts: 9

View Profile Email

The fix to the apostrophe bug is simple: go to the file mygalleries.php, function saveCat(), at line 265 you will see a bunch of codes like this:
Code:
$parent = rsgInstance::getVar( 'parent'  , 0);
$id = rsgInstance::getInt( 'catid'  , null);
$catname1 = rsgInstance::getVar( 'catname1'  , null);
$description = rsgInstance::getVar( 'description'  , null);
$published = rsgInstance::getInt( 'published'  , 0);
$ordering = rsgInstance::getInt( 'ordering'  , null);
$maxcats        = $rsgConfig->get('uu_maxCat');

Add htmlentities to the few lines that may require apostrophes. Change it to:
Code:
$parent = rsgInstance::getVar( 'parent'  , 0);
$id = rsgInstance::getInt( 'catid'  , null);
$catname1 = htmlentities(rsgInstance::getVar( 'catname1'  , null), ENT_QUOTES);
$description = htmlentities(rsgInstance::getVar( 'description'  , null), ENT_QUOTES);
$published = rsgInstance::getInt( 'published'  , 0);
$ordering = rsgInstance::getInt( 'ordering'  , null);
$maxcats        = $rsgConfig->get('uu_maxCat');
Logged
 
Reply #6
« on: June 24 07:32:31 PM »
Robert M Offline
Newbie
*
Posts: 6

View Profile

Thank you for the fix.  I'll try it out!

bertman
Logged
 
Reply #7
« on: October 23 12:45:33 AM »
bertm Offline
Newbie
*
Posts: 20

View Profile Email

This works great. Thanks. I am surprised it has not made it into the nightly builds.
Logged
 
Reply #8
« on: October 29 04:17:03 PM »
Chris Offline
Newbie
*
Posts: 1

View Profile Email

I am using joomla 1.5.7 and rsgallery2 2.0 beta.  I can not find that .php file, i've looked at other files hoping to find the above code to change, but no luck.  Does anyone know if the file is called something else in different versions? Or more specifically where it can be found?  Thanks.
Logged
 
Print  Pages 1
« previous next »
Jump to: