Page 1 of 12

OpenCart 1.5.1 Released

Posted: Sun Jul 17, 2011 1:13 am
by Daniel
Here it is guys!

Not a lot of new features but there are some changes that require a higher version number.

OPENCART 1.5.1

you can download it here:
http://opencart.googlecode.com/files/op ... v1.5.1.zip

If there are any bugs you can post them in this thread:
http://forum.opencart.com/viewtopic.php?f=161&t=36217

You can't upgrade from 1.5.0 to 1.5.1! Do not use upgrade.php- it breaks the OC installation!

An upgrade script will be released soon.

NEW:
Added New reports
Updated how the modules works. Made it easy to code new modules.
Updated product caching to improve performance for stores with a large number of products.
Select returns from order info page
Weight conversions are now done from weight_class_id and not unit.

FIXED:
Weight class problem with multiple languages.
quote in banner names and modules not working.
fix for Can't search UTF-8 words inside product description
fix for backup backing up all tables
removed manufacturers module and replaced it with one called carousel. this
should stop problems with site with large numbers of manufacturers.
tabs fix for people who can not wait for there admin pages to load.
invoice email not being sent when coupon is applied
removed redundant data from the zone to geo zone table
paypal fix for totals with a minus value.
removes the download link when a download has no more remaining downloads.
fixed voucher store url missing when vouchers are created in the admin.
Poor Data Type Choice in Database fix
Invoice data incorrect fix
compare price fix.
layout not working correctly on information pages.
minor shipping calculator fix
Messages: sometimes warning, sometimes error
I don't have time to do any more work on this tonight so have a play around with it and let me know what you think!

Enjoy!

Re: OpenCart 1.5.1 Released

Posted: Sun Jul 17, 2011 1:58 am
by i2Paq
Nice work!

Downloading as-we-speak.

Dutch Language Pack will be released shortly!

Is the SVN 482 the same version?

Dutch Language!

Re: OpenCart 1.5.1 Released

Posted: Sun Jul 17, 2011 2:52 am
by Simplicity
Upgrade from v1.5.0.5 to 1.5.1 just broke my shop on localhost. WinXP + Strawberry Perl + WampServer v2.1.
Will try again to see if the result is the same and post here again.

It happened again. Upgrade from clean install. Error messages I've received during upgrade:

OpenCart 1.x Upgrade Script (BETA)

The following errors occured:
Could not execute this query: DELETE FROM extension WHERE `type` = 'module' AND `key` = 'currency';
Could not execute this query: ALTER TABLE coupon_description DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
Could not execute this query: ALTER TABLE product_option_description DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
Could not execute this query: ALTER TABLE product_option_value_description DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
Could not execute this query: DELETE FROM `extension` WHERE `type` = 'module' AND `key` = 'latest';
Could not execute this query: INSERT INTO `extension` (`extension_id`, `type`, `key`) VALUES (NULL, 'module', 'latest') ON DUPLICATE KEY UPDATE extension_id=extension_id;

There's a list of php (?) errors in attached file.

Re: OpenCart 1.5.1 Released

Posted: Sun Jul 17, 2011 2:59 am
by Daniel
there is no upgrade script.

Re: OpenCart 1.5.1 Released

Posted: Sun Jul 17, 2011 3:09 am
by Simplicity
So why there's a nice upgrade.txt file with instructions how to do an upgrade from OpenCart version as old as v1.3.2? ::)
OPENCART UPGRADE
(turn wordwrap on to read this easier)
=============================

This version of opencart comes with a universal upgrade script that allows you to update your store from as far back as v1.3.2 to the latest version of OpenCart without having to install each version in between. The script is still in beta so there may be some quirks.

Errors received are mostly informational. There is a good chance that the error occurred because the table no longer exists or the change had already been made. In these cases, there is nothing to worry about.

Please be sure to post any errors shown on the forums so that we may address these errors in the future.


If using a version older than OpenCart v1.3.2, you will need to first upgrade all the in between versions until you reach 1.3.2. Then you can run this script.

Re: OpenCart 1.5.1 Released

Posted: Sun Jul 17, 2011 3:12 am
by kingx
Great work thanks,

I have a question will all the thems and mods form 1.5.0.5 work with 1.5.1??

Re: OpenCart 1.5.1 Released

Posted: Sun Jul 17, 2011 3:26 am
by Simplicity
I think you should also remove upgrade.php and upgrade.sql from 'install' directory. Just in case ;D

Re: OpenCart 1.5.1 Released

Posted: Sun Jul 17, 2011 3:39 am
by opencartisalright
Well, it was either this or OS X Lion...As long as I got one of them this week i'm happy. :)

Thanks! Uploaded it already and testing it out now. Just from first glance the reports section looks nice. I'll have to test them out to see if they work properly over the next few days.

Re: OpenCart 1.5.1 Released

Posted: Sun Jul 17, 2011 3:50 am
by Xsecrets
kingx wrote:Great work thanks,

I have a question will all the thems and mods form 1.5.0.5 work with 1.5.1??
no the mod system has changed for 1.5.1

Re: OpenCart 1.5.1 Released

Posted: Sun Jul 17, 2011 4:17 am
by i2Paq
It still says 1.5.0 in the admin-footer!

Re: OpenCart 1.5.1 Released

Posted: Sun Jul 17, 2011 5:10 am
by kingx
well as long as the 1.5 themes work with 1.5.1

Re: OpenCart 1.5.1 Released

Posted: Sun Jul 17, 2011 6:04 am
by Gui Siani
i'm developing a theme for 1.5.0.5... it will work in this new version?

Thanks for more one new version, Daniel! Nice work

Re: OpenCart 1.5.1 Released

Posted: Sun Jul 17, 2011 6:12 am
by Xsecrets
kingx wrote:well as long as the 1.5 themes work with 1.5.1
let me guess you're a theme developer?

Re: OpenCart 1.5.1 Released

Posted: Sun Jul 17, 2011 7:01 am
by kingx
No, ive waited 6 weeks for a good theme for 1.5, I don't want to wait another 6 weeks.

Re: OpenCart 1.5.1 Released

Posted: Sun Jul 17, 2011 9:35 am
by amdev
Thanks for hardwork, Daniel.

Cheer!!!

Re: OpenCart 1.5.1 Released

Posted: Sun Jul 17, 2011 4:07 pm
by gosulove
Hi Daniel... It doesn't work for me at all.... I try to upgrade from a fresh 1.505 to 1.51 in localhost.. What i did was to delete config.php and admin/config.php in 1.51 and then copy all the files from 1.51 to replace 1.505 and i got the following errors:

OpenCart 1.x Upgrade Script (BETA)

The following errors occured:
Could not execute this query: DELETE FROM extension WHERE `type` = 'module' AND `key` = 'currency';
Could not execute this query: ALTER TABLE coupon_description DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
Could not execute this query: ALTER TABLE product_option_description DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
Could not execute this query: ALTER TABLE product_option_value_description DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
Could not execute this query: DELETE FROM `extension` WHERE `type` = 'module' AND `key` = 'latest';
Could not execute this query: INSERT INTO `extension` (`extension_id`, `type`, `key`) VALUES (NULL, 'module', 'latest') ON DUPLICATE KEY UPDATE extension_id=extension_id;

and in the index.php, i got many lines of this error

Notice: Undefined index: serialized in C:\xampp\htdocs\oc2\index.php on line 58


May i know what's happening? Thank you.

Re: OpenCart 1.5.1 Released

Posted: Sun Jul 17, 2011 4:47 pm
by bo4man
Nice work

How can i update from 1.5.0.5 to 1.5.1 ?

Thnx in advance !

Re: OpenCart 1.5.1 Released

Posted: Sun Jul 17, 2011 6:34 pm
by Simplicity
You can't upgrade from 1.5.0 to 1.5.1. Read my post above and Daniels answer ;)

I've mentioned that not only upgrade.txt should be deleted from package. upgrade.php should be removed from install folder also, but nobody listens...

If there's a upgrade.php in the package, why shouldn't people use it? It sits there with purpose, right? ;D

You can't upgrade from 1.5.0 to 1.5.1! Do not use upgrade.php- it breaks the OC installation!

Re: OpenCart 1.5.1 Released

Posted: Sun Jul 17, 2011 7:09 pm
by dbstr
Updated how the modules works. Made it easy to code new modules.
Can anyone explain the change? I can't download it right now.

Edit: Nevermind, saw the diff at googlecode. Looks nice.

Re: OpenCart 1.5.1 Released

Posted: Sun Jul 17, 2011 7:16 pm
by bo4man
Simplicity wrote:You can't upgrade from 1.5.0 to 1.5.1. Read my post above and Daniels answer ;)

I've mentioned that not only upgrade.txt should be deleted from package. upgrade.php should be removed from install folder also, but nobody listens...

If there's a upgrade.php in the package, why shouldn't people use it? It sits there with purpose, right? ;D

You can't upgrade from 1.5.0 to 1.5.1! Do not use upgrade.php- it breaks the OC installation!
Ok, but where is the upgrade.php in the package i can't find it..... also any bugs or problems to upgrade from 1.5.0.5 to 1.5.1 ?