Jump to content


Photo

MySQL Error


  • Please log in to reply
2 replies to this topic

#1 jeffblochjr

jeffblochjr
  • Members
  • PipPip
  • Member
  • 10 posts

Posted 24 January 2003 - 06:07 AM

Can anyone tell me what these errors mean? This happens when I try to access a specific page on my site... however, it did NOT used to happen when this same site was hosted on a different server. Suggestions?

(To make this stuff not run off the screen, I substituted \"<A LOT OF NUMBERS AND LETTERS HERE>\" for a long string of numbers and letters.)

Warning: Failed opening \'loginform.php\' for inclusion (include_path=\'\') in /home/owedmone/public_html/phplib/local.php on line 60

Warning: Failed opening \'loginform.php\' for inclusion (include_path=\'\') in /home/owedmone/public_html/phplib/local.php on line 60

Database error: Invalid SQL: insert into active_sessions ( sid, name, val, changed ) values (\'67ecd788ed19c49493a8b61321ad2852\', \'my_sid\', \'bXlfc2lkOiR<A LOT OF NUMBERS AND LETTERS HERE>E0NzQ4MzY0Nyc7IA==\', \'20030124080754\')

MySQL Error: 1062 (Duplicate entry \'my_sid-67ecd788ed19c49493a8b61321ad2852\' for key 1)

Session halted.


#2 pallevillesen

pallevillesen
  • Members
  • PipPipPip
  • Advanced Member
  • 135 posts
  • LocationDenmark

Posted 24 January 2003 - 11:18 AM

The first error is a pure php error. It may be causing the sql error.

Check your local.php for the line saying include(\'loginform.php\'); (It should be line 60).

You should try and specify the correct path to loginform.php... and see if that solves the problem.

P.
Palle Villesen, www.birc.dk [br]Bioinformatics Research Center

#3 jeffblochjr

jeffblochjr
  • Members
  • PipPip
  • Member
  • 10 posts

Posted 24 January 2003 - 03:27 PM

Thanks; specifying the correct path seemed to work!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users