Page 1 of 5

"Official" 2.2.0.0 BUG topic

Posted: Wed Mar 02, 2016 11:14 pm
by i2Paq
BUGs should be posted at the OpenCart GitHub Issue tracker.

Download OpenCart 2.2.0.0

This topic is for clean installs (NO UPGRADE) where issue's occur and you can post your problem here and hopefully your will get an answer.

Re: "Official" 2.2.0.0 BUG topic

Posted: Thu Mar 03, 2016 12:04 am
by IP_CAM
I just wonder, how long it's still gonna take, until one of the Masters, around here, find's out,
so the OLD v.1.5 to v.1.5 Upgrade Info Read_Me File will be removed from the Package. :crazy:
The very best, this file does, is, adding to a huge amount of problems.
Ernie

Re: "Official" 2.2.0.0 BUG topic

Posted: Thu Mar 03, 2016 10:08 pm
by sculptex
* REMOVED *

* TIP * Check github BEFORE posting here!

Re: "Official" 2.2.0.0 BUG topic

Posted: Thu Mar 03, 2016 11:38 pm
by labeshops
Had no problem installing 2.2 fresh into a test installation, however captcha is not showing on contact form, reviews or anywhere it is enabled for.

In settings, the Captcha drop down has no options, just says --None-- which I suspect is the issue but I don't know how to get something to show there that I can select??

EDIT: Not a bug. Just a problem not understanding how this changed in v2. Have it set up now properly and it works fine so please ignore.

Re: "Official" 2.2.0.0 BUG topic

Posted: Fri Mar 04, 2016 8:15 am
by allenshea
I'm not familiar with OpenCart GitHub Issue tracker, I think most of users too. So once the bug fixed, can you guys release a VQMod or OCMod here at the 1st post, so we can download and upload to our site?

Re: "Official" 2.2.0.0 BUG topic

Posted: Fri Mar 04, 2016 5:38 pm
by sculptex
First, get vqmod patched to handle the templates in 2.2
(credit: siriusdev - https://github.com/vqmod/vqmod/issues/71)

*REMOVED - get latest vqmod from offical site instead* (https://github.com/vqmod/vqmod/releases)

Then apply patches via vqmod:-
Fix customers (credit: nikto1 - https://github.com/opencart/opencart/issues/4030)
UPDATED VQMOD CODE IN MY MOST RECENT POST IN THIS THREAD- SCROLL DOWN

Re: "Official" 2.2.0.0 BUG topic

Posted: Fri Mar 04, 2016 7:01 pm
by allenshea
Thanks for the posting.

Can you upload the file as below in the 1st post, and update it once new bug fixed?

This will be easy for newbe or the one who don't know much about OpenCart GitHub Issue tracker.
OC2.2.0.0 Bug Fix.xml

Re: "Official" 2.2.0.0 BUG topic

Posted: Sat Mar 05, 2016 1:44 am
by sculptex
the vqmod patch is best kept separate because there will probably be an official release soon which will then override this one.
The vqmod patch is nothing to do with oc 2.2.0.0 bugs as such, I just posted it there for convenience.

Re: "Official" 2.2.0.0 BUG topic

Posted: Sat Mar 05, 2016 10:18 am
by EvolveWebHosting
Clean Install.

Click on 'Pending Approval' from the upper right drop down menu and you'll get this error:


Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND), expecting ')' in /home/___/public_html/admin/controller/customer/customer.php on line 1105

You can also get the same error buy following customers -->> customers from the main menu.

Re: "Official" 2.2.0.0 BUG topic

Posted: Sat Mar 05, 2016 5:42 pm
by sculptex
@EvolveWebHosting yes the customer bug is the script I posted above.

vqmod has been updated so don't use my above script, go to official site and get latest from there
https://github.com/vqmod/vqmod/releases

@allenshea, please correct your above post to remove the vqmod update script as this will only cause more problems.

Re: "Official" 2.2.0.0 BUG topic

Posted: Sun Mar 06, 2016 12:16 am
by EvolveWebHosting
sculptex wrote:@EvolveWebHosting yes the customer bug is the script I posted above.
Thanks! For some reason, I looked right past it yesterday.

Re: "Official" 2.2.0.0 BUG topic

Posted: Sun Mar 06, 2016 8:17 am
by gob33
If you use another language than english, you have no locale defined and can't use PHP setlocale(), strftime()
This comes from the new language directory structure adopted and implemented.
https://github.com/opencart/opencart/issues/4050

Re: "Official" 2.2.0.0 BUG topic

Posted: Sun Mar 06, 2016 12:15 pm
by godesigns
Why would OpenCart decide to change the Language folder from "english" to "en-gb"?

Gary

Re: "Official" 2.2.0.0 BUG topic

Posted: Sun Mar 06, 2016 5:26 pm
by OSWorX
godesigns wrote:Why would OpenCart decide to change the Language folder from "english" to "en-gb"?

Gary
Because naming languages xx-yy (better would be xx-YY) should be done since 1.5. and many years.
Now this naming convention is much better then only using english or french etc.
Why?
Because every language has dialects, English is not only English, there is gb, us, etc. (same with many other major languages like German which has de, at, ch, etc.)
Beside this, nearly every 3PD library like moment, bootstrap, summernote etc. is using xx-yy or xx-YY

Re: "Official" 2.2.0.0 BUG topic

Posted: Sun Mar 06, 2016 11:11 pm
by adadra
Hi All
I have one problem
I write post in V 2.10.1 Bug but seems this topic is locked
this is link : viewtopic.php?f=191&t=152650&start=40#p605829

How can i Solve this problem?

Please help

Re: "Official" 2.2.0.0 BUG topic

Posted: Tue Mar 08, 2016 12:05 am
by godesigns
OSWorX wrote:
godesigns wrote:Why would OpenCart decide to change the Language folder from "english" to "en-gb"?

Gary
Because naming languages xx-yy (better would be xx-YY) should be done since 1.5. and many years.
Now this naming convention is much better then only using english or french etc.
Why?
Because every language has dialects, English is not only English, there is gb, us, etc. (same with many other major languages like German which has de, at, ch, etc.)
Beside this, nearly every 3PD library like moment, bootstrap, summernote etc. is using xx-yy or xx-YY
I understand the reason for the change, it's just a major change is all.

As late as Version 2.1.0.2 a standard clean install had "english" listed. The issue comes into play with all the extension, just another thing to check and change.

And if it was an issue dating back to Version 1.5, why not the change in version 2.0?

Re: "Official" 2.2.0.0 BUG topic

Posted: Tue Mar 08, 2016 7:17 am
by donaceli
Hi, I've updated to the latest vqmod, but the error is still there.

Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND), expecting ')' in /home/user/public_html/dev/admin/controller/customer/customer.php on line 1105

Can you give me any directions please?


Thanks.

Re: "Official" 2.2.0.0 BUG topic

Posted: Tue Mar 08, 2016 5:25 pm
by daniGo

Re: "Official" 2.2.0.0 BUG topic

Posted: Tue Mar 08, 2016 6:52 pm
by donaceli
Thanks daniGo! The customer.php worked like magic. I have copied the raw file and pasted it over the original file. This made sure I don't mis any parentheses or brackets.

Another bunch of errors appear when I access Dashboard. Any ideas? Appreciate a ton!

Warning: vsprintf(): Too few arguments in /home/user/public_html/demo/admin/controller/dashboard/activity.php on line 19Warning: vsprintf(): Too few arguments in /home/user/public_html/demo/admin/controller/dashboard/activity.php on line 19Warning: vsprintf(): Too few arguments in /home/user/public_html/demo/admin/controller/dashboard/activity.php on line 19Warning: vsprintf(): Too few arguments in /home/user/public_html/demo/admin/controller/dashboard/activity.php on line 19Warning: vsprintf(): Too few arguments in /home/user/public_html/demo/admin/controller/dashboard/activity.php on line 19

Re: "Official" 2.2.0.0 BUG topic

Posted: Tue Mar 08, 2016 7:00 pm
by adadra
adadra wrote:Hi All
I have one problem
I write post in V 2.10.1 Bug but seems this topic is locked
this is link : viewtopic.php?f=191&t=152650&start=40#p605829

How can i Solve this problem?

Please help
anyone?