mariovaldez.net
http://www.mariovaldez.net/webapps/forums/

Error log messages.
http://www.mariovaldez.net/webapps/forums/viewtopic.php?f=14&t=141
Page 1 of 1

Author:  Dennis [ 05 Oct 2004, 20:50 ]
Post subject:  Error log messages.

I had this working once. I just installed the latest version and now I can't upload an image. The image file is zero bytes. My server log shows these error messages:
[Tue Oct 5 22:05:11 2004] [error] PHP Notice: Undefined index: Pw in /usr/home/myserver/public_html/catalog/oscpm1_upload.php on line 51
[Tue Oct 5 22:05:11 2004] [error] PHP Notice: Undefined index: Op in /usr/home/myserver/public_html/catalog/oscpm1_upload.php on line 52
[Tue Oct 5 22:05:11 2004] [error] PHP Notice: Undefined index: Fn in /usr/home/myserver/public_html/catalog/oscpm1_upload.php on line 53
[Tue Oct 5 22:05:11 2004] [error] PHP Notice: Undefined index: SD in /usr/home/myserver/public_html/catalog/oscpm1_upload.php on line 54
[Tue Oct 5 22:05:11 2004] [error] PHP Notice: Undefined index: SR in /usr/home/myserver/public_html/catalog/oscpm1_upload.php on line 55
[Tue Oct 5 22:05:11 2004] [error] PHP Notice: Undefined index: Vn in /usr/home/myserver/public_html/catalog/oscpm1_upload.php on line 56
[Tue Oct 5 22:05:11 2004] [error] PHP Notice: Uninitialized string offset: 0 in /usr/home/myserver/public_html/catalog/oscpm1_upload.php on line 58
[Tue Oct 5 22:05:11 2004] [error] PHP Notice: Uninitialized string offset: 0 in /usr/home/myserver/public_html/catalog/oscpm1_upload.php on line 58

Do I have something configured wrong in the new version?

Author:  Dennis [ 05 Oct 2004, 20:55 ]
Post subject:  My error

Sorry for posting previous topic here in error. Not a bug!!
Check the general topic thread.

Author:  mvaldez [ 06 Oct 2004, 07:19 ]
Post subject:  Error messages in server-side script.

Dennis:

See my answer in the general forum.
http://www.mariovaldez.net/webapps/foru ... ?p=487#487

Basically, those are harmless warnings which can be disabled adding the line:
Code:
error_reporting(E_ALL & ~E_NOTICE);

At the begining of the oscpm1_upload.php script.


> ...Sorry for posting previous topic here in error.
> Not a bug!! Check the general topic thread...

Well, the script should disable full PHP error reporting before doing its work. So, I think it is a bug. :wink:


So, thanks for hte bug report, I fixing this now.

Regards,

Mario A. Valdez-Ramirez.

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/