wxflint Posted August 1, 2009 Share Posted August 1, 2009 Hello all, I have an issue with an older crimemap script. this script allows users to sign up and post crime in there area and uses googles map and api to add the users crime in there area. The issue i am having is that when a user signs up and then logs in They get this error here Warning: Missing argument 1 for dbConnection::connect(), called in /home2/wxfriend/public_html/crime/login.php on line 27 and defined in /home2/wxfriend/public_html/crime/dbconnect.php on line 35 Warning: Missing argument 2 for dbConnection::connect(), called in /home2/wxfriend/public_html/crime/login.php on line 27 and defined in /home2/wxfriend/public_html/crime/dbconnect.php on line 35 Warning: Missing argument 3 for dbConnection::connect(), called in /home2/wxfriend/public_html/crime/login.php on line 27 and defined in /home2/wxfriend/public_html/crime/dbconnect.php on line 35 Warning: Missing argument 4 for dbConnection::connect(), called in /home2/wxfriend/public_html/crime/login.php on line 27 and defined in /home2/wxfriend/public_html/crime/dbconnect.php on line 35 Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'wxfriend'@'localhost' (using password: NO) in /home2/wxfriend/public_html/crime/dbconnect.php on line 37 Unable to select database The database config.php is set correct This might be an issue with the script hence it is an old script maybe outdated. I am using Apache version 2.2.11 (Unix) PHP version 5.2.9 MySQL version 5.0.81-community Operating system Linux I have attached a copy of the script I have created a user on the site so you can see the error http://wxfriends.com/crime/index.php?id=login Username: user Password: 123456 Thanks in advance Please let me know if you need any other info [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/168403-crimemap-script-help/ Share on other sites More sharing options...
infiniteacuity Posted August 17, 2009 Share Posted August 17, 2009 Where are you suppose to go to see the error? Quote Link to comment https://forums.phpfreaks.com/topic/168403-crimemap-script-help/#findComment-900222 Share on other sites More sharing options...
wxflint Posted August 21, 2009 Author Share Posted August 21, 2009 Hey infiniteacuity I have fixed the issue by changing the way it was looking at the database Quote Link to comment https://forums.phpfreaks.com/topic/168403-crimemap-script-help/#findComment-902969 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.