Jump to content

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...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.