Jump to content


Comment Box


4 replies to this topic

#1 Bouzy210

    Jedi In Training

  • Members
  • PipPip
  • 434 posts
  • Gender:Male

Posted 03 November 2007 - 11:47 PM

So I am making a sort of shout box for a site. I have never done it before (I have done forms but thats different) I think everything should be working in it but it doesn't even render the forms to submit it just gives me this message...

http://goldfishgraphicshome.com/Orangebox/tutorials.php

anyone?

Edited by rc69, 06 November 2007 - 12:34 AM.


#2 Jacorre

    P2L Jedi

  • Members
  • PipPipPip
  • 824 posts
  • Gender:Male
  • Location:USA
  • Interests:Computers, Technology, Internet, Graphic/Web Design, Music, Soccer

Posted 08 November 2007 - 11:57 AM

Sounds like an issue with connecting to your database. Make sure your username/password is correct, as well as other setup things. I'm assuming you're using PHP/MySQL.

#3 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 09 November 2007 - 12:21 AM

It sounds to me like a conflict between MySQLi and MySQL... Did you build this yourself or use a tutorial? If you used a tutorial, i'd recommend contacting the author for support.

ref:
MySQL
MySQLi

#4 Wildhoney

    Young Padawan

  • Members
  • Pip
  • 31 posts

Posted 09 November 2007 - 03:27 PM

I'd say you are wrong, rc69. The clue is in the error itself. What I'd say is happening is that the MySQL library installed on your server is too modern for the MySQL version installed on your server. Pre-4.1, MySQL used another hashing algorithm for its passwords. You can, however, if you wish to, update the password in your database to use the old style hash algorithm:

SET PASSWORD FOR me@myhost = OLD_PASSWORD('newPassword');

...Or even start MySQL with --old-passwords. Though as aforementioned, getting your host to upgrade has to be the best option!

Edited by Wildhoney, 09 November 2007 - 03:30 PM.


#5 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 09 November 2007 - 04:29 PM

Well, if you put it that way, then the problem is not that i was wrong, it is that i didn't explain myself as well as i should have.

You said basically everything i was thinking. The only time i have encountered that error is on my localhost switching from php4 to php5 (essentially switching from the use of mysql, to mysqli). I believe the documentation in at least one of the links i provided may mention what you said... if not then yes, i do agree (and ment to imply) that the version of mySQL which he is using may be the problem.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users