PDA

View Full Version : Installation problems


BigFroBoy
24th of January 2003 (Fri), 00:43
Any help on this would be fantastic.

MySQL is setup as follows (connection string given by server):
$dbh=mysql_connect ("localhost", "froboy_gallery", "") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("froboy_gallery");

Here is my connect.php:
$servername = "localhost";
$databasename = "froboy_gallery";
$username = "froboy_gallery";
$password = "PASSWORD HERE";

I tried installing and here is the error I get:
Parse error: parse error in /home/froboy/public_html/knuckle/gallery/add/connect.php on line 30

Dumping 1.22 SQL data

MySQL version:3.23.39

DATABASES AVAILABLE:
Warning: mysql_list_dbs(): supplied argument is not a valid MySQL-Link resource in /home/froboy/public_html/knuckle/gallery/setup.php on line 283


Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/froboy/public_html/knuckle/gallery/setup.php on line 285

INSERTING CORE EE DATA:

No Database Selected
ERROR IN QUERY:
DROP TABLE IF EXISTS ee_camera

BigFroBoy
24th of January 2003 (Fri), 02:31
I spent hours trying to resolve this myself. The connect.php file was the culprit. I somehow deleted the last line:
?>

Pekka
24th of January 2003 (Fri), 04:35
Thanks for writing back it worked! :)