Author Topic: db error apon file upload  (Read 5477 times)

Cory

  • Guest
db error apon file upload
« 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: [Select]
<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

Adept

  • Guest
Re: db error apon file upload
« Reply #1 on: May 04, 2008, 03:19:05 am »
Cory: Access denied for user 'logd123'@'localhost' (using password: NO)

Password wasn't supplied. 

Nightborn

  • Administrator
  • Sr. Member
  • *****
  • Posts: 320
  • Karma: +20/-0
    • View Profile
    • Shinobilegends
Re: db error apon file upload
« 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.
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
Re: db error apon file upload
« 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.

Nightborn

  • Administrator
  • Sr. Member
  • *****
  • Posts: 320
  • Karma: +20/-0
    • View Profile
    • Shinobilegends
Re: db error apon file upload
« 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.

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
Re: db error apon file upload
« 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