Author |
Message |
27/01/2005 00:41:44
|
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
|
|
27/01/2005 07:10:35
|
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.
|
|
27/01/2005 07:32:01
|
Carbonize
Master
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 |
|
27/01/2005 12:45:16
|
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/
|
|
27/01/2005 20:58:59
|
Carbonize
Master
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 |
|
27/01/2005 21:59:12
|
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.
|
|
27/01/2005 22:01:55
|
Carbonize
Master
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 |
|
27/01/2005 22:14:47
|
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
|
|
27/01/2005 22:42:16
|
pimmer
Beginner
Joined: 27/01/2005 00:28:44
Messages: 11
Offline
|
The same problem:
http://www.bourgondiers.nl/guestbook/index.php
|
|
27/01/2005 22:58:57
|
Carbonize
Master
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 |
|
27/01/2005 23:11:44
|
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??
|
|
27/01/2005 23:19:03
|
Carbonize
Master
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 |
|
27/01/2005 23:20:27
|
Carbonize
Master
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 |
|
30/01/2005 12:22:07
|
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
|
|
30/01/2005 13:16:23
|
Carbonize
Master
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 |
|
|