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 
CANNOT UPLOAD PICTURES  XML
Forum Index » Support Forum
Author Message
Anonymous



I can't upload a picture to the guestbook when I sign it. I get an error saying "undefined variable in line 34" it then lists a path to my picture.php file. Any ideas?
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Just a hunch but would you be using PHP5 ? AG uses $HTTP_GET_VARS as this was probably the norm when he started making it (AG is a few years old now and still the best). Apparently in PHP5 $HTTP_GET_VARS is turned off by default. I may have to add conveting it to more upto date coding to my list of things I may do.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Nope. I'm using PHP 4.3.9.

When I go to sign the guestbook with a picture, it just signs my post and doesn't display the picture.

If I go to preview the post instead, it at least has the outline of the image there.

If I click on the image I get this text.

Notice: Undefined variable: size in C:\Inetpub\wwwroot\sweetsiren\guestbook\picture.php on line 34

The guestbook in question is at www.sweetsiren.com
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Weird. First thing it does is check if an image has been uploaded and if so sets the array $size to hold the images sizes. Tried reuploading everything?

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Carbonize wrote:Tried reuploading everything?


What do you mean by this? I've tried to upload several different types of .jpg's on several different occasions. I invite you to come to the guestbook to try it and experience what I am experiencing.

Your assistance is greatly appreciated. Too bad this wasn't like the Citrix forum where you could be awarded points for helping others!
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

I mean try reuploading the guestbook files again.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Carbonize wrote:I mean try reuploading the guestbook files again.


Couldn't I just unzip the files in a new location and compare them with my current installation?
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Yup you could do that if you have the time to spare.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum