Configeration CGI Error

17 years 5 months ago #23409 by weetabix
Replied by weetabix on topic Re:Configeration CGI Error
The switch to the new code did not work, so i had to comment out that piece. works.

Please Log in to join the conversation.

17 years 4 months ago #23526 by edenapple
Replied by edenapple on topic Re:Configeration CGI Error
CB failed to see ImageMagick (6.3.0) completely till I found this.

However, running: convert -version on my server returns an error.

Running

/usr/local/bin/convert -version

Shows me ImageMagick.

So I editted...line 638 to:

exec('/usr/local/bin/convert -version', $output, $status);

And CB now sees ImageMagick:

ImageMagick Auto dectected ImageMagick 6.3.0

I just wanted to check - Is it ok to do it like this? It doesn't cause any security problems or anything like that? I'm not greatly experienced with PHP so I wanted to double check.

Thanks,

Please Log in to join the conversation.

17 years 2 months ago #28561 by beat
Replied by beat on topic Re:Configeration CGI Error
edenapple wrote:

CB failed to see ImageMagick (6.3.0) completely till I found this.

However, running: convert -version on my server returns an error.

Running

/usr/local/bin/convert -version

Shows me ImageMagick.

So I editted...line 638 to:

exec('/usr/local/bin/convert -version', $output, $status);

And CB now sees ImageMagick:

ImageMagick Auto dectected ImageMagick 6.3.0

I just wanted to check - Is it ok to do it like this? It doesn't cause any security problems or anything like that? I'm not greatly experienced with PHP so I wanted to double check.

Thanks,


You should be able to put the path to ImageMagic in cb configuration images. In your case /usr/local/bin .

This is because in your case, /usr/local/bin is not in the default path.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

17 years 2 months ago #29141 by smashkode
Replied by smashkode on topic Re:Configeration CGI Error
i am having the same problem.

ImageMagick Not installed
NetPBM Not installed
GD1 library Not installed
GD2 library Not installed

I know for a fact that GD2 libraries and ImageMagick are installed. I have tried manually inserting the path to ImageMagick, and it still says that it's not installed.

Here are my system stats:

FreeBSD v6.1 STABLE
PHP v5.2.0
Apache v2.0.59
Joomla! v1.0.12 Stable
CB v1.0.2

Please Log in to join the conversation.

17 years 1 month ago #31527 by hibble
Replied by hibble on topic Re:Configeration CGI Error
having same error
i downloaded imagemagick.exe from net
installed it on local drive
made a subdirectory on server /user
then copied that subdirectory to server
/user/imagemagick

then modifide imagetoolbox.class.php
then copied over to
/administrator/components/com_comprofiler
tried to run but no go

what am i doing wrong
do i need to install inagemagic on server some how

your reply seemed to be most knowlageble
hopeing you can help
thanks peter







//END OF CB_FIXES.
function testIM(){
if($this->cbIsExecDisabled()){ //CB_FIXES:
return false; // exec() is disabled, so give up
}
*************** this is the line i have changed with no luck ****


@exec('/user/ImageMagick/convert -version', $output, $status);
if(!$status){
if(preg_match("/imagemagick[ \t]+([0-9\.]+)/i",$output[0],$matches))
return $matches[0];
}
unset($output, $status);
}

Please Log in to join the conversation.

17 years 1 month ago #32223 by jb.henry
Replied by jb.henry on topic Re:Configeration CGI Error
Hello there,
I had the same problem on my CB installation. My website is hosted on a remote computer (running Windows Server), so no way to install Imagemagick there!

So, I confirm that deleting the command, on line 647 in version 1.0.2, do solve the problem

[code:1]@exec('convert -version', $output, $status);[/code:1]

Cheers,
JB

Post edited by: jb.henry, at: 2007/02/28 22:23

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.256 seconds

Facebook Twitter LinkedIn