Karl`s PC Help Forums Last active: Never
Not logged in [Login ]
Go To Bottom

In memory of Karl Davis, founder of this board, who made his final journey 12th June 2007

Printable Version | Subscribe | Add to Favourites   Post new thread Poll:
Author: Subject: Fatal errors, references to sql and mysql
scholar
Knowledge of Ages
*******


Avatar


Posts: 32205
Registered: 14-10-2004
Location: Illinois
Theme: KF Blue (Default)
Member Is Offline

Mood: pensive

[*] Post 509596 posted on 8-10-2017 at 20:14 Reply With Quote
Fatal errors, references to sql and mysql



Last night, a few web sites would not load for display into my Firefox browser.

I tried again today. One of the sites now loads, the other does not.

I got messages about sql and the number of a line that failed in some way. One that still fails says this:
Quote:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /homepages/46/d466866227/htdocs/lcmssermons/sqlconnect.php:68 Stack trace: #0 /homepages/46/d466866227/htdocs/lcmssermons/index.php(4): require() #1 {main} thrown in /homepages/46/d466866227/htdocs/lcmssermons/sqlconnect.php on line 68



If the problems are on the web site's end, I can just wait for them to fix it.

I am wondering if there is a problem on my end, because (1) it started happening after I turned the computer off, and Windows loaded in updates that inserted before these things started happening (2) it happened to two different web sites last night, which had not given me trouble before. It seems improbable that two would develop similar troubles at the same time.

Would someone care to teach me about this?
View User's Profile View All Posts By User
sceptre
Custom User Title
*******




Posts: 454
Registered: 8-2-2007
Location: Alba
Theme: KF Blue (Default)
Member Is Offline

Mood: Sometimes

[*] Post 509598 posted on 8-10-2017 at 20:41 Reply With Quote


The site @ lcmssermons.com is down
View User's Profile View All Posts By User
Katzy
Anything you like
*******


Avatar


Posts: 7630
Registered: 23-7-2002
Theme: Coffee
Member Is Offline

Mood: Fintlewoodlewix.

[*] Post 509600 posted on 8-10-2017 at 21:08 Reply With Quote


I hope they have a backup of their database...

IIRC, mysql_* functions are dangerous and were deprecated as of PHP 4.1. So, if their host has finally upgraded to the latest version of php (5.6.31, I believe), they're gonna need to rewrite some of their code...

Don't expect that to happen too soon, because the version they're using is way out of date (pre-2009, if memory serves)..
View User's Profile View All Posts By User
Post new thread Poll:

Guest Notice
You are a guest, as a guest you can only see a maximum of 3 posts per thread.

If you want to see the rest, please click here to register.