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 
Error posting messages w/o pic! - Advanced Guestbook  XML
Forum Index » Support Forum
Author Message
sven
Newbie

Joined: 19/04/2002 14:49:20
Messages: 4
Offline

When visitor's don't submit a picture, the following error appears:

Warning: getimagesize: Unable to open '' for reading. in c:\program files\apache group\apache\htdocs\guestbook2\lib\add.class.php on line 108
Guestbook - Error
Wrong image file type

What can I do to correct this??
Anonymous



I have the exact same problem!
Does it have something to do with the PHP upload_tmp_dir ? I don't have it set to the same as the guestbook tmp-directory...
Otherwise the guestbook looks really nice, and if you specify a picture it works beautifully!
I have Apache 2.0.35 and php 4.2.0 (module)...

Thankful for all help I can get!
sven
Newbie

Joined: 19/04/2002 14:49:20
Messages: 4
Offline

Agree with you - it looks fine when you specify a picture. Make sure you let me know if you figure it out, and I'll do the same with you.

By the way, could you PLEASE tell me how you got PHP to work with Apache 2.0.35 ?? (a bit detailed explanation would be appreciated)

Thanks

Sven
Anonymous



put a '@' before the function to suppressed the error message

@getimagesize
sven
Newbie

Joined: 19/04/2002 14:49:20
Messages: 4
Offline

that doesn't help any!
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum