Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
A non-numeric value encountered https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=6624 |
Page 1 of 1 |
Author: | sebadamus [ 16. Jan 2020, 04:52 ] |
Post subject: | A non-numeric value encountered |
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 |
Author: | TinyWebGallery [ 16. Jan 2020, 08:41 ] |
Post subject: | Re: A non-numeric value encountered |
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 |
Author: | sebadamus [ 16. Jan 2020, 18:52 ] |
Post subject: | Re: A non-numeric value encountered |
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! |
Author: | TinyWebGallery [ 16. Jan 2020, 22:39 ] |
Post subject: | Re: A non-numeric value encountered |
You are welcome |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |