Warning: session_start(): open(/var/lib/php5/sessions/sess_4otq0b4b3k985to0lf58biv9s4, O_RDWR) failed: Permission denied (13) in /var/extra/public_html/includes/common.php on line 21 Patch for subcomponent price miscalculation on basket
Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
Vera
Vera
Brief
We have updated the 'block_basket.php' script.
 
Description
The subcomponent's price was doubling on basket.php page.
 
Solution
Download the updated version of the file:
http://www.viart.com/downloads/block_basket-4.zip
 
Further, extract the 'block_basket.php' into the 'blocks' folder of your shop replacing an existing file. Please do not forget to make a backup copy of the current file in case something goes wrong.
 
Alexey (Guest)
Alexey (Guest)
What files are correct?
 
image_functions.php - from <Patch for image names generation (v.4.0)> or from this patch?
Differences:
first patch - $ filename = preg_replace ("/[^ a-z0-9_ \ - \.] + / i "," _ ", $ filename);
This patch - $ filename = str_replace ("", "_", $ filename);
 
order_items.php - from <Patch for'New Invoice Number Mask' algorithm> or from this patch?
 
Vera
Vera
The latest patch is the one from this thread (updated 2010-12-20):
http://www.viart.com/patch_for_a_possibility_to_send_deleted_currencies_to_payment_gateways.html
 
It contains the latest version of image_functions.php as well as a number of other changes like a restriction against usage of deleted currencies and an enforcement to remain on the same page after saving changes for products, articles and CMS settings.
 

Warning: Unknown: open(/var/lib/php5/sessions/sess_4otq0b4b3k985to0lf58biv9s4, O_RDWR) failed: Permission denied (13) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php5/sessions) in Unknown on line 0