Post by khnaz35 » Fri Jun 18, 2021 3:50 pm

Just setup a demo website for this OC version and at a fresh install run the google page speed test.
The results looks awesome!!

Now will install Journal V 3.2 beta as well to make test and report error to them as well. Looks like finally Journal also listen to OC_users compalints and start work in same directions.
https://www.journal-theme.com/beta-v32/

Journal 3.2 is the biggest update for Journal since Journal’s first launch. We have recoded the framework almost entirely for much better integration with the core Opencart system and added radically improved performance and usability features both in the admin and storefront.

Attachments

Oc_max-version.png

Fresh-install-without-any-plugins-add-ons - Oc_max-version.png (303.76 KiB) Viewed 3504 times


Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by maboku » Fri Jun 18, 2021 7:50 pm

I am on php7.4 hosted on AWS Lightsail. After installing the new update from MaxD, i encounter the following error when enabling one of my addons in the admin panel:

Fatal error: Uncaught Error: Class 'Twix_Node_Expression_Binary_NotIn' not found in /opt/bitnami/apache/htdocs/system/library/template/twix_compile.php:2793 Stack trace: #0 /opt/bitnami/apache/htdocs/system/library/template/twix_compile.php(2378): Twix_ExpressionParser->parseExpression() #1 /opt/bitnami/apache/htdocs/system/library/template/twix_compile.php(4127): Twix_TokenParser_If->parse() #2 /opt/bitnami/apache/htdocs/system/library/template/twix_compile.php(2301): Twix_Parser->subparse() #3 /opt/bitnami/apache/htdocs/system/library/template/twix_compile.php(4127): Twix_TokenParser_For->parse() #4 /opt/bitnami/apache/htdocs/system/library/template/twix_compile.php(2389): Twix_Parser->subparse() #5 /opt/bitnami/apache/htdocs/system/library/template/twix_compile.php(4127): Twix_TokenParser_If->parse() #6 /opt/bitnami/apache/htdocs/system/library/template/twix_compile.php(4060): Twix_Parser->subparse() #7 /opt/bitnami/apache/htdocs/system/library/template/twix_compile.php(568): Twix_Parser->parse() #8 /opt/bitnami/apache in /opt/bitnami/apache/htdocs/system/library/template/twix_compile.php on line 2793

anyone with an idea what could be wrong?

Newbie

Posts

Joined
Fri Feb 02, 2018 5:39 am

Post by MaxD » Sat Jun 19, 2021 6:45 am

Updated the distribution, now if Twix fails for some template, it will silently fallback to official Twig.

User avatar
Active Member

Posts

Joined
Fri Jul 06, 2012 6:37 pm


Post by maboku » Sat Jun 19, 2021 1:57 pm

What causes the upgrade page to be blank? Only happens when I use the distribution but with official OC no issues. No error codes thrown.

Newbie

Posts

Joined
Fri Feb 02, 2018 5:39 am

Post by MaxD » Sat Jun 19, 2021 6:09 pm

maboku, the upgrade function is blocked for the sake of no need to delete "install" directory.
If you have Opencart 3.0.3.7, just overwrite all files except config.php and admin/config.php

User avatar
Active Member

Posts

Joined
Fri Jul 06, 2012 6:37 pm


Post by maboku » Sat Jun 19, 2021 10:24 pm

Noted with thanks...

Newbie

Posts

Joined
Fri Feb 02, 2018 5:39 am

Post by LVL91 » Sat Jun 19, 2021 11:52 pm

MaxD wrote:
Thu Jun 17, 2021 10:43 pm
LVL91, I don't know yet if I will post this as OCMod. Still waiting for some reaction from people if they need it at all )

Meanwhile all this optimizations are included into my OpenCart Lightning accelerator.
Hi MaxD. I actually haven't heard about your Lightning module until yesterday when someone else pointed me to that. I am used to Nitropack for my older OC 1.5.6, but now I need to make a decision for the upgraded OC 3.0.3.7. Your caching module seems to be the perfect choice, but I do have some specific questions. I'll send you a support request via the OC marketplace for this.

As for the updated event-related file, I got a very small error in the admin panel with a specific module only. It's probably the badly written module, but perhaps it's affecting other functionality as well, perhaps you can fix it. I'll put that in the support e-mail as well so this all stays on-topic.

New member

Posts

Joined
Fri Feb 21, 2014 9:12 am

Post by cata77 » Tue Jun 22, 2021 3:45 am

Hi Max,
I intend to try your distribution, but I think it contains only the changes. For a fresh install I need to take the original opencart distribution and put your changes over that. Is my assumption correct?

Best regards,

Newbie

Posts

Joined
Fri Mar 24, 2017 3:21 pm

Post by MaxD » Tue Jun 22, 2021 3:52 am

cata77, not right. It is full distribution tailored for faster install without need to make any additional moves.

How to install?
  • unZIP to destination folder
  • open your site in browser (use HTTPS if supported)
  • enter database info and new shop admin log/pass
  • you are done ;-)

User avatar
Active Member

Posts

Joined
Fri Jul 06, 2012 6:37 pm


Post by cata77 » Tue Jun 22, 2021 5:25 am

Hi Max, I just downloaded the archive again and has only ~2Mb. Please see the content of archive here:
http://prntscr.com/168ftet.
Of course, I tried to install in a folder, as you suggested , but it not work (Forbidden -You don't have permission to access this resource).
If I try the "original" opencart distribution it works properly.

Newbie

Posts

Joined
Fri Mar 24, 2017 3:21 pm

Post by MaxD » Tue Jun 22, 2021 5:29 am

cata77, oh, you are right!
Uploaded the correct archive, please download it again.

User avatar
Active Member

Posts

Joined
Fri Jul 06, 2012 6:37 pm


Post by cata77 » Tue Jun 22, 2021 5:57 am

It looks ok now, I had to clear the browser cache in order to see the latest version. Thank you

Newbie

Posts

Joined
Fri Mar 24, 2017 3:21 pm

Post by nickpapoutsis » Sun Jun 27, 2021 7:42 am

MaxD, will I see any improvements if I use this for a website that's already using the latest version of Lightning?

User avatar
New member

Posts

Joined
Mon Mar 25, 2019 7:49 am

Post by MaxD » Sun Jun 27, 2021 8:49 am

nickpapoutsis, Lightning includes all this optimizations already )

User avatar
Active Member

Posts

Joined
Fri Jul 06, 2012 6:37 pm


Post by FallingUp » Fri Jul 30, 2021 5:00 am

MaxD wrote:
Thu Jun 10, 2021 9:33 am
I have added speed measurements results )

For the test two fresh installations was taken - this one and official OpenCart. Page generation time was measured (without compression and output). Tests show following results:
Homepage: 60 ms vs 140 ms
Admin Dashboard: 40 ms vs 70 ms

After that Journal 3 template was installed with demo data.
Journal 3 Homepage: 230 ms vs 520 ms
Hi Max,

Is 3.0.3.7 with php8 really faster than 3.0.2.0 with php7.3?
Will the upgrade break most extensions?

Thanks

Newbie

Posts

Joined
Mon Jan 01, 2018 5:12 am

Post by MaxD » Fri Jul 30, 2021 5:41 am

Official Opencart 3.0.3.7 is not faster than Opencart 3.0.2.0.
And PHP8 is not faster than PHP7.3.

User avatar
Active Member

Posts

Joined
Fri Jul 06, 2012 6:37 pm


Post by FallingUp » Fri Jul 30, 2021 5:51 am

Thank you Max

Newbie

Posts

Joined
Mon Jan 01, 2018 5:12 am

Post by cata77 » Wed Aug 04, 2021 8:21 pm

Hi Max,
maybe is a off-topic and newbie question, but what did you used for measuring the page generation time? I want to make the same tests on my site.
Thanks

Newbie

Posts

Joined
Fri Mar 24, 2017 3:21 pm

Post by MaxD » Thu Aug 05, 2021 11:33 am

cata77, just used PHP for that measurements.

Add to the beginning of index.php:

Code: Select all

$start = microtime(true);
To the system/library/response.php after

Code: Select all

public function output() {
add

Code: Select all

global $start; $ms = round((microtime(true) - $start)*1000); file_put_contents('ms', $ms.' ', FILE_APPEND); $m = explode(' ',trim(file_get_contents('ms')));echo $ms.' ms, average <b>'.round(array_sum($m)/count($m))."</b> ms (".count($m).')';  exit;

User avatar
Active Member

Posts

Joined
Fri Jul 06, 2012 6:37 pm


Post by Majnoon » Thu Aug 05, 2021 12:57 pm

MaxD wrote:
Thu Aug 05, 2021 11:33 am
cata77, just used PHP for that measurements.

Add to the beginning of index.php:

Code: Select all

$start = microtime(true);
To the system/library/response.php after

Code: Select all

public function output() {
add

Code: Select all

global $start; $ms = round((microtime(true) - $start)*1000); file_put_contents('ms', $ms.' ', FILE_APPEND); $m = explode(' ',trim(file_get_contents('ms')));echo $ms.' ms, average <b>'.round(array_sum($m)/count($m))."</b> ms (".count($m).')';  exit;
Just a question and where this output will be shown?

Active Member

Posts

Joined
Fri Feb 05, 2021 8:29 pm
Who is online

Users browsing this forum: No registered users and 47 guests