If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Unable to open... add.class.php line 108  XML
Forum Index » Support Forum
Author Message
Anonymous



I get an error when posting a message without a picture upload:

Warning: getimagesize: Unable to open '' for reading. in xxxx\lib\add.class.php on line 108
Guestbook - Error
Wrong image file type

How can I correct this???
Anonymous



Harold wrote:
I get an error when posting a message without a picture upload:

Warning: getimagesize: Unable to open '' for reading. in xxxx\lib\add.class.php on line 108
Guestbook - Error
Wrong image file type

How can I correct this???


I Use php 4.2.0
I think that there is a bug for this version, 4.2.0 is more secure
Anonymous



correct, php 4.2.0 is more secure and the upload feature has change

fix for addentry.php:

$gb_post->userfile = (isset($HTTP_POST_FILES["userfile"]["tmp_name"]) && $HTTP_POST_FILES["userfile"]["tmp_name"] != "") ? $HTTP_POST_FILES : '';
Anonymous



Thanx !!!

It works fine now.
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum