1
Rocenos
Internal Error
  • 2006/5/25 0:18

  • Rocenos

  • Just popping in

  • Posts: 30

  • Since: 2005/4/28


Does anyone know why I am getting this error when I first load my site?

f you are the administrator of this site, please visit the XOOPS Troubleshooting Page for assistance.


Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in d:\websites\mywebsite\class\database\mysqldatabase.php on line 239

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in d:\websites\mywebsite\class\database\mysqldatabase.php on line 239

The link to the Wiki Page does not work anymore. It was located here: http://wiki.xoops.org/wakka.php?wakka=TroubleshootingBlankPage

2
m0nty
Re: Internal Error
  • 2006/5/25 2:58

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


i'm no expert but i'd say you haven't configured mainfile.php correctly.

check that your db host address is correct and the db name.

but with the very little info you provide we don't have anything to go on.

you must tell us your setup.

xoops version, was it previously working, is it a new install, what modules you have running etc etc..

3
Rocenos
Re: Internal Error
  • 2006/6/2 15:48

  • Rocenos

  • Just popping in

  • Posts: 30

  • Since: 2005/4/28


I haven't been able to fix this. Now the main website loaded shows no error message, just a blank page. The IP address to the mySQL database was incorrect. I changed it, and there is still a problem.

Does anyone know where the new location fo that wiki troubleshooting page may be located at now?

4
jensclas
Re: Internal Error

Can't answer your last question but if you check the read before you post linked below and give Monty all the details of your setup he may be able to point you in the right direction. Cheers

5
Rocenos
Re: Internal Error
  • 2006/6/3 11:15

  • Rocenos

  • Just popping in

  • Posts: 30

  • Since: 2005/4/28


I'm using XOOPS 2.2.3. I have one mySQL database. Every page I am going to is blank. It was fine for a long time. I never made any changes that would screw it up. The only change that was made was mySQL host IP address, which I changed. Does that help at all?

6
Rocenos
Re: Internal Error
  • 2006/6/4 16:18

  • Rocenos

  • Just popping in

  • Posts: 30

  • Since: 2005/4/28


Is there anyone that can help? I've tried everything I can think of.

7
jensclas
Re: Internal Error

once again we need all your details - what version of mysql? php admin? apache? OS? please copy and paste the list from the read b4u post with your answers.

Quote:
The only change that was made was mySQL host IP address, which I changed.


Why did you do this and exactly what did you do?

8
Rocenos
Re: Internal Error
  • 2006/6/5 2:44

  • Rocenos

  • Just popping in

  • Posts: 30

  • Since: 2005/4/28


My hosting service changed its mySQL database host for some reason. I was unaware of it. I'll try and get the answers to the other questions.

Login

Who's Online

268 user(s) are online (237 user(s) are browsing Support Forums)


Members: 0


Guests: 268


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits