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 25. Apr 2024, 17:19

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  [ 10 posts ] 
Author Message
PostPosted: 4. Aug 2006, 03:22 
Offline

Joined: 1. Aug 2006, 09:16
Posts: 13
I installed TWG15 (New )
I am having the following problem:

Notice: undefined variable: display_all_errors c:\Apache\htdocs\Site\inc\filefunction.inc.php on line 901

Anyone help!
Regards.

P.S. Could I just remove the error function? :roll:


Top
 Profile  
 
 Post subject:
PostPosted: 4. Aug 2006, 11:11 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
check your config.php.

this variable should be set there at the very bottom - if not maybe you are using an old config.php (added this parameter 2 days ago)!

This block
if ($display_all_erros) {
ini_set("display_errors","On");
error_reporting (ALL);
}
is only needed if something is not working properly and the display errors is not set! - therefor you can remove it if you like and everything is fine ;)

/Michael


Top
 Profile  
 
 Post subject: Error reporting
PostPosted: 4. Aug 2006, 20:32 
Offline

Joined: 1. Aug 2006, 09:16
Posts: 13
Michael:
Thanks, that did it.
Regards.
Franco7777 :lol:


Top
 Profile  
 
 Post subject:
PostPosted: 5. Aug 2006, 13:14 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
fixed in RC2 already:

http://tinywebgallery.com/rc1/twg15_rc2.zip

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 16. Aug 2006, 12:31 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
nope:


Notice: Undefined variable: display_all_erros in /var/www/vhosts/xxx/httpdocs/xxx/inc/filefunctions.inc.php on line 927


notice it states erros without the second r. I used the autoinstaller in a fresh directory. Did not even try to use the my_config and my_css...


Top
 Profile  
 
 Post subject:
PostPosted: 16. Aug 2006, 12:36 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
have you downloaded the latest version - the final of 1.5 (=1.5.0.1) - the link above is not good anymore!

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 16. Aug 2006, 12:55 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
both installer and non-installer versions:

Notice: Undefined variable: display_all_erros in /var/www/vhosts/xxx/httpdocs/xxx/inc/filefunctions.inc.php on line 901

will try downloading again from the download page.

version info: TWG version 1.5.0.1 - 16.08.2006 10:00

--

nope. deleted directory, created anoher ne, copied all the files, 777 at cache, counter and xml dirs, emptied browser cache, tried in another browser: same error.


Top
 Profile  
 
 Post subject:
PostPosted: 16. Aug 2006, 13:05 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
please open the config.php and check if

$display_all_erros=false;

is on of the last entires!

or simply delete the lines

if ($display_all_erros) {
ini_set("display_errors","On");
error_reporting (E_ALL);
}

in filefinctions.inc.php

the line you have posted does not exist! (901 is something else).

just tried angain - I cannot get this error - I hate this...

/michael


Top
 Profile  
 
 Post subject:
PostPosted: 16. Aug 2006, 13:16 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
$display_all_erros=false; // new 1.5 - Diplays all errors and enables error reporting if set off - if you get lots off warnigs that are not worth looking set this to false!


removing

if ($display_all_erros) {
ini_set("display_errors","On");
error_reporting (E_ALL);
}

now.

working without error on screen. What happened ??!!


Top
 Profile  
 
 Post subject:
PostPosted: 16. Aug 2006, 14:16 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
does it work now -

I think the type you told me was the reason - thanks for that!

/Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 14 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:
powered by phpbb | Datenschutz/ Privacy policy