Topic: Installation Error

I've seen a number of similar posts but none that are identical.  I've successfully added a forum to my GoDaddy account but am having problems with a different SQL server.  After running install.php I get the message:The file 'config.php' already exists which would mean that PunBB is already installed. You should go here instead.  According to phpMyAdmin in cPanel, there are no tables installed in the database.  The index.php page with debug turned on shows:

File: /home/domainname/public_html/forum/include/cache.php
Line: 84

PunBB reported: Unable to fetch forum config

Database reported: Table 'domainname_forum.bb_config' doesn't exist (Errno: 1146)

Not being a sql person, I don't know what this means.  Is there something you can direct me to that I can discuss with the db admin?

Note:  I replaced the real database name with domainname.

A sanitized config.php file is shown below.

<?php

$db_type = 'mysql';
$db_host = 'localhost';
$db_name = 'domainname_forum';
$db_username = 'domainname_myname';
$db_password = 'mypassword';
$db_prefix = 'bb_';
$p_connect = false;

$cookie_name = 'punbb_cookie';
$cookie_domain = '';
$cookie_path = '/';
$cookie_secure = 0;
$cookie_seed = '5dbcb548';

define('PUN', 1);

2 (edited by MattF 2007-11-20 19:12)

Re: Installation Error

What do you mean by problems with a different SQL server? Have you already a functional forum, and are trying to create a second?

Re: Installation Error

I have a functional forum on a GoDaddy server for my personal website.  I'm attempting to install a forum on another server for a different website having a different objective.

4

Re: Installation Error

You haven't copied your existing forum folder over to the new installation site have you? Are you starting with clean PunBB source?

Re: Installation Error

Everything is brand new on the new server.  The GoDaddy forum was mentioned only to verify that I have successfully installed PunBB in the past.  Other than that, it has no bearing on this new installation. 

The one thing I noticed when examining the phpMyAdmin screen that under the Localhost heading is a line that says: "Create new database" under which in red letters is "x No Privileges".  Even though I can create database tables manually, I suspect that the system is configured to prohibit php built databases.  I'm trying to contact the server administrator to verify this conclusion and get it resolved.  For those of you savvy in SQL, let me know if this is a reasonable conclusion.

Re: Installation Error

There are no tables.

Re: Installation Error

Right, I know there are no tables.  When I used PunBB to make another forum on a different server, the php files wrote the tables.  This time, they are not doing that.  What needs to happen at the server to allow this?  The fact that I got the message I did suggests that the install file is correct, i.e., I didn't get any errors saying that the database or password were invalid.  I have a hunch that the server admin has configured SQL to not allow writing of tables from a php source.  What should I ask him to do to remedy this?

8

Re: Installation Error

remove the config.php file from the forum folder

Re: Installation Error

Thanks.  I seemed to have gotten ahead of myself and created the config.php file too soon.  After allowing the system to create the config file parameters and then installing that file on the server, everything works fine.  Thanks again for your help.