Post by ozstar » Mon Nov 03, 2014 1:00 pm

Hi,

With 1.5.6.4 we are getting many errors in the root error_log.

The errors get the file size from 0 to 115MB in a few hours.

Code: Select all

[03-Nov-2014 14:11:05 Australia/Melbourne] PHP Deprecated:  preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/sydneyto/public_html/vqmod/vqmod.php on line 247
[03-Nov-2014 14:11:05 Australia/Melbourne] PHP Deprecated:  preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/sydneyto/public_html/vqmod/vqmod.php on line 247
[03-Nov-2014 14:11:05 Australia/Melbourne] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/sydneyto/public_html/system/database/mysql.php on line 6
Our host has just updated to PHP 5.6 with mysqli or PDO.

This is what they say..
This looks to be an issue with vqmod not agreeing with a new version of PHP. You'll need to update that plugin for the errors to stop being thrown. The alternative is to continue rolling back php versions in cPanel -> select php version and perhaps finding ones that don't throw this strange error.
Any advice please.

Thanks

pz
Last edited by ozstar on Mon Nov 03, 2014 1:39 pm, edited 1 time in total.

Active Member

Posts

Joined
Fri Mar 09, 2012 7:47 am
Location - Sydney OZ

Post by rph » Mon Nov 03, 2014 1:09 pm

1) Update vQmod to the latest.
2) Edit /config.php and /admin/config.php and change:

Code: Select all

define('DB_DRIVER', 'mysql');
to:

Code: Select all

define('DB_DRIVER', 'mysqli');

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by ozstar » Mon Nov 03, 2014 1:39 pm

Many thanks

Active Member

Posts

Joined
Fri Mar 09, 2012 7:47 am
Location - Sydney OZ

Post by ozstar » Mon Mar 02, 2015 7:05 pm

Hi,

I did the above however when I make the change to

Code: Select all

define('DB_DRIVER', '[b]mysqli[/b]');
The site just gives a blank page. Even /admin/ is blank

When I change it back to 'mysql' The site shows again but still with that previous error.

I notice that the mod Order Delivery Date Lite is NOT enabled i Modules when I get that eror meassage.

When I do enable it, I get this which has more entries.

Code: Select all

Notice: Undefined index: order_delivery_date in /home/cassiesc/public_html/vqmod/vqcache/vq2-catalog_controller_checkout_confirm.php on line 285Notice: Undefined index: order_delivery_date in /home/cassiesc/public_html/vqmod/vqcache/vq2-catalog_controller_checkout_confirm.php on line 287Notice: Undefined index: order_delivery_date in /home/cassiesc/public_html/vqmod/vqcache/vq2-catalog_controller_checkout_confirm.php on line 287Notice: Undefined index: delivery_day in /home/cassiesc/public_html/vqmod/vqcache/vq2-catalog_controller_checkout_confirm.php on line 344Notice: Undefined index: delivery_month in /home/cassiesc/public_html/vqmod/vqcache/vq2-catalog_controller_checkout_confirm.php on line 345Notice: Undefined index: delivery_year in /home/cassiesc/public_html/vqmod/vqcache/vq2-catalog_controller_checkout_confirm.php on line 346
Knowing it's not you, I am obviously not doing something..

oz

Active Member

Posts

Joined
Fri Mar 09, 2012 7:47 am
Location - Sydney OZ

Post by ozstar » Mon Mar 02, 2015 7:41 pm

Solved

Active Member

Posts

Joined
Fri Mar 09, 2012 7:47 am
Location - Sydney OZ
Who is online

Users browsing this forum: No registered users and 71 guests