Configeration CGI Error

17 years 9 months ago #15945 by GreenBoy
Configeration CGI Error was created by GreenBoy
Hi

CB has installed ok and seems to be working fine except in the admin section that when i try to access Configurations I get the following error

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.

Any one got any ideas - or do I need to uninstall and try again?

Thanks
GreenBoy

If it dont look broke... say nothing!

Please Log in to join the conversation.

17 years 9 months ago #16426 by SamBrown
Replied by SamBrown on topic Re:Configeration CGI Error
Hi

Here is the solution for this problem.... It works for me !!! Sorry for my english... I'm better in german... ;-)

============================================================

The problem is, how the Community Builder recognize the existence of Imagemagick on the server.

The call "exec('convert -version', $output, $status);"
tries to load the programm convert.exe of Imagemagick...

But in Windows exists a systemfile convert.exe and this file will be loaded instead of convert.exe of Imagemagick.

This is the reason, why in the backend module the configuration is not shown.

I think this is a designing issue and should be corrected in future versions. Then the CB runs also under Windows environment.

To resolve the problem you have to edit the line 626 (in older version line 619) of the file administrator\components\com_comprofiler\imgToolbox.class.php

from

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

[code:1]"exec('c:\php\imagemagick\convert -version', $output, $status);"[/code:1]

if on your server ImageMagick is installed under c:\php\imagemagick\

=========================================================

Good Luck

Sam B)

Please Log in to join the conversation.

17 years 7 months ago #19643 by schwimmbeck
Replied by schwimmbeck on topic Re:Configeration CGI Error
SamBrown ... That was a hot trace for me.
On Windows 2000 / 2003 systems, Image Magick is not available in the most cases.

Your solution has not worked for me using the exact line numbers that you've provided.

I am using Communitybuilder 1.01.

In this version you have to ...

Backup the file first !

Remove :

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

from line 638.


Works !

Post edited by: schwimmbeck, at: 2006/08/26 15:24:dry: :dry:

Post edited by: schwimmbeck, at: 2006/08/26 15:25

Post edited by: schwimmbeck, at: 2006/08/26 15:25

Please Log in to join the conversation.

17 years 7 months ago #19647 by GreenBoy
Replied by GreenBoy on topic Re:Configeration CGI Error
Thanks for the replies.. but i havent solved this - mainly because i cannot locate the file that you refer to, to make the change.

I have installed the lastest stable version and this error perisists.

Am I the only person with this issue?

Thanks agian for the help.

GreenBoy

If it dont look broke... say nothing!

Please Log in to join the conversation.

17 years 6 months ago #22578 by Trad.inc
Replied by Trad.inc on topic Re:Configeration CGI Error
schwimmbeck wrote:

SamBrown ... That was a hot trace for me.
On Windows 2000 / 2003 systems, Image Magick is not available in the most cases.

Your solution has not worked for me using the exact line numbers that you've provided.

I am using Communitybuilder 1.01.

In this version you have to ...

Backup the file first !

Remove :

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

from line 638.


Works !

Post edited by: schwimmbeck, at: 2006/08/26 15:24:dry: :dry:

Post edited by: schwimmbeck, at: 2006/08/26 15:25

Post edited by: schwimmbeck, at: 2006/08/26 15:25


Thanks this work for me:woohoo: :kiss:

Please Log in to join the conversation.

17 years 6 months ago #22589 by beat
Replied by beat on topic Re:Configeration CGI Error
Thanks for the hint.

Could someone please quickly create a cb bug artifact for this, so we don't forget about this ?

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.

Moderators: beatnantkrileon
Time to create page: 0.267 seconds

Facebook Twitter LinkedIn