Author Topic: Is it my computer or is it fornits?  (Read 1878 times)

0 Members and 1 Guest are viewing this topic.

Offline Ursus

  • Newbie
  • *
  • Posts: 8989
  • Karma: +3/-0
    • View Profile
Is it my computer or is it fornits?
« on: February 20, 2007, 01:51:49 AM »
I get this error message from time to time, when trying to move from one forum to another.  Not sure whether it is my computer that has a glitch, my DSL connection, or whether it is fornits?  I'm not too computer savvy, so not sure...
Quote
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/fornits/initfiles/fornits/dbconnect.php on line 8
« Last Edit: December 31, 1969, 07:00:00 PM by Guest »
-------------- • -------------- • --------------

Offline Antigen

  • Newbie
  • *
  • Posts: 12992
  • Karma: +3/-0
    • View Profile
    • http://wwf.Fornits.com/
Is it my computer or is it fornits?
« Reply #1 on: February 20, 2007, 02:03:07 AM »
No, that's on my end. I wish I could tell you I'll have it all fixed up right quick, but I can't. I don't know why it's happening, it keeps on happening, hapens on other sites on this server even when Fornits was shut down. No clue. I give up. Throwing in the towel, at least till morning.
« Last Edit: December 31, 1969, 07:00:00 PM by Guest »
"Don\'t let the past remind us of what we are not now."
~ Crosby Stills Nash & Young, Sweet Judy Blue Eyes

Offline Ursus

  • Newbie
  • *
  • Posts: 8989
  • Karma: +3/-0
    • View Profile
Is it my computer or is it fornits?
« Reply #2 on: February 20, 2007, 02:10:09 AM »
Thanks for clarifying that.  For what it's worth, it is always "line 8".

Sometimes, when I keep getting that message, I just quit Safari and then come back and retry and get in just fine.  But sometimes I get in after a few minutes without quitting.

(In case this helps you trouble shoot.)
« Last Edit: December 31, 1969, 07:00:00 PM by Guest »
-------------- • -------------- • --------------

Offline Antigen

  • Newbie
  • *
  • Posts: 12992
  • Karma: +3/-0
    • View Profile
    • http://wwf.Fornits.com/
Is it my computer or is it fornits?
« Reply #3 on: February 20, 2007, 03:03:32 AM »
Well, I know what it means as far as it goes. Means the db connect failed so there is not object around which mysql (open source dbdriver based on the ANSI Standard Query Language) to wrap it's chops. Just can't figure out why the db and the rest of the server keep failing, that's all.
« Last Edit: December 31, 1969, 07:00:00 PM by Guest »
"Don\'t let the past remind us of what we are not now."
~ Crosby Stills Nash & Young, Sweet Judy Blue Eyes

Offline Anonymous

  • Newbie
  • *
  • Posts: 164653
  • Karma: +3/-4
    • View Profile
Is it my computer or is it fornits?
« Reply #4 on: February 20, 2007, 11:06:58 AM »
I had this error on a site that was not using phpBB , but it was a php mySQL site.  

For us, the error was caused by relaxed coding.   For example, we did not close the mySQL connections.   Additionally, instead of checking to see if thee was a connection already open, we'd open a new connection on each call.   When our site was small, roughly  < 5000 sessions a day, there was not a problem.    

As soon as we started to rock, the coding challenges became apparent.   Once we cleaned up the code, and increased the RAM the problem went away.  

I am note sure about the scalability of phpBB, but from what I've seen in the drupal community scalability is an issue.
« Last Edit: December 31, 1969, 07:00:00 PM by Guest »

Offline Anonymous

  • Newbie
  • *
  • Posts: 164653
  • Karma: +3/-4
    • View Profile
Is it my computer or is it fornits?
« Reply #5 on: February 20, 2007, 11:15:49 AM »
This site isn't big enough for that. I've seen phpBB implementations handling much more than that. On Offtopic.com, their current tally is:

Currently Active Users: 1248 (1214 members and 34 guests)

It's a problem with the host, not the code.
« Last Edit: December 31, 1969, 07:00:00 PM by Guest »

Offline Froderik

  • Newbie
  • *
  • Posts: 7547
  • Karma: +10/-0
    • View Profile
Is it my computer or is it fornits?
« Reply #6 on: February 24, 2007, 11:20:48 AM »
I've found turning java off helps a little sometimes.
« Last Edit: December 31, 1969, 07:00:00 PM by Guest »