this is what i get at the bottom of the install.php3:
"); echo "Connecting to database..."; if(!$dbh = @mysql_pconnect($dbhost, $dbuser, $dbpass)) { echo "Can't connect to $dbhost as $dbuser. Setup aborted. phpMyAgenda is not properly installed."; die(); } else echo "ok "; echo "Creating database $dbname..."; if(!@mysql_query("CREATE DATABASE ".$dbname)) { if(!@mysql_select_db($dbname)) { echo "Can't create database $dbname. Setup aborted. phpMyAgenda is not properly installed."; die(); } else echo "ok "; } else echo "ok "; echo "Selecting database $dbname..."; if(!@mysql_select_db($dbname)) { echo "Can't select database $dbname. Setup aborted. phpMyAgenda is not properly installed."; die(); } else echo "ok "; echo "Creating tables and predefined accounts..."; // read dump from phpmyadmin /* $Id: db_readdump.php3,v 1.12 1999/11/24 11:20:37 tobias Exp $ */ @set_time_limit(10000); function split_sql($sql) { $sql = trim($sql); $buffer = array(); $ret = array(); $in_string = false; for($i=0; $i
also if i will out the information on that page and click on the button i get:
Method Not Allowed The requested method POST is not allowed for the URL /agenda/install.php3.
please help
Thanks
Tony
You may have to set up the database manually. Does your host use phpmyadmin for mysql? I had a similar error, so I may be able to help.
Log in to post a comment.
this is what i get at the bottom of the install.php3:
"); echo "Connecting to database..."; if(!$dbh = @mysql_pconnect($dbhost, $dbuser, $dbpass)) { echo "Can't connect to $dbhost as $dbuser. Setup aborted. phpMyAgenda is not properly installed."; die(); } else echo "ok
"; echo "Creating database $dbname..."; if(!@mysql_query("CREATE DATABASE ".$dbname)) { if(!@mysql_select_db($dbname)) { echo "Can't create database $dbname. Setup aborted. phpMyAgenda is not properly installed."; die(); } else echo "ok
"; } else echo "ok
"; echo "Selecting database $dbname..."; if(!@mysql_select_db($dbname)) { echo "Can't select database $dbname. Setup aborted. phpMyAgenda is not properly installed."; die(); } else echo "ok
"; echo "Creating tables and predefined accounts..."; // read dump from phpmyadmin /* $Id: db_readdump.php3,v 1.12 1999/11/24 11:20:37 tobias Exp $ */ @set_time_limit(10000); function split_sql($sql) { $sql = trim($sql); $buffer = array(); $ret = array(); $in_string = false; for($i=0; $i
also if i will out the information on that page and click on the button i get:
Method Not Allowed
The requested method POST is not allowed for the URL /agenda/install.php3.
please help
Thanks
Tony
You may have to set up the database manually. Does your host use phpmyadmin for mysql? I had a similar error, so I may be able to help.