Page 1 of 1
installation, stuck on step 1
Posted: Fri Sep 28, 2007 7:12 pm
by noclue
I'm stuck, when I open the interface all I get is html (nothing like the setup screen in the tutorial). I uploaded everything in the zip file into my webdocs folder and changed the permission as described in the instructions. There wasn't an archives folder so I created and set permissions for that and I'm assuming as descibed in the tutorial that the .htaccess and the serendipity_config_local.inc.php will also be created (they weren't in the unzipped folder). There's obvioduly something I'm missing but I don't know what.
Re: installation, stuck on step 1
Posted: Sat Sep 29, 2007 12:50 pm
by garvinhicking
Hi!
Hm, are you sure your Webserver supports PHP?
Regards,
Garvin
yes
Posted: Sat Sep 29, 2007 1:36 pm
by noclue
yes, earthlink. "Your Web Hosting account supports PHP versions 4.1.2 and 5.0.5."
Is there any easy step that I could have missed?
Re: yes
Posted: Sat Sep 29, 2007 2:26 pm
by garvinhicking
Hi!
noclue wrote:yes, earthlink. "Your Web Hosting account supports PHP versions 4.1.2 and 5.0.5."
Is there any easy step that I could have missed?
If you see output like that, it means that PHP is not used to parse your files. You should talk to your hoster and please ask him what's happening. Maybe PHP needs to be specifically enabled for a directory on your hoster?
Regards,
Garvin
hour with customer service
Posted: Sat Sep 29, 2007 7:13 pm
by noclue
They said they fully support version 5 and that there is probably something on the serendipity end. Have you had problems with earthlink before?
php5
Posted: Sat Sep 29, 2007 8:12 pm
by noclue
so after another hour with cust. support. I tried what they suggested:
changed the index file name to:index.php5
that sent me to the admin file but didn't know what to do with it. So i changed the extension of this file to:
serendipity_admin.php5 and then was able to get that up an running. Now I'm running into dead ends and errors. Would I have to change all file extensions or is there another way round this? arrghhh...
Re: php5
Posted: Sun Sep 30, 2007 1:31 pm
by garvinhicking
Hi!
You cannot rename files! Your hoster must execute files with ".php" extension and parse them with either PHP4 or PHP5.
Regards,
Garvin
Posted: Sun Sep 30, 2007 2:58 pm
by noclue
so why would the installer run if it's indexed .php5 and not just php - I'm just trying to work with your software.
Posted: Sun Sep 30, 2007 3:05 pm
by garvinhicking
Hi!
noclue wrote:so why would the installer run if it's indexed .php5 and not just php - I'm just trying to work with your software.
Because of your hoster!
Your hoster does not seem to run files that are called .php, only if they're called .php5. But s9y requires files to be called .php. So just tell your hoster to execute .php files, and you'Re done.
".php" files are by default interpreted by PHP, it's a very nonstandard that a hoster does not execute .php files.
Because s9y depends on .php extension you cannot simply rename a file, because internally s9y includes and references files with .php extension.
Regards,
Garvin
ok, new info
Posted: Sun Sep 30, 2007 3:40 pm
by noclue
The host says it will only execute .php4 or .php5
in order for it to access .php it says I need to do the following:
Using .php Extensions
To use the extension '.php' for your PHP scripts, add the following line to your .htaccess file:
AddHandler php5-script .php
The example above will result in files that end in .php being interpreted by PHP 5.0.5.
where do I place this in the file (I really need beginner instructions). Thank you for being patient.
Re: ok, new info
Posted: Sun Sep 30, 2007 4:04 pm
by garvinhicking
Hi!
You will need to put that piece of code into a ".htaccess" file in the same directory like Serendipity.
Remember that s9y needs to write to that file as well and might overwrite your changes after installation, so that you need to re-add that to your .htaccess file after install.
Also, know that it is really nonstandard to not have ".php" automatically assigned as PHP files, so your hoster is really putting some stress on you
Regards,
Garvin
thanks, thanks!
Posted: Sun Sep 30, 2007 11:29 pm
by noclue
that worked. yes it seems like a

that they just should have enabled it. Thank you.