Page 1 of 1

Can't install, but no erros shown...

Posted: Thu Mar 10, 2005 7:33 am
by Guest
First of all, thank you so much for this superb program!

And secondly, sorry for my poor english!

Well, I'm trying to install Serendipity in my local machine (XP with Apache, PHP and MySQL), and I'm having problems. I've installed many scripts (sometimes just for test or fun), including forums, blogs and CMS (PHP/Post-Nuke, phpBB, vBulletin, Drupal and so), and never had a problem.

I downloaded Serendipity 0.8 (beta2) and followed the instructions. In the first page of the installation process everithing seems to be OK (just green and yellow messages). In the second page I type and then I prees the installation button... And nothing happens! The 3rd page is swhon, but only prtially (just the begining of tha table with the title of the page, but nothing more), and I don't get any kind of error message. Just nothing happens... I hot the refresh page browser button so the sent date is resent, but nothing again...

If this can be usefull to you, this is what I get in the first page:

Code: Select all

PHP installation

Operating system 	Windows NT 5.1, i586
Webserver SAPI  	cgi-fcgi
PHP version >= 4.1.2   Yes, 4.3.9
Database extensions    MySQL
Session extension 	 Yes
PCRE extension         	 Yes
GDlib extension 	  No
OpenSSL extension      No
mbstring extension 	No
iconv extension 	  No
zlib extension              Yes
Imagemagick binary    Not found
I also get recommendations with register_globals, magic_quotes_gpc and session.use_trans_sid.

What am I doing wrong? :?

THANKS IN ADVANCE!!!

Re: Can't install, but no erros shown...

Posted: Thu Mar 10, 2005 5:31 pm
by garvinhicking
Please try in installation to set the "URL Rewriting" method to "NONE". It seems that your webserver chokes on our .htaccess created file...

You might also want to check the HTML Source code of the "empty page". Maybe there is a PHP error hidden in the HTML? And check your webserver's Error_Log, you might miss some PHP Errors if you have display_errors of your php.ini set to "Off" (check your <?php phpinfo(); ?> to see what your value is)

Regards,
Garvin

Re: Can't install, but no erros shown...

Posted: Thu Mar 10, 2005 9:12 pm
by Guest
garvinhicking wrote:Please try in installation to set the "URL Rewriting" method to "NONE". It seems that your webserver chokes on our .htaccess created file...
I tried... Same problem...
garvinhicking wrote:You might also want to check the HTML Source code of the "empty page". Maybe there is a PHP error hidden in the HTML?
There isn't any error. Only part of the code is shown:

Code: Select all

<html>
    <head>
        <title>Suite de Administración de 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>Instalación de Serendipity</h1>
                                </td>
            </tr>
            <tr>
                <td colspan="2" id="serendipityAdminInfopane">

                                    </td>
            </tr>
            <tr valign="top">
                <td class="serendipityAdminContent" colspan="2">
garvinhicking wrote:And check your webserver's Error_Log, you might miss some PHP Errors if you have display_errors of your php.ini set to "Off" (check your <?php phpinfo(); ?> to see what your value is)
Is "ON", and this is what I can see in errors logs:

Code: Select all

[Thu Mar 10 06:50:20 2005] [error] [client 127.0.0.1] File does not exist: c:/apache/htdocs/proyectos/disparos/fotografia/serendipity_admin.phpnonexistant
Just one extrange thing: when I click the Complete installation button Firefox asks me if I want to change the password for some user (Confirm password change window). It's the first time I see this when installing scripts...

So I have always tried to install Serendipity throught Internet Explorer too, but with no success.

This is really annoying since Serendipity seems very promissing and it's the first time I have had problems installing a script.

Anyway, thanks for your time!

Posted: Thu Mar 10, 2005 9:27 pm
by Guest
I have found a similar thread:

http://www.s9y.org/forums/viewtopic.php?t=178

But still I don't know where the problem is...

Posted: Sun Mar 13, 2005 4:49 am
by Guest
OK, I give up. Too many days waiting...

This is the last I could get:

Code: Select all

 Checking to see if the database and tables already exists...
Fatal error: Call to undefined function: serendipity_db_query() in c:\apache\htdocs\proyectos\disparos\fotografia\serendipity0-8beta2\serendipity\include\admin\installer.inc.php on line 392

Posted: Sun Mar 13, 2005 8:54 am
by Guest
Garvin can you please translate this:
Hm, das ist komisch. Ich habe mir gerade extra mal denselben Snapshot heruntergezogen und konnte ihn soweit einrichten.

Kann es sein, dass Du die Pfadeinstellungen bei der Installation von den Defaults auf etwas anderes geändert hast? Die Pfadangaben können nur dann geändert werden wenn Serendipity auch in dem angegebenen Pfad existiert - es kopiert keine Dateien in ein evtl. anders angegebenes Verzeichnis.

Der Fehler kommt also daher weil s9y versucht aus einem Pfad die Datei zu includen, der aber wohl nicht besteht.

Es wäre also hilfreich wenn Du kurz sagst welche Installationssettings Du manuell geändert hast. Smile

Grüße,
Garvin
I found this post here:

http://www.s9y.org/forums/viewtopic.php?t=1149

Posted: Sun Mar 13, 2005 2:04 pm
by garvinhicking
Hi Antonio!

Sorry that you were waiting so long. I was needing a weekend off :-)

I think the problem you're facing (which I also wrote in the german snippet) is that maybe you have changed the Directory settings in the installer? You are only allowed to input paths where you installed Serendipity to! So if serendipity points your 'serendiptyPath' to:

\apache\htdocs\proyectos\disparos\fotografia\serendipity0-8beta2

then you may not change it into

c:\apache\htdocs\proyectos\disparos\fotografia\serendipity0-8beta2\serendipity\

Did you do something similar? Did you try to use the "simple installation"? Does that work? Did you make sure that all the installation requirements are met, and that your database is responsible? You are using the Apache webserver, right?

Regards,
Garvin

Posted: Mon Mar 14, 2005 8:55 pm
by Guest
garvinhicking wrote:Sorry that you were waiting so long. I was needing a weekend off :-)
:oops: Ops! I din't want to say I was tired of waiting for a reply here. Where I said too many time waiting I should better say too many time trying/crying. Sorry for that. I'm sure you are doing your best here. I know how a forum works.
garvinhicking wrote:I think the problem you're facing (which I also wrote in the german snippet) is that maybe you have changed the Directory settings in the installer? You are only allowed to input paths where you installed Serendipity to! So if serendipity points your 'serendiptyPath' to:

\apache\htdocs\proyectos\disparos\fotografia\serendipity0-8beta2

then you may not change it into

c:\apache\htdocs\proyectos\disparos\fotografia\serendipity0-8beta2\serendipity\

Did you do something similar? Did you try to use the "simple installation"? Does that work? Did you make sure that all the installation requirements are met, and that your database is responsible? You are using the Apache webserver, right?
I still can't install S9Y. Of course I tried the simple installation even before I posted here for the first time. Believe me. I have tried everything I know I could try. But no success.

Yes, I'm using Apache. I guess the problem it's with the .htaccess, I think those files doesn't work in my local machine. Does S9Y need those files in order to intall it? Can this be the problem?

I have spent a week looking for the news/blog script that better suits my needs and I finally want to give S9Y a try. I've been using other scripts before (bMachine, MT, Photopost...), but now S9Y it's my choice. I want to use it for a photography blog and I need to install it localy to test and change the layout before it's online. It would be embedded in this page, of course still under construction:

http://fotografia.disparos.com/index.php

Any idea??? I'm still like at the begining...

Posted: Mon Mar 14, 2005 9:45 pm
by garvinhicking
Of course, I took no offense in what you wrote. I just really try to help the users, and I'm sorry that sometimes I need a few days to respond. Great though that you didn't loose your interest! :-)

Regarding your installation problem - could you maybe try to download the latest Snapshot from here: http://www.s9y.org/snapshots/ (try the latest one which is currently http://www.s9y.org/snapshots/s9y_200503141338.tar.gz). I fixed some issues about .htaccess files and hope that one of them works out for you.

Serendipity does not need the .htaccess file if you choose "NONE" as URL Rewriting method.

So if it works out for you without a .htaccess, you should be alright...?

You really have a nifty layout idea for your site! I'd love to see that live, it looks awesome!

Regards,
Garvin

Posted: Tue Mar 15, 2005 2:41 am
by Guest
No way... :(

It seems I won't use S9Y since I can't install it on my laptop. And I don't know what the &$@# is wrong! I can install almost every script from vBulletin to PHP-Nuke but something's wrong with S9Y or with me (or both).

I'm really sorry and really sad, I would like to use S9Y for my next site but right now it's impossible... :cry:

Posted: Tue Mar 15, 2005 12:28 pm
by garvinhicking
Hm, I'm really sorry then.

I just downloaded XAMPP for windows, which installs all Mysql/Apache stuff and so on, and installing Serendipity there works flawlessly...

Regards,
Garvin