CS-Cart v2.2.3 released

We are glad to announce that v2.2.3 is out. It's mostly a bug fix release. We added the “Google Export” add-on module to meet the changes made to Google Product Search feed specification and policies. Also according to your requests sorting by “Product code” was returned back to the products list page.



Please note that the upgrade to this new version may be not available in your CS-Cart administration panel within the first 48 hours after the release.



[color=“#8B0000”]UPDATE[/color]:

A minor bug with uploading images to a product was found in this release. Please refer to [size=3]this post[/size] for details.





Here is the release changelog:


[quote]

[+] The “Google Export” add-on was added to meet the changes made to Google Product Search feed specification and policies.

[+] The “Sort by” field was added to the products search form in the admin panel.

[+] The Norwegian language pack was added.

[+] The “Edit blocks” permission was added.

[+] Checking fields for empty values was added to the admin login form.

[+] Filtering by MIME type of files uploaded to the server was added.



[] The “Search words” field was moved from “SEO / Meta data” to the “Extra” section on the edit product page.

[
] Multi-Vendor Edition: The “check_vendor_permissions” hook was renamed to “check_company_permissions”.



[!] The links to open/close storefront were displayed for an additional administrator if his/her user group had the “Open/Close store” privilege disabled. Fixed.

[!] Security rules did not work in “.htacess” files on the Apache web server version 1.3.42 and older. Fixed.

[!] Additional product images were not always displayed in the order in which they were uploaded. Fixed.

[!] Affiliate add-on: Product banners could not be added. Fixed.

[!] Long breadcrumbs were displayed incorrectly in the admin panel. Fixed.

[!] Blocks: HTTP URLs were not changed to HTTPS ones in content of a block after switching to a secure connection. Fixed.

[!] Catalog Mode add-on: The “Quantity” field was displayed on the product details and wish list pages. Fixed.

[!] Multi-Vendor Edition: A new value of the “Vendor” field was not saved on the edit administrator profile page. Fixed.

[!] Checkout: If no shipping methods were available, the appropriate notification was displayed twice at step 3 of checkout. Fixed.

[!] Data feeds add-on: If data was exported on the “Data Feeds” page, the PHP error occurred. Fixed.

[!] FancyBox image previewer: Shadows of the browser window were not displayed in Internet Explorer 7 and 8 browsers. Fixed.

[!] If a product image could not be uploaded from the Internet, the PHP error occurred. Fixed.

[!] Format of an email entered into the “Back in stock” text input field was not checked. Fixed.

[!] If the “AJAX(Javascript)-based pagination” setting was disabled, a product picker did not work correctly. Fixed.

[!] If product subtotal was zero in the cart, taxes were not applied to product shipping cost. Fixed.

[!] If it was selected to display 100 items on the “Products” page in the admin panel, a JavaScript error was displayed in Internet Explorer 7 and 8 browsers.

[!] Multi-Vendor Edition: If the translation mode was enabled, the page layout was broken. Fixed.

[!] Multi-Vendor Edition: The translation mode was available for vendors. Fixed.

[!] Notifications: The “low in stock” notification was sent with incorrect information about product options. Fixed.

[!] Edit order: If an order had products from different suppliers and shipped by different methods, it was impossible to remove only one shipping method from the calculation at step 3. Fixed.

[!] Pages: A value of the “Page URL” field could not be saved separately for each available language. Fixed.

[!] Priority of taxes was not regarded if the “Tax calculation method based on” setting was set to “Subtotal”. Fixed.

[!] Product options: When rebuilding option combinations, product codes of combinations created earlier were removed. Fixed.

[!] Products: A value of the “User Group” select box was set to “All” in the “Quantity Discounts” tab of the edit product page after the appropriate user group had been disabled. Fixed.

[!] The Quick menu could not be closed by clicking on its bar. Fixed.

[!] SEO add-on: A new extra field for a product feature was not cleared after saving. Fixed.

[!] Template editor: When trying to rename a file using a forbidden extension (php, cgi, etc…), the text of the error notification missed it. Fixed.

[!] Template editor: When restoring any file from the repository, the error notification was always displayed. Fixed.

[!] Values of text, text area and file options were not displayed in order details emails sent to the administrator. Fixed.

[!] The print card feature did not work if the gift certificate template was empty. Fixed.

[!] Top menu: A wrong color of links was used in the Aquarelle red skin. Fixed.

[!] Upgrade center: The “mysqldump” command did not work if a database password contained special characters. Fixed.

[!] A category picker was not opened on the bulk product addition page, if products were created by cloning. Fixed.

[!] {#2621} Multi-Vendor Edition: Shipping options disappeared on the edit order page after returning to the first step. Fixed.

[!] {#2646} SEO add-on: Content of the storefront home page could be duplicated in search engines if the “Show language in the URL” setting was enabled. Fixed.

[!] {#2660} If a category had a very long name, it broke the layout of the “Products” page. Fixed.

[!] {#2665} A supplier picker did not work when the Russian language was enabled in the admin panel. Fixed.

[!] {#2667} Products: A catalog discount and an option modifier were not applied to a price entered by a user. Fixed.

[!] {#2668} SQLite cache: If the “var/cache” subdirectory did not exist, the PHP error was displayed in the storefront and admin panel. Fixed.

[!] {#2680} An error message saying about invalid email addresses was displayed after updating quantity of a product with the “Back in stock” notification enabled if more than one email was set in the “Order department email” setting. Fixed.

[!] {#2682} Customer information was not displayed in an invoice. Fixed.

[!] {#2687} Invoice: Check box options were displayed incorrectly. Fixed.

[!] {#2693} A description of a product option was displayed incorrectly after receiving AJAX requests. Fixed.

[!] {#2699} Pages: In the dynamic pages tree, active and parent elements had no CSS classes defined. Fixed.

[/quote]

Just wanted to contribute that the upgrade from 2.2.2 to 2.2.3 went very smoothly.

However images can no longer be uploaded to products for us.Don't update yet! I rolled back and the problem was solved.

Unfortunately, we failed to reproduce this problem on the default CS-Cart installation. Please provide us with more detailed step-by-step instruction about how to reproduce the problem. Also please provide us with the screenshot of the problem.

heloo

I update new version but

I make upload catagori image

Fatal error: Call to undefined function mime_content_type() in /var/www/vhosts/globalburo.com/httpdocs/core/fn.fs.php on line 739

what is problem???

[quote name='globalburo' timestamp='1317217838' post='122478']

heloo

I update new version but

I make upload catagori image

Fatal error: Call to undefined function mime_content_type() in /var/www/vhosts/globalburo.com/httpdocs/core/fn.fs.php on line 739

what is problem???

[/quote]



What PHP version is installed on your server? You may look it at http://www.your_site.com/admin.php?dispatch=tools.phpinfo



Please also check, that “fileinfo” extension is intalled in your PHP configuration.

On the “phpinfo” page should be written “fileinfo support: enabled”.

If not, please install it and check the work of image uploading.

http://pecl.php.net/package/Fileinfo

PHP: File System Related Extensions - Manual



You also may contact our support department in order to investigate and fix this problem.

[quote name='2tl' timestamp='1317218091' post='122480']

What PHP version is installed on your server? You may look it at http://www.your_site.com/admin.php?dispatch=tools.phpinfo



Please also check, that “fileinfo” extension is intalled in your PHP configuration.

On the “phpinfo” page should be written “fileinfo support: enabled”.

If not, please install it and check the work of image uploading.

http://pecl.php.net/package/Fileinfo

PHP: File System Related Extensions - Manual



You also may contact our support department in order to investigate and fix this problem.

[/quote]

my PHP Version 5.2.17

How I make do it?

This version low at my problem?

[quote name='globalburo' timestamp='1317217838' post='122478']

heloo

I update new version but

I make upload catagori image

Fatal error: Call to undefined function mime_content_type() in /var/www/vhosts/globalburo.com/httpdocs/core/fn.fs.php on line 739

what is problem???

[/quote]



try this solution dude.



http://forum.cs-cart.com/tracker/issue-2731-image-upload-to-products-is-broken/

Hello,



I would like to inform you that we have fixed the bug with uploading images to a product in CS-Cart 2.2.3. It occured on the servers with PHP configured without support for the “mime_content_type” function.



Unfortunately, we had to update the distribution package of CS-Cart 2.2.3. If you have already downloaded it, please download it again and re-install the software.



If you have already upgraded your CS-Cart to 2.2.3, please cancel the update, then click on the “Refresh packages list” link on the Upgrade center page and start the upgrade again.



The further bug details and a manual fix for it can be found in the [size=3]bug tracker[/size].



Please contact our [size=3]support team[/size] if you need our assistance with this issue.



We apologize for possible inconvenience.



Thank you.

Was able to upgrade 1 site with community edition and every thing seems fine so far. Uploading images worked fine too.

Mime error is given also if uploading tgz to restore of DB, ok if just SQL



TO DEVELOPERS




Would you PLEASE add picture of product in product list of admin order details page?

I am also getting the MIME error messages. Is there a way you could post a serverside/apache guide how to add and what MIME type to our Apache config?

[quote name='Darius' timestamp='1317293415' post='122570']

Mime error is given also if uploading tgz to restore of DB, ok if just SQL



[/quote]

Thank you for your message. This problem is related to image upload issue. Please refer to this post for details.

[quote name='Darius' timestamp='1317293415' post='122570']

TO DEVELOPERS



Would you PLEASE add picture of product in product list of admin order details page?

[/quote]

Thank you for sharing your suggestion with us. You can post your idea on the UserVoice.



This service helps us to give an impartial estimation of the necessity to create a certain feature. Any CS-Cart user who is registered on CS-Cart Forums can vote for a feature and offer their own one. The most popular features have good chances to be developed and added to the nearest CS-Cart releases.



Thank you.

Heloo again

I make download it again and re-install the software.

Now image upload but when upload I read this mesaj

pls help



Warning: finfo_open(): Failed to load magic database at '/usr/share/misc/magic'. in /var/www/vhosts/globalburo.com/httpdocs/core/fn.fs.php on line 245 Warning: finfo_close(): supplied argument is not a valid file_info resource in /var/www/vhosts/globalburo.com/httpdocs/core/fn.fs.php on line 248

[quote name='globalburo' timestamp='1317303434' post='122592']

Heloo again

I make download it again and re-install the software.

Now image upload but when upload I read this mesaj

pls help



Warning: finfo_open(): Failed to load magic database at '/usr/share/misc/magic'. in /var/www/vhosts/globalburo.com/httpdocs/core/fn.fs.php on line 245 Warning: finfo_close(): supplied argument is not a valid file_info resource in /var/www/vhosts/globalburo.com/httpdocs/core/fn.fs.php on line 248

[/quote]



Are permissions set correctly?



As explained here

CS-Cart Documentation — CS-Cart 4.15.x documentation



By default config.local.php comes with mysqli set for DB. When I restored DB (previously I had mysql) I got many errors (not completely sure if this is the reason, one hosting gave errors other not).

The upgrade went very smooth on both of my sites, I am happy. :lol:

[quote name=‘globalburo’ timestamp=‘1317303434’ post=‘122592’]

Heloo again

I make download it again and re-install the software.

Now image upload but when upload I read this mesaj

pls help



Warning: finfo_open(): Failed to load magic database at ‘/usr/share/misc/magic’. in /var/www/vhosts/globalburo.com/httpdocs/core/fn.fs.php on line 245 Warning: finfo_close(): supplied argument is not a valid file_info resource in /var/www/vhosts/globalburo.com/httpdocs/core/fn.fs.php on line 248

[/quote]



The “magic database” is not installed on your server correctly. You may contact your server administrator with this problem. Also we’ve hidden this warnings: http://forum.cs-cart.com/tracker/issue-2734-php-warning-failed-to-load-magic-database/




[quote name=‘albertpro’ timestamp=‘1317396884’ post=‘122678’]

The upgrade went very smooth on both of my sites, I am happy. :lol:

[/quote]



Thank you for the kind words )

Upgraded 2 sites in 2 minutes! Gotta love my hook setup :)

Damn I need to start using hooks too. I'm still confused by them.

Unfortunately we just updated our main site and found out that it broke our Paypal Express. The customer's details are not being sent back to the cart after visiting Paypal. I had to revert back again and 2.2.2 is working as intended again now!



Regards