PDA

View Full Version : Content not displaying


info381123
06-08-2009, 10:21 AM
I`m getting no content display, error messages include:

Notice: Undefined variable: database_localhost in /****************** on line 41

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /*************l/WA_CMS.php on line 3

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /*************l/WA_CMS.php on line 5

* instead of the URL

Hoping someone can help as I`m a bit fed up waiting for support tickets to answered properly.

Thanks,

Ray Borduin
06-08-2009, 10:44 AM
It sounds like your database connection is not referenced properly. Look at the file in connections/localhost.php and make sure your database is referenced properly.

info381123
06-08-2009, 11:08 AM
Thank you. I corrected that file and now it displays OK.

Still get a couple of error messages if I leave reporting on but it does now work, should I worry about it?

Ray Borduin
06-08-2009, 11:48 AM
What are the error messages? I would probably correct them.

info381123
06-08-2009, 12:40 PM
I found some spurious code at the bottom of the page, cleaned it up all errors now gone.
Thanks again.