PDA

View Full Version : Installing phpbb


Olidivera
6-26-05, 11:37 PM
Ugh more problems...

I uploaded everything that I downloaded (correctly I think), I set up a mySQL database from the ops.powweb.com page, then I went to install.php and entered all the correct information...but I got this:

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (70) in /www/u/username/htdocs/forums/db/mysql4.php on line 48

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /www/u/username/htdocs/forums/db/mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /www/u/username/htdocs/forums/db/mysql4.php on line 331
phpBB : Critical Error

Could not connect to the database

What am I doing wrong?

mitchind
6-26-05, 11:44 PM
You can't use localhost for the MySQL database - use the myssql server that is shown to you on the Member Ops page. (mysql##.powweb.com)

You'll also need your database name.

Olidivera
6-26-05, 11:48 PM
Ugh...silly me...Thanks!


EDIT: more problems...I clicked "Finish installation" and got:

message_die() was called multiple times. This isn't supposed to happen. Was message_die() used in page_tail.php?

Croc Hunter
6-27-05, 12:41 AM
Can you post your domain name please and I'll have a look.

Nevermind I found it..

Looks like you've uploaded it wrong.. what did you FTP upload with?. Make sure images go up in binary and css php txt files etc go up in ASCII. Re-upload all your phpbb files. Goto http://phpmyadmin.powweb.com on the left click on your db name> on the right scroll to bottom and 'select all' tables then from the drop-down menu choose to 'drop' them. In OPS create a new user for the db, we will use new user/pass to reinstall.

Now go back to the install page.

Default board language: English
Database Type: MySQL 4.x
Choose your installation method: Install

Database Server Hostname / DSN: mysqlxx.powweb.com (use your xx in ops)
Your Database Name: what you called it when you created it
Database Username: new username you created
Database Password: new password you created
Prefix for tables in database: phpbb_

Admin Email Address: a current working address of yours
Domain Name: your domain-name.com
Server Port: 80
Script path: /forums/
Administrator Username: make one up
Administrator Password: make one up
Administrator Password [ Confirm ]: repeat it

Click 'Start install'