Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
Undefined Variable problem https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=3728 |
Page 1 of 1 |
Author: | Euly [ 1. Oct 2014, 22:09 ] |
Post subject: | Undefined Variable problem |
Hi, I'm receiving an error in my debug field of TWG 2.2 Code: 10.01.2014 12:38:51 (en) - ERROR 8 in F:\Site\inc\index.inc.php, line 587: Undefined variable: twg_offset_ 10.01.2014 12:38:51 (en) - ERROR 8 in F:\Site\inc\index.inc.php, line 592: Undefined variable: my_offset_js The gallery appears to be working, but I have no idea what the problem is. This is my first experience with PHP. I set this site up on a Windows 7 PC with IIS 7.5. Here is my PHP info: Code: PHP Version 5.6.0 System Windows NT SERVER-PC 6.1 build 7601 (Windows 7 Business Edition Service Pack 1) i586 Build Date Aug 27 2014 11:49:46 Compiler MSVC11 (Visual C++ 2012) Architecture x86 Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--enable-debug-pack" "--disable-zts" "--disable-isapi" "--disable-nsapi" "--without-mssql" "--without-pdo-mssql" "--without-pi3web" "--with-pdo-oci=c:\php-sdk\oracle\x86\instantclient_12_1\sdk,shared" "--with-oci8-12c=c:\php-sdk\oracle\x86\instantclient_12_1\sdk,shared" "--with-enchant=shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--with-mcrypt=static" "--without-analyzer" "--with-pgo" Server API CGI/FastCGI Virtual Directory Support disabled Configuration File (php.ini) Path C:\Windows Loaded Configuration File C:\Program Files (x86)\PHP\v5.6\php.ini Scan this dir for additional .ini files (none) Additional .ini files parsed (none) PHP API 20131106 PHP Extension 20131226 Zend Extension 220131226 Zend Extension Build API220131226,NTS,VC11 PHP Extension Build API20131226,NTS,VC11 Debug Build no Thread Safety disabled Zend Signal Handling disabled Zend Memory Manager enabled Zend Multibyte Support provided by mbstring IPv6 Support enabled DTrace Support disabled Registered PHP Streams php, file, glob, data, http, ftp, zip, compress.zlib, https, ftps, phar Registered Stream Socket Transports tcp, udp, ssl, sslv3, sslv2, tls, tlsv1.0, tlsv1.1, tlsv1.2 Registered Stream Filters convert.iconv.*, mcrypt.*, mdecrypt.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, zlib.* Any help will be appreciated. |
Author: | TinyWebGallery [ 1. Oct 2014, 23:22 ] |
Post subject: | Re: Undefined Variable problem |
This is a small problem when the pagination is calculated. I have fixed this in the current download. So if you like to get rid of this error please download the patch and update inc/index.inc.php. Best, Michael |
Author: | Euly [ 2. Oct 2014, 00:56 ] |
Post subject: | Re: Undefined Variable problem |
TinyWebGallery wrote: This is a small problem when the pagination is calculated. I have fixed this in the current download. So if you like to get rid of this error please download the patch and update inc/index.inc.php. Best, Michael The TWG_1.6.x_to_2.2_patch.zip patch? |
Author: | TinyWebGallery [ 2. Oct 2014, 08:23 ] |
Post subject: | Re: Undefined Variable problem |
yes |
Author: | Euly [ 2. Oct 2014, 20:34 ] |
Post subject: | Re: Undefined Variable problem |
The index.inc.php from the patch did not stop the error, but the index.inc.php from the Installer download did stop the error. Thank you for your help. |
Author: | TinyWebGallery [ 2. Oct 2014, 21:29 ] |
Post subject: | Re: Undefined Variable problem |
Good. Sorry. Seems the patch was not uploaded by my build. Not it should also be in the patch. Best, Michael |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |