Mac (OS Mavericks) update requires Xampp (localhost) update & breaks Virtuemart

Started by stephenclark2000, December 09, 2013, 14:27:16 PM

Previous topic - Next topic

stephenclark2000

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

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

stephenclark2000

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?

GJC Web Design

error_reporting(E_ERROR);

in the top of  libraries/joomla/filter/input.php  after the security check line?

is your joomla old?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

stephenclark2000

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