Sorted. It was indeed TxtEdit causing the problem. I didn't save the file as pure txt only, it included formatting and font/style info in the config file. I only noticed it by using Fetch to view the config.php file on the server and noticing all the font info before the php script. So I deleted it and replaced it with a pure txt file. Works fine now.

Thank you for all your ideas and suggestions.

BW,

Hippo.

How can I tell if it does an auto_prepend? (What is one?)

I use Txt Edit on the Mac (OS 10.4.8)

I have checked the code created by PunBB at the end of the install (the bit it asks you to copy into the config file) and compared it with the text in the config file on my desktop - looks identical.

No idea whats going wrong?

I have deleted all the files and databases. I completely reinstalled PunBB. I ran install.php, then copied the code exactly into the config file and uploaded the config file to the root directory of the PunBB installation on my server.

It still doesn't work and I get the identical error messages.

Please can anyone help? Where am I going wrong?

BW,

Hippo.

elbekko wrote:

Try reuploading it, I think it's corrupted.

Did that, still get the same error code messages.

Can't seem to get it working!

Any other ideas? How do I create/repair the config file?

BW,

Hippo.

I can't see any single quotes in the text.

This is the pasted text in my config file (I've removed the password and username).

<?php

$db_type = 'mysql';
$db_host = 'mysqlhost';
$db_name = 'setham';
$db_username = 'username';
$db_password = 'password';
$db_prefix = '';
$p_connect = false;

$cookie_name = 'punbb_cookie';
$cookie_domain = '';
$cookie_path = '/';
$cookie_secure = 0;
$cookie_seed = '6e4e1149';

define('PUN', 1);


This is the error code I get when trying to open the config file in my web browser (Safari).

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /sites/setham/htdocs/Forums/config.php on line 7

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /sites/setham/htdocs/Forums/config.php on line 8

Parse error: syntax error, unexpected T_VARIABLE in /sites/setham/htdocs/Forums/config.php on line 9


I'm afraid it makes no sense at all to me. If anyone can correct this I would be most grateful.

BW,


Hippo.

Thanks Smartys,

Very rapid reply, most impressive.

How do I uncorrupt it? Do I edit it or do I reupload a new one? If I reupload, do I need to re-run 'install.php'?

Sorry for so many questions.

Thanks,


Hippo.

Hello,

I'm new to PunBB and fairly new to website/forum stuff.

I have installed PunBB as instructed and checked that everything is where it should be.

However I can't work out how to set it up once installed. If I navigate to my index page (or indeed any of the pages) they are blank. I've searched all the forums here, but can't find the answer.

The forum should be at http://www.sethamesortho.org.uk/Forums/

Very grateful for any help - I think its just me being thick though ;-)

BW,

Hippo.