Firefox PHP

Installing Problem with database setup

Posted by gfawkes 
Installing Problem with database setup
January 30, 2017 03:43PM
I'm having a problem getting Phorum to work.
I have myQSL set up correctly. 5.5 +

Your install.txt file says to edit /include/db/config.php sample file and
save it as /include/db/config.php. I did that. Doesn't work. I edited the db info and left the others default.

Your Read.me file says to edit /include/config/database.php.sample and save it as /include/config/database.php

There is NOT an /include/CONFIG subdirectory...therefore no database.php sample file to edit.

Phorum 5.2.22 downloaded today.

Would appreciate some guidance....and you might edit your Read.me and install.txt
files to the correct way of setting up Phorum if I am reading them correctly.
Thank you.
tinman
Re: Installing Problem with database setup
January 30, 2017 05:28PM
The install.txt should be correct.

The readme.md is for the phorum core, and should not be there at all.

Below is what I have.
notes*
"name" On one host needed only database name, another host required the web site username as a prefix "username_databasename"

"server" may or may not be required, depends on your host, and may be mutually exclusive.


$PHORUM['DBCONFIG']=array(

    // Database connection. See the end of this file for a detailed
    // description of the configuration options.
            "type"          =>  "mysql",
            "name"          =>  "databasename",
            "server"        =>  "",
            "user"          =>  "databaseuser",
            "password"      =>  "databasepassword",
            "table_prefix"  =>  "1111",
            'port'          => '3306',
            'socket'        => NULL,
Re: Installing Problem with database setup
January 31, 2017 01:31AM
and "doesn't work" is not really an error description.
What happens when you edited only the db info in config.php? what error did you get?


Thomas Seifert
Sorry, only registered users may post in this forum.

Click here to login