very strange error when trying to install...

Having trouble installing serendipity?
Post Reply
Guest

very strange error when trying to install...

Post by Guest »

when I install s9y, (no difference if i use simple or expert), when i hit the install button at the bottom, i get an empty page...

the first page, everything is green except in the php mods i have no openssl, no mbstring and no iconv extensions..

other than that its all green...

proceed to expert installation, change only the db username and dbname/pass, and hit the complete install button... and nothing...

my .htaccess has
php_flag register_globals OFF
php_flag magic_quotes_gpc OFF
php_flag session.use_trans_sid OFF
php_flag display_errors on
php_value post_max_size 10M
php_value upload_max_filesize 10M

and no errors are output... i get a blank page with the url = http://{myhost site}/serendipity_admin.php?

and a nice gradiated title screen saying "Serendipity Installation"..

the source is cutoff.. its weird...

Code: Select all

<html>
    <head>
        <title>Serendipity Administration Suite</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>Serendipity Installation</h1>
                                </td>
            </tr>
            <tr>
                <td colspan="2" id="serendipityAdminInfopane">

                                    </td>
            </tr>
            <tr valign="top">
                <td class="serendipityAdminContent" colspan="2">

the only difference I can see is that when i ssh into the box the cwd is
/home3/www/{hostname}/serendipity/
but the s9y config lists it as
/www3/{hostname}/serendipity/

using either gives same result...

one thing that isnt explained is the "relative path" which is listed as "/serendipity/" but doesnt explaint what its relative to, my url? which already has a /serendipity/ on the end or the full path, which also already has a /serendipity/ on the end... or is it relative to the web root of my site?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: very strange error when trying to install...

Post by garvinhicking »

The error you get seems to be caused by a PHP error. Can you browse your PHP error logs?

If you already have a .htaccess file in your serendipity directory, that may cause problems as serendipity tries to write its own .htaccess. Make sure that write privileges are okay?

Also check that all the paths are really alright; in some cases the autodection of s9y may fail. Keep in mind that you need to enter the path information where s9y is already unpacked, not where you want it to be. S9y cannot copy/move files, it just needs to know its full locations.

The relative path is the relative URL starting frm http://.../. So if your URL is http://localhost/serendipity/, the relative URL is "serendipity/".

HTH,
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

Post by Guest »

cheers. i cant access the php error logs.. my host doesnt allow it.
the only .htaccess i have is in my root directory, not the s9y directory...

i was using the paths s9y was installed into, and i still have no luck.. :( something weird going on. ohwell.. i really wanted to move away from pmachine pro....

thanks for the help.

-Stu
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Can't you ask your provider for errorlogs?

Else, try to create a .htaccess file in your s9y directory and set the privileges to read-only (644). Maybe that helps for installing when s9y tries to write a problematic .htaccess file...?

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/
Post Reply