Forums Index » jGallery 1.3.* - PHP based photo-album creator » Notice: Undefined offset: -1 when e

View previous topic :: View next topic This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

Viewing topic Notice: Undefined offset: -1 when e  
PostMessage: Notice: Undefined offset: -1 when e Reply with quote
I have added a folder to the root of the main gallery and uploaded a single image to that folder. When I then go into that folder from the gallery I receive the following error.

Notice: Undefined offset: -1 in /home/spottedh/public_html/breezy/gallery/index.php on line 127

and the thumbnail is not visible (red cross)

Line 127 is as follows.

$G_JGALL['output_location'] .= '<b>' . $G_JGALL['dir_handle_array'][$G_JGALL['key_current']] . '</b>';


Any ideas?
Posted on Fri Dec 12, 2008 23:03 GMT
active user Posted by spottedhaggis (active user) View user's profile AIM Address Yahoo Messenger MSN Messenger
PostMessage: update! Reply with quote
I have noticed the following.

If I goto the gallery directly

http://www.breezy.biz/gallery the subfolder works exactly as it should do.

The path is as follows.

http://www.breezy.biz/gallery/?JGALL_DIR=one/

but if I enter the gallery through the cart, it fails with the error noted previousley, and the path is

http://www.breezy.biz/page_3.html?JGALL_DIR=one

Simply adding the / to the end solves the issue? Where do I add this into the system?
Posted on Fri Dec 12, 2008 23:16 GMT
active user Posted by spottedhaggis (active user) View user's profile AIM Address Yahoo Messenger MSN Messenger
PostMessage: Re: update! Reply with quote
spottedhaggis wrote:
Simply adding the / to the end solves the issue? Where do I add this into the system?


I guess you've already found the solution? Its in the config file; config.inc.php

Greetings
Posted on Tue Dec 23, 2008 11:08 GMT
spiderman Posted by Kooijman (spiderman) View user's profile Visit poster's website
PostMessage: Re: update! Reply with quote
Kooijman wrote:
spottedhaggis wrote:
Simply adding the / to the end solves the issue? Where do I add this into the system?


I guess you've already found the solution? Its in the config file; config.inc.php

Greetings


Seems like have the EXACT problem. Where do I add the '/' in the config file? I have a '/' already in:

// Set the dir which contains your photoalbums:
$C_JGALL['gall_dir'] = 'albums/';


Thanks!
Gabstero
Posted on Thu Apr 16, 2009 16:16 GMT
active user Posted by gabstero (active user) View user's profile
| All times are GMT  

Topics from:   This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Jump to:  

Powered by phpBB 2.0.21 © 2001, 2006 phpBB Group | | Back to top