Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


<< Start < Prev 1 2 Next > End >>
Re:Configuration - CGI Error
Date: 2005/12/19 00:40 By: mikko Status: User  
Karma: 106  
Platinum Joomlapolitan

Posts: 2230
graphgraph
I recommend installing the whole thing on a server that you have access to logs.

I personally have 3 different sites, one is on my personal desktop behind a firewall and no external access. This computer is for development and I always install things there first.

Then is a test server that is a public server run by a friend of mine. There goes averything that works on the desktop.

When the stuff works fine on the test server, it goes to production on a hosted server.

All the computers have roughly the same config with php4, mysql4 and apache. This way there is never insufficient access rights for each development phase and debugging is quite easy.

mikko
Click here to see the profile of this user The topic has been locked.

Re:Configuration - CGI Error
Date: 2005/12/20 01:11 By: QuinnTheAdmin Status: CB Doc subscriber  
Karma: 0  
Fresh Joomlapolitan

Posts: 3
graphgraph
Thanks for your suggestion, but I found the issue... after upgrading to php5 there was still a php4 -cgi.exe in the server configuration for all sites. I had setup the particular website properties correctly following the install directions. But still had the CGI issue.

In IIS6 under the overall properties for all web sites... application configuration - edit the old PHP entry to the new php5isapi.dll
Click here to see the profile of this user The topic has been locked.

Re:Configuration - CGI Error
Date: 2006/07/03 19:28 By: SamBrown Status: CB Doc subscriber  
Karma: 0  
Fresh Joomlapolitan

Posts: 4
graphgraph
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

'administratorcomponentscom_comprofilerimgToolbox.class.php'

from

Code:

 "exec('convert -version', $output, $status);" 


to

Code:

 "exec('c:\php\imagemagick\convert -version', $output, $status);"



if on your server ImageMagick is installed under c:phpimagemagick

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

Good Luck

Sam

Post edited by: SamBrown, at: 2006/07/03 13:33

Post edited by: SamBrown, at: 2006/07/03 13:35

Post edited by: SamBrown, at: 2006/07/03 13:36
Click here to see the profile of this user The topic has been locked.

Re:Configuration - CGI Error
Date: 2006/08/04 05:40 By: mjvvorst Status: CB Doc subscriber  
Karma: 0  
Fresh Joomlapolitan

Posts: 5
graphgraph
Sam,

You're right. Commenting this line solves the problem.
But I'm in a hosted environment and can't find the absolute path to their imagemagickconvert !
Can I just comment the line without any risk?

Mark
Click here to see the profile of this user The topic has been locked.

Re:Configuration - CGI Error
Date: 2006/08/25 12:14 By: schwimmbeck Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 4
graphgraph
As i've understood the source code of imgToolbox.class.php, cb autodetects installed image manipulation libraries.

I have only installed the GD2 library but the same error message appears.

This solution doesn`t work for GD2.

Does someone have the same problem with GD2 ?
Click here to see the profile of this user The topic has been locked.

<< Start < Prev 1 2 Next > End >>

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC4)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC4, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers and now also to all registered joomlapolitans.

CB Login