I am trying to setup a website from a template, it is flash based. I havenīt modified the template yet, im waiting till the database works correctly. I think it is a problem related to the database, although im not getting any specific errors as such.
each time i try to log in it says "incorrect username or password" and if i try to create a new member it says "an error has occurred, please try again"
the website in question is http://all4u.99k.org/
I have searched the forums and found details and also tried various suggestions however the problem is still there, i have also tried using a shorter website name and using a shorter database name, but i have reverted back to the suggested name as it appears in the text file used to import data to the data base (although the prefix is automatic and i cant seem to create a database with only the given name).
the specific instructions i have for setting it up are :
QUOTE
Installing
* First step : Open Connections/databaseConnection.php and change following lines with yours.
$hostname_mySqlConnection = "localhost";
$database_mySqlConnection = "test";
$username_mySqlConnection = "root";
$password_mySqlConnection = "";
usually these values are the same in a testing server (like wamp wich is free!)
Using phpmyadmin (can be found in http://localhost/phpmyadmin/) or a similar tool follow these steps
* Second step : Create a database called ecommercedatabase
* Third step : From phpMyAdmin go to import and browse for database.sql . You have created 3 tables wich will store admins username/passwords , users details and users username/passwords.
* First step : Open Connections/databaseConnection.php and change following lines with yours.
$hostname_mySqlConnection = "localhost";
$database_mySqlConnection = "test";
$username_mySqlConnection = "root";
$password_mySqlConnection = "";
usually these values are the same in a testing server (like wamp wich is free!)
Using phpmyadmin (can be found in http://localhost/phpmyadmin/) or a similar tool follow these steps
* Second step : Create a database called ecommercedatabase
* Third step : From phpMyAdmin go to import and browse for database.sql . You have created 3 tables wich will store admins username/passwords , users details and users username/passwords.
so my databaseconnection file looks like this :
QUOTE
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_databaseConnection = "localhost";
$database_databaseConnection = "all4u_99k_ecommercedatabase";
$username_databaseConnection = "*****_*****";
$password_databaseConnection = "******";
$databaseConnection = mysql_pconnect($hostname_databaseConnection, $username_databaseConnection, $password_databaseConnection) or trigger_error(mysql_error(),E_USER_ERROR);
?>
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_databaseConnection = "localhost";
$database_databaseConnection = "all4u_99k_ecommercedatabase";
$username_databaseConnection = "*****_*****";
$password_databaseConnection = "******";
$databaseConnection = mysql_pconnect($hostname_databaseConnection, $username_databaseConnection, $password_databaseConnection) or trigger_error(mysql_error(),E_USER_ERROR);
?>
I have successfully imported the data into the database.
If you can see where the problem is i would be grateful, if you need any more info just ask.
Thank you, and have a Merry Christmas and a happy New Year
LETHAL-ENDING
