i'm stuck on the first page of installation!

Having trouble installing serendipity?
Post Reply
Alessandro

i'm stuck on the first page of installation!

Post by Alessandro »

Well, i'm ashamed a little for the question, probably i'm ignoring something important:
i extracted all the files under the root, than i launch serendipity from browser: http://localhost/alex/serendipity/index.php
and i'm redirected to:
http://localhost/alex/serendipity/serendipity_admin.php
this page tell me these informations:
PHP installation
Operating system Windows NT 5.0, i386
Webserver SAPI cgi-fcgi
PHP version >= 4.1.2 Sì, 4.3.1
Database extensions MySQL
Session extension Sì
PCRE extension Sì
GDlib extension No
OpenSSL extension No
mbstring extension No
iconv extension No
zlib extension Sì
Imagemagick binary

from this page i can't proceed anyway to the installation. Where do i made wrong?
Thank you, Alex
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: i'm stuck on the first page of installation!

Post by garvinhicking »

Please post a screenshot or if you have the public URL to your blog.

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/
Guest

Re: i'm stuck on the first page of installation!

Post by Guest »

Thank you.
I'll post the whole screenshot in text format:
but before you help me to solve the problem i would try to install serendipity to another PC or directanly to my site. The following installation is only for test and probably there is something wrong in my PC.
---------------------------------
Installazione di Serendipity
Welcome to the Serendipity Installation.
First we will take a look at your current setup and attempt to diagnose any compatibility problems.
Errors are displayed in red, recommendations in yellow and success in green.

- Serendipity v0.8-beta6 pre-installation report -

PHP installation
Operating system Windows NT 5.0, i386
Webserver SAPI cgi-fcgi
PHP version >= 4.1.2 Sì, 4.3.1
Database extensions MySQL
Session extension Sì
PCRE extension Sì
GDlib extension No
OpenSSL extension No
mbstring extension No
iconv extension No
zlib extension Sì
Imagemagick binary

[/url]
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: i'm stuck on the first page of installation!

Post by garvinhicking »

I really need the screenshot, the text won't do.

If you post text here, please post your full HTML output of the site.

Also look at your Apache ErrorLog, it may contain some fatal warnings/errors. And look at your PHP errorlog, it may contains that as well.

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/
Guest

Re: i'm stuck on the first page of installation!

Post by Guest »

Ok Garvin, thanks again.
here is the code.
The Apache error log error.log has not been updated at all. No errors i found under php directory.
bye
alex
----------------------------------

Code: Select all

<html>
    <head>
        <title>Amministrazione di Serendipity</title>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
        <link rel="stylesheet" type="text/css" href="serendipity.css.php?serendipity[css_mode]=serendipity_admin.css" />
        <script type="text/javascript">
        function spawn() {
            if (self.Spawnextended) {
                Spawnextended();
            }

            if (self.Spawnbody) {
                Spawnbody();
            }

            if (self.Spawnnugget) {
                Spawnnugget();
            }
        }
        
        function SetCookie(name, value) {
            var today  = new Date();
            var expire = new Date();
            expire.setTime(today.getTime() + (60*60*24*30));
            document.cookie = 'serendipity[' + name + ']='+escape(value) + ';expires=' + expire.toGMTString();
        }
        </script>
    </head>
    <body id="serendipity_admin_page" onload="spawn()">

        <table cellspacing="0" cellpadding="0" border="0" id="serendipityAdminFrame">
            <tr>
                <td colspan="2" id="serendipityAdminBanner">
                                    <h1>Installazione di Serendipity</h1>
                                </td>
            </tr>
            <tr>
                <td colspan="2" id="serendipityAdminInfopane">

                                    </td>
            </tr>
            <tr valign="top">
                <td class="serendipityAdminContent" colspan="2">
                    Welcome to the Serendipity Installation.
<br />First we will take a look at your current setup and attempt to diagnose any compatibility problems.
<br />Errors are displayed in <span style="color: red; font-weight: bold">red</span>, recommendations in <span style="color: orange; font-weight: bold">yellow</span> and success in <span style="color: green; font-weight: bold">green</span>.

<br />
<br>
<div align="center">- Serendipity v0.8-beta6 pre-installation report -</div><br />


<div align="center">
<table class="serendipity_admin_list_item serendipity_admin_list_item_even" width="90%" align="center">
    <tr>
        <td colspan="2" style="font-weight: bold">PHP installation</td>
    </tr>
    <tr>

      <td>Operating system</td>
      <td>Windows NT 5.0, i386</td>
    </tr>
    <tr>
      <td>Webserver SAPI</td>
      <td>cgi-fcgi</td>
    </tr>

    <tr>
        <td>PHP version >= 4.1.2</td>
        <td width="200"><span style="color: green; font-weight: bold">Sì, 4.3.1</span></td>
    </tr>
    <tr>
        <td>Database extensions</td>
        <td width="200"><span style="color: green; font-weight: bold">MySQL</span></td>

    </tr>
    <tr>
        <td>Session extension</td>
        <td width="200"><span style="color: green; font-weight: bold">Sì</span></td>
    </tr>
    <tr>
        <td>PCRE extension</td>

        <td width="200"><span style="color: green; font-weight: bold">Sì</span></td>
    </tr>
    <tr>
        <td>GDlib extension</td>
        <td width="200"><span style="color: orange; font-weight: bold">No</span></td>
    </tr>
    <tr>

      <td>OpenSSL extension</td>
      <td><span style="color: orange; font-weight: bold">No</span></td>
    </tr>
    <tr>
        <td>mbstring extension</td>
        <td width="200"><span style="color: orange; font-weight: bold">No</span></td>
    </tr>

    <tr>
        <td>iconv extension</td>
        <td width="200"><span style="color: orange; font-weight: bold">No</span></td>
    </tr>
    <tr>
        <td>zlib extension</td>
        <td width="200"><span style="color: green; font-weight: bold">Sì</span></td>

    </tr>
    <tr>
      <td>Imagemagick binary </td>
      <td>
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: i'm stuck on the first page of installation!

Post by garvinhicking »

Okay, your installation fails where Serendipity looks for the imagemagick binary.

This in fact means that PHP must generate an error. Look up your php.ini and see that display_errors are set to "ON". Also make sure no .htaccess or other files override that setting (create a <?php phpinfo(); ?> script in the serendipity root and look at the output of it, then look if display_Errors is set to on).

Then you can try to open your include/functions_installer.inc.php and find the function serendipity_query_default(). There you can see this code:

Code: Select all

            $path = array();

            $path[] = ini_get('safe_mode_exec_dir');

            if (isset($_SERVER['PATH'])) {
                $path = array_merge($path, explode(':', $_SERVER['PATH']));
            }

            /* add some other possible locations to the path while we are at it,
             * as these are not always included in the apache path */
            $path[] = '/usr/X11R6/bin';
            $path[] = '/usr/bin';
            $path[] = '/usr/local/bin';

            foreach ($path as $dir) {
                if ((function_exists('is_executable') && @is_executable($dir . '/convert')) || @is_file($dir . '/convert')) {
                    return $dir . '/convert';
                }
            }
            return $default;
Just remove all "@" characters within that codeblock, please (@is_executabe, @is_file) and then you should definitely see PHP error messages?

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/
Guest

Re: i'm stuck on the first page of installation!

Post by Guest »

Thanks Garving,
(i couldn't replay sooner). i 'm going to study your suggestion. Anyway at home, to another Pc (although with some errors) i could go on installation!
And many compliments for the newsgroup!
Best regards.
Alessandro Formiconi
Post Reply