nb Core Community
May 22, 2012, 01:38:36 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: 1.2.3 +nb is now final and released

@new registrations. I will not allow any new registrations here as there are more (real person) spambots here than ever.... captcha proved to be ineffective.

After your registration, mail me at ( admin AT shinobilegends.com ) from the mail address you want to register. Provide some text about you and possibly your game.
 
   Home   Help Search Calendar Downloads Login Register  
Pages: [1]
  Print  
Author Topic: db error apon file upload  (Read 1541 times)
Cory
Guest
« on: May 03, 2008, 02:41:59 pm »

heya, i just downloaded your version of logd (1.1.1.2 DP + NB) and uploaded all the files to my host in the correct order, i read the readme files and the install readme text,
went to install the game but it gave me a error straight away,

the error is :
Code:
<br /> <b>Warning</b>: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'logd123'@'localhost' (using password: NO) in <b>/home/logd123/public_html/lib/dbwrapper_mysql.php</b> on line <b>137</b><br />

ive looked at that file and the suspected line but i cant figure out why i get this error.

here is a link to my site,

- http://74.54.218.18/~logd123/home.php?

if that doesnt work then this might..

- http://www.highlander-logd.com

thanks for any help,
Cory
Logged
Adept
Guest
« Reply #1 on: May 04, 2008, 03:19:05 am »

Cory: Access denied for user 'logd123'@'localhost' (using password: NO)

Password wasn't supplied. 
Logged
Nightborn
Administrator
Sr. Member
*****

Karma: +20/-0
Posts: 307



View Profile WWW
« Reply #2 on: May 04, 2008, 07:52:39 am »

Thanks Adept, exactly like you say.

Cory, you uploaded or edited a "dbconnect.php"?

You should call the installer.php or home.php which will redirect you to the installer.

Obviously, you already did enter you database user already in that file, but left out the password.
Logged

It should be fixed, but it won't be easy and it won't be fast. If you want
to help - wonderful. But keep in mind that it will take months of wading
through the ugliest code we have in the tree. If you've got a weak stomach -
stay out. I've been there and it's not a nice place.

   - Al Viro
Cory
Guest
« Reply #3 on: May 04, 2008, 01:07:46 pm »

ah sorted it,

i hadnt already entered any info for that.

well anywho i fixed it by..

deleting the dbconnect file in the main directory and the dbwrapper_mysqli_proc.php and dbwrapper_mysqli_oos.php files from lib directory.

when i did that the error went and i installed the game with no problems.

thanks for the help anyway.
Logged
Nightborn
Administrator
Sr. Member
*****

Karma: +20/-0
Posts: 307



View Profile WWW
« Reply #4 on: May 04, 2008, 08:32:44 pm »

the lib file deletion were absolutely arbitrary and did not solve your problem.

if you put in the settings.php "mysql" as database engine, the files were not even executed.

the error was your database info, nothing more, nothing less.

Logged

It should be fixed, but it won't be easy and it won't be fast. If you want
to help - wonderful. But keep in mind that it will take months of wading
through the ugliest code we have in the tree. If you've got a weak stomach -
stay out. I've been there and it's not a nice place.

   - Al Viro
Cory
Guest
« Reply #5 on: May 04, 2008, 09:13:11 pm »

hmm,
strange because i did put the mysql into the field in the settings.php folder.

hmm well i dont seem to be having any problems but if i come across any then it will prob be dues to this
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!