Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 22. Nov 2024, 03:36

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Special characters
PostPosted: 27. Nov 2006, 15:53 
Offline

Joined: 16. Oct 2006, 15:43
Posts: 5
When you use special characters like an & in the name of a folder and in that folder are more than 9 subfolders so you have to go to the second page you'll get an error.
Folder first/secon cannot be found... it leaves the & and everything what is after it


Top
 Profile  
 
 Post subject:
PostPosted: 27. Nov 2006, 15:55 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
i'll check this - in the meantime - don't use a & in the foldername and use foldername.txt to give the folder the displayname!

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 27. Nov 2006, 16:45 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

I can recreate this bug on my system and will fix it for the next version.
Please use the workaround till then.

Thanks,
Michael


Top
 Profile  
 
 Post subject:
PostPosted: 27. Nov 2006, 16:53 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

if you want to fix it quickly:

open inc/showfolders.inc.php

look for

$album_next = "&twg_album=" . substr($localdir, strlen($basedir) + 1);
$album_next_js = "&twg_album=" . substr($localdir, strlen($basedir) + 1);

~ line 431

replace it with

$album_next = "&twg_album=" . urlencode(substr($localdir, strlen($basedir) + 1));
$album_next_js = "&twg_album=" . urlencode(substr($localdir, strlen($basedir) + 1));

have fun ;).

/Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 17 guests


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 post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy