1 (edited by panead 2006-03-17 20:20)

Topic: installation - stuck in a loop :-s

installed no probs, uploaded the config file and changed the chmods for cache and avatars but now stuck in a loop, please help a noobie out smile

it first says -

The file 'config.php' already exists which would mean that PunBB is already installed. You should go here instead.

i click on here in the above line to which it says -

The file 'config.php' doesn't exist or is corrupt. Please run install.php to install PunBB first.

i click on install.php link then it just loops back around !"£$%^&

Re: installation - stuck in a loop :-s

Post the contents of your config.php (just censor out your DB password first).

Re: installation - stuck in a loop :-s

here's the config file, user and password blanked smile

<?php

$db_type = 'mysql';
$db_host = 'localhost';
$db_name = 'cod2';
$db_username = '********';
$db_password = '********';
$db_prefix = '';
$p_connect = false;

$cookie_name = 'punbb_cookie';
$cookie_domain = '';
$cookie_path = '/';
$cookie_secure = 0;
$cookie_seed = '406f54b8';

define('PUN', 1);

in myphpadmin there are tables setup by punBB so at least it's found the database, thank you for your help smile

Re: installation - stuck in a loop :-s

Well, as far as I can see, there's nothing wrong with that file... What program did you use to create & save it? I'm just asking, because if you usede a word processor of some sort, it could be that it's saved with some sort of formatting, though I doubt this is the case... What's your server setup (platform, php version & database type (+version))?

Re: installation - stuck in a loop :-s

thx for the quick reply.

at the moment the hosting server as gone down :s when it's back i'll try and get to the information smile

6 (edited by panead 2006-03-19 07:38)

Re: installation - stuck in a loop :-s

mmm can't find any server details :-s but here's the link -

https://216.75.30.69:8443/sitepreview/h … /index.php

at the moment it's only a test site, the server uses linux,punbb as set up the php tables but not sure which version of php, sorry i'm not that helpful sad

Re: installation - stuck in a loop :-s

Ok, I just changed the address to your config.php, and it gave the following error:

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/httpd/vhosts/j-f-f.co.uk/httpdocs/forums/config.php on line 2

Parse error: parse error in /home/httpd/vhosts/j-f-f.co.uk/httpdocs/forums/config.php on line 2

There's definetely something wrong in your config.php file, although looking at what you posted earlier, it shouldn't be...

Re: installation - stuck in a loop :-s

yeah strange indeed, once the dns is setup for my domain name i'll have another look smile

Re: installation - stuck in a loop :-s

all sorted smile

i had saved the first config file using wordpad, copied and pasted the text into notepad then resaved, some how the file size went down from 500ish bytes to 317 bytes,uploaded the file now it works smile

thx for your help smile