Jump to content

Crimemap script help


wxflint

Recommended Posts

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]

Link to comment
https://forums.phpfreaks.com/topic/168403-crimemap-script-help/
Share on other sites

  • 3 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.