Forums

PHP

This topic is locked

PHP Upload problem

Posted 20 Jul 2002 18:01:57
1
has voted
20 Jul 2002 18:01:57 Frans Hoeberechts posted:
Using tgPHP Upload 1.08 I never get a proper result:
Warning: stat failed for schermen.JPG (errno=2 - No such file or directory) in /www/htdocs/knas/uploads.php on line 33
is the result.

You could try on:
www.knas.nl/uploads.php to see for yourselfs.

If needed to resolve this problem I could copy & paste some PHPinfo-stuff in here.

Hoping for some help/clearance ...

Frans Hoeberechts
<b></b>

Replies

Replied 21 Jul 2002 17:12:30
21 Jul 2002 17:12:30 Tim Green replied:
This is down to a misconfiguration of PHP. Essentially the error_reporting seting in your PHP.ini is set too high. You probably have it set at the moment to E_ALL, and this won't work with the majority of PHP Behaviors available, including the default behaviors.

Instead you should change this setting to:-

E_ALL & ~E_NOTICE

Which will disable all warnings (which is what the stat failed message is).

Hope this helps

Tim Green

Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>

Reply to this topic