issues with preg_replace() and missing 'mysql' adapter

General questions relating to Joomla! 1.5 There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Post Reply
grimoirelll
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Dec 08, 2017 8:33 pm

issues with preg_replace() and missing 'mysql' adapter

Post by grimoirelll » Tue Mar 05, 2019 2:56 am

I'm getting errors having installed Zencart 1.56 as a sub domain to Joomla 1.5.6.
The main domain went down and the following errors are posting.

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home1/isexcorp/public_html/insightnews/libraries/joomla/filter/input.php on line 652

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home1/isexcorp/public_html/insightnews/libraries/joomla/filter/input.php on line 654
Database connection error (1): The MySQL adapter 'mysql' is not available.Database connection error (1): The MySQL adapter 'mysql' is not available.


Question:
Is it possible to get The MySQL adapter 'mysql' is not available.Database connection error (1): The MySQL adapter 'mysql' is not available.

The adapter?

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 11118
Joined: Thu Feb 15, 2007 5:48 am
Location: Oxford, UK

Re: issues with preg_replace() and missing 'mysql' adapter

Post by toivo » Tue Mar 05, 2019 9:34 am

The site seems to be using PHP 7 because the warning about the /e modifier started from PHP 7.0. Suppressing warnings will not help because PHP 7 supports only the 'mysqli' adapter instead of 'mysql'.

Unless you can revert back to an earlier version of PHP, which is not recommended, you need to start planning a migration to a supported version of Joomla. The latest version is now 3.9.3 and the Migrating and Upgrading forum has the necessary guides at viewforum.php?f=710
Toivo Talikka, Global Moderator
troubleshooting smtp and other articles http://talikka.com/joomla


Post Reply

Return to “General Questions/New to Joomla! 1.5”