fatal error at imagemagick

Having trouble installing serendipity?
Post Reply
vLabz
Regular
Posts: 5
Joined: Wed Aug 23, 2006 11:12 am

fatal error at imagemagick

Post by vLabz »

Hi,

I try to install serendipity on my ISP website and I get this.

Image

I don't have access to php.ini to disable safe mode (or can I create one ?)

thanks for any help.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: fatal error at imagemagick

Post by garvinhicking »

Hi!

Usually providers allow is_executable() checks. Your provider seems to have a strange non-standard configuration denying this.

Your only way around this is to open the file:

include/functions_installer.inc.php

There you should see this:

Code: Select all

                if (!empty($dir) && (function_exists('is_executable') && @is_executable($dir . '/convert')) || @is_file($dir . '/convert')) {
                    return $dir . '/convert';
                }

                if (!empty($dir) && (function_exists('is_executable') && @is_executable($dir . '/convert.exe')) || @is_file($dir . '/convert.exe')) {
                    return $dir . '/convert.exe';
                }
Please remove those two blocks, and you should get rid of the error.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
vLabz
Regular
Posts: 5
Joined: Wed Aug 23, 2006 11:12 am

Post by vLabz »

Well my ISP is free.fr
maybe the biggest one in france. I've seen a special version of serendipity for free.fr but I thought it was better to inform you of this problem and maybe find a durable solution.


I did exactly what you said and the installation worked like a charm. Thank's a lot Garvin.

Now, unfortunately, I have an internal server error, whatever the request may be in serendipity directory.

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Apache/ProXad [Aug 21 2006 20:09:20] Server at ffftffft.free.fr Port 80

I have no clue to solve this...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Yes, many thanks. Maybe you could ask your free.fr support why this error comes, and how we should avoid it.
Now, unfortunately, I have an internal server error, whatever the request may be in serendipity directory.
That can happen if your .htaccess file contains 'bad' settings; you might need to remove it in your free.fr environment (you cannot use URL rewriting then).

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
vLabz
Regular
Posts: 5
Joined: Wed Aug 23, 2006 11:12 am

Post by vLabz »

I was reading other guys' Internal Error HTTP 500 errors, and just saw your reply. You're really fast, thank you !

Just removed the .htaccess from the root as you suggested. It worked immediately.

FYI, here was the content.

Code: Select all

# BEGIN s9y
DirectoryIndex /blog/index.php

<Files *.tpl.php>
    deny from all
</Files>

<Files *.tpl>
    deny from all
</Files>

<Files *.sql>
    deny from all
</Files>

<Files *.inc.php>
    deny from all
</Files>

<Files *.db>
    deny from all
</Files>

# END s9y
Thanks a million for your answers.
mchinfa
Regular
Posts: 28
Joined: Tue May 08, 2007 4:26 pm
Contact:

Post by mchinfa »

You must replace this

Code: Select all

# BEGIN s9y
DirectoryIndex /blog/index.php
Buy this :

Code: Select all

# BEGIN s9y
#DirectoryIndex /blog/index.php
I'd the same problem to install serendenpity on free .
I hope I can help you
Post Reply