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, 10:49:55 pm
+  RSGallery2 Support Forums
|-+  RSgallery2 support forums
| |-+  RSgallery2 bugs & problems (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  Undefined variable
Advanced search
  « previous next »
Pages 1
Author
Topic: Undefined variable  (Read 3578 times)
« on: April 28, 2006, 12:59:39 am »
NG
Guest

Hi,

Joomla 1.0.8
RS Gallery 1.10.11

After i upgrade the RS Gallery 1.10.9 to 1.10.11 and create a Sub Galleries and press on the sub galleris is come up the below message:

Not Found
The requested URL /<br /><b>Notice</b>: Undefined variable: Itemid in <b>/home/xxxx/public_html/joomla/components/com_rsgallery2/rsgallery2.html.php</b> on line <b>877</b><br />http://joomla.xxxx.com.my/index.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/1.3.34 Server at joomla.xxxx.com.my Port 80


But is working well on RS Gallery 1.10.9.do not have this problem.

Can any one help me? :blink:
Logged
 
Reply #1
« on: April 28, 2006, 02:27:32 am »
Daniel Tulp Offline
Administrator
Hero Member
*****
Search search search before posting please Posts: 1870

WWW

The ItemID has been added since 1.10.11, so that should explain why it worked before and not anymore, apparently a small bug.

thanks for the post, I\'ll get on it
Logged

RSgallery2 developement team
RSgallery2 modules:
design.danieltulp.nl
 
Reply #2
« on: April 28, 2006, 02:31:52 am »
Daniel Tulp Offline
Administrator
Hero Member
*****
Search search search before posting please Posts: 1870

WWW

Hi,

to fix this you need to change:

rsgallery2.html.php line 865:
[code:1]
function subGalleryList($parent){
global $database;
[/code:1]

into:
[code:1]function subGalleryList($parent){
global $database, $Itemid;[/code:1]

Fix will be in next release also.

Daniël
Logged

RSgallery2 developement team
RSgallery2 modules:
design.danieltulp.nl
 
Print  Pages 1
« previous next »
Jump to: