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 adding entry with image  XML
Forum Index » Support Forum
Author Message
pimmer
Beginner

Joined: 27/01/2005 00:28:44
Messages: 11
Offline

First of all, I’m very happy with Advanced Guestbook 2.3.1, it works very well except one thing:

I didn't find a solution with the search option of this forum so this is my problem:

If somebody ads a entry with an image, you'll get this error on you're screen a few seconds:
Warning: exec() has been disabled for security reasons in /aguestbook/lib/image.class.php on line 83
After that you'll go to the guestbook again. And the entry is there, and also the thumbnail and the picture. But de thumbnail hasn't the correct colours, sometimes only black and white.

Does somebody has a solution for this??

Thanx
ET
Graduate

Joined: 21/02/2003 22:17:48
Messages: 179
Offline

Some webhost companies turn off the ability to chmod 777 or 755 outside of the cgi-bin.... Check the files to make certain that they truly are chmod to the correct settings, if you are not able to get them to chmod correctly, then you should contact your webhost to find out if they have a security setting workaround.
Carbonize
Master
[Avatar]

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

exec is a call to run an external program hence it being a risk. Did you tell the script you had imagemagik installed?

Carbonize
I am not the maker of the Advanced Guestbook

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

Joined: 27/01/2005 00:28:44
Messages: 11
Offline

Thanx for the quick reply's

Some webhost companies turn off the ability to chmod 777 or 755 outside of the cgi-bin.... Check the files to make certain that they truly are chmod to the correct settings, if you are not able to get them to chmod correctly, then you should contact your webhost to find out if they have a security setting workaround.


The foldere tmp and public are chmod 777 if that is what you mean. And i can chmod 777 al files i want.

exec is a call to run an external program hence it being a risk. Did you tell the script you had imagemagik installed?


Do i need to install imagemagik, or do i have to change anything to a script?? Because i didn't install imagemagik or change any script.

p.s. here's my guestbook: http://www.bourgondiers.nl/aguestbook/
Carbonize
Master
[Avatar]

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

Did you install the script from here or did your hosts provide it?

Carbonize
I am not the maker of the Advanced Guestbook

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

Joined: 27/01/2005 00:28:44
Messages: 11
Offline

My host provided it with cPanel X v2.5.0.

I can easely install it true cpanel, it makes then a directory and the sql entry.
Carbonize
Master
[Avatar]

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

I'd suggest downloading it from here and starting again. Hosts are notorious for mangling scripts and making them worthless.

Carbonize
I am not the maker of the Advanced Guestbook

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

Joined: 27/01/2005 00:28:44
Messages: 11
Offline

I will try that with a new guestbook, if it works i will change my current guestbook.

Thanx for the help
pimmer
Beginner

Joined: 27/01/2005 00:28:44
Messages: 11
Offline

The same problem:


http://www.bourgondiers.nl/guestbook/index.php
Carbonize
Master
[Avatar]

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

Cheap fix. Open lib/image.class.php and replacewith

Carbonize
I am not the maker of the Advanced Guestbook

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

Joined: 27/01/2005 00:28:44
Messages: 11
Offline

Now the error message is gone, but the tumbnails are still bad.

Is it a hosting problem??
Carbonize
Master
[Avatar]

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

I thikn the problem is that your host has imagemagick installed but then stops you using it. go figure. Wonder if I can bypass it.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Carbonize
Master
[Avatar]

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

Ignore my last post. Undo the previous idea of mine and instaed change var $imagick = ''; to var $imagick = 'none';

Carbonize
I am not the maker of the Advanced Guestbook

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

Joined: 27/01/2005 00:28:44
Messages: 11
Offline

Carbonize wrote:Ignore my last post. Undo the previous idea of mine and instaed change var $imagick = ''; to var $imagick = 'none';


The error is also gone, but the tumbnail is still bad
Carbonize
Master
[Avatar]

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

Hm can't understand why GD is messing up the thumbnails. It looks like it is making low quality images. Let me speak to some friends of mine who are more clued up on this than me.

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