Fornits
Announcements & Tech Support => Web forum hosting => Topic started by: Ursus 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...
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/fornits/initfiles/fornits/dbconnect.php on line 8
-
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.
-
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.)
-
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.
-
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.
-
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.
-
I've found turning java off helps a little sometimes.