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 28. Mar 2024, 15:07

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
PostPosted: 16. Jan 2020, 04:52 
Offline

Joined: 16. Jan 2020, 04:47
Posts: 2
Hi,

I am getting this error when twg_offset value goes over 9999
If clicking the navigation bar when the link value is over that number it goes back to nav page 1

Here an example:
Please change ###### witdh ftpcam
h ttp://######.eguru.com.ar/index.php?twg_album=IP+CAMERA&twg_offset=9999

Thank you very much,

Code:
01.15.2020 23:27:35 (es) - ERROR 2 in /home/egurucom/ftpcam/inc/index.inc.php, line 573: A non-numeric value encountered
01.15.2020 23:27:35 (es) - ERROR 2 in /home/egurucom/ftpcam/inc/index.inc.php, line 624: A non-numeric value encountered
(this last one line 624 repeats several times)
01.15.2020 23:44:09 (es) - ERROR 2 in /home/egurucom/ftpcam/inc/index.inc.php, line 639: A non-numeric value encountered
01.15.2020 23:44:09 (es) - ERROR 2 in /home/egurucom/ftpcam/inc/index.inc.php, line 640: A non-numeric value encountered


Top
 Profile  
 
PostPosted: 16. Jan 2020, 08:41 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Because I have limited the number of this parameter to 4 digits.

in includes/parserequest.inc.php

->
$twg_offset = parse_maxlength($_GET['twg_offset'], 4);

change it to 5.

You have really an offset of over 9999? how many images do you have?

Best, Michael


Top
 Profile  
 
PostPosted: 16. Jan 2020, 18:52 
Offline

Joined: 16. Jan 2020, 04:47
Posts: 2
Thanks, now it works fine! its just a folder where a camera uploads movment detection images and clean it self each week. Its not the best solution but works with an online hosting (cant have zoneminder for the moment :-(

Thanks!


Top
 Profile  
 
PostPosted: 16. Jan 2020, 22:39 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
You are welcome


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: Bing [Bot] and 18 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