installation, stuck on step 1

Having trouble installing serendipity?
Post Reply
noclue
Regular
Posts: 8
Joined: Fri Sep 28, 2007 5:38 pm

installation, stuck on step 1

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: installation, stuck on step 1

Post by garvinhicking »

Hi!

Hm, are you sure your Webserver supports PHP?

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/
noclue
Regular
Posts: 8
Joined: Fri Sep 28, 2007 5:38 pm

yes

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: yes

Post 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
# 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/
noclue
Regular
Posts: 8
Joined: Fri Sep 28, 2007 5:38 pm

hour with customer service

Post 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?
noclue
Regular
Posts: 8
Joined: Fri Sep 28, 2007 5:38 pm

php5

Post 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...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: php5

Post 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
# 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/
noclue
Regular
Posts: 8
Joined: Fri Sep 28, 2007 5:38 pm

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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/
noclue
Regular
Posts: 8
Joined: Fri Sep 28, 2007 5:38 pm

ok, new info

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: ok, new info

Post 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
# 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/
noclue
Regular
Posts: 8
Joined: Fri Sep 28, 2007 5:38 pm

thanks, thanks!

Post by noclue »

that worked. yes it seems like a :idea: that they just should have enabled it. Thank you.
Post Reply