Author |
Message |
21/10/2004 17:59:46
|
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?
|
|
21/10/2004 19:57:48
|
Carbonize
Master
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 |
|
21/10/2004 20:29:22
|
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
|
|
21/10/2004 20:52:30
|
Carbonize
Master
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 |
|
21/10/2004 21:44:29
|
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!
|
|
21/10/2004 22:11:43
|
Carbonize
Master
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 |
|
21/10/2004 22:13:59
|
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?
|
|
21/10/2004 23:08:13
|
Carbonize
Master
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 |
|
|