Hi there,
I recently updated my Mac to OS Mavericks. This required an update to Xampp (my localhost server program) which stopped virtuemart working properly on a site I am developing locally.
The message coming up is:
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /Applications/XAMPP/xamppfiles/htdocs/pitmaster5/libraries/joomla/filter/input.php on line 652
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /Applications/XAMPP/xamppfiles/htdocs/pitmaster5/libraries/joomla/filter/input.php on line 654
The Xampp server details are:
Database server
Server: Localhost via UNIX socket
Server type: MySQL
Server version: 5.6.12 - Source distribution
Protocol version: 10
User: root@localhost
Server charset: UTF-8 Unicode (utf8)
Web server
Apache/2.4.4 (Unix) PHP/5.5.3 OpenSSL/1.0.1e mod_perl/2.0.8-dev Perl/v5.16.3
Database client version: libmysql - mysqlnd 5.0.11-dev - 20120503 - $Id: 40933630edef551dfaca71298a83fad8d03d62d4 $
PHP extension: mysqli
What can I do to get VM working properly again?
Thanks
/Steve
Edit your Xampp php.ini to limit error reporting - or turn it off in Joomla. http://forum.virtuemart.net/index.php?topic=102555.0
Many thanks for getting back to me so quickly... I've completed your suggestions...
I've pretty much butchered the php.ini to take out all error reporting (systematically, when just setting error_Reporting= Off didn't work).
I've also turned off error reporting in the Joomla server config.
Neither of these things have seemed to work... the" Deprecated: preg_replace():" messaging still appears.
Any other ideas?
error_reporting(E_ERROR);
in the top of libraries/joomla/filter/input.php after the security check line?
is your joomla old?
Using a 2.5 version of Joomla and the 'shop & buy' template from Gavick.com
Can't tell exactly which version it is as I've just killed it trying to manually update Virtuemart to 2.0.24c (as the extension manager dosen't sem to play ball when using Xampp and localhost ).
Will have to relaunch from back up and test your suggestion.
Thanks,
/S