Post by HAO » Mon Mar 11, 2019 7:12 am

I always thought that "recycling economy" is very important.

The OpenCart development team is responsible for the continuous development of stable versions.
Developers like straightlight, as much as possible through the github to organize the available patches, Let each version work properly.
A general user like me can pay for the expansion I need to make this community survive.

Therefore, it is very important to reduce the difficulty of using this software, For this reason,I think the official must release the patch that the user and the developer can directly replace.

This is a relatively normal survival mode.

Just like:
phpBB
Joomla!

In fact, I used to create a patch for OpenCart 2.3.0.2 based on the debug list I found.

I used this basic OpenCart 2.3.0.2 version to create several stores for the company, I helped some developers sell the same extensions many times.

I think OpenCart 3.0.3.1 is an opportunity to try, As long as everyone can create an SOP, list each debug record and create a patch for general users.

I think this can make OpenCart survive.

PS. I will create a patch based on the topic posted by straightlight, Can your help me?

HAO
Active Member

Posts

Joined
Fri Jun 03, 2011 2:52 pm

Post by straightlight » Mon Mar 11, 2019 10:21 am

PS. I will create a patch based on the topic posted by straightlight, Can your help me?
Which topic are you referring to? Are you talking about the article 7153 topic on GitHub? If so, what patch do you require?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by HAO » Mon Mar 11, 2019 10:46 am

Last edited by HAO on Tue Mar 26, 2019 3:44 pm, edited 2 times in total.

HAO
Active Member

Posts

Joined
Fri Jun 03, 2011 2:52 pm

Post by straightlight » Mon Mar 11, 2019 5:33 pm

HAO wrote:
Mon Mar 11, 2019 10:46 am
This is the list of patches I have completed.

[v3.0.3.1] - admin extension dashboard
[v3.0.3.1] - cardconnect extension payment
[v3.0.3.1] - paypoint extension payment sort order
[v3.0.3.1] - klarna extension total
[v3.0.3.1] - klarna account extension module
[v3.0.3.1] - klarna checkout extension payment
[v3.0.3.1] - firstdata payment extension
[v3.0.3.1] - openbay / ebay
[v3.0.3.1 - Fix] - product viewed - reset button

In short, it’s based on your topic, I edit directly with the steps by steps.

As long as you can provide the correct modification steps to me, I can complete the modification.

PS. If you can provide a debug list for 3.0.2.0, I am also willing to create a patch file.
Incorrect. The last posted fix - product viewed is not addressed by me. However, I already provide enough bug reports as it is, I don't need to provide a list. You want to stay updated with the Bug Reports? Follow the posts or use the forum search, simple as that. Taking an example from YouTube, people needs to subscribe so not for publishers to provide anything more than they already provide to the people. If you do have suggestions to use Subscribers list for the forum, create a new service request on the Opencart.com's feedback form hoping in the future this will be considered.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by STOREOO » Sat Mar 23, 2019 2:46 am

Hello, My name is Gino from Costa Rica.
I really have some issues, and i'm confused not knowing how to start fixing these errors.
If you can direct me with some suggestions, ceranly i will appreciate it.
Take a look to these errors:

Code: Select all

2018-10-22 16:53:54 - PHP Warning:  fopen(/home/www/storage/cache/cache.manufacturer.0.1540230834): failed to open stream: No such file or directory in 

Code: Select all

/home/www/mysite/system/library/cache/file.php on line 21
2018-10-22 16:53:54 - PHP Warning:  flock() expects parameter 1 to be resource, boolean given in /home/www/mysite/system/library/cache/file.php on line 22
2018-10-22 16:53:54 - PHP Warning:  filesize(): stat failed for /home/www/storage/cache/cache.manufacturer.0.1540230834 in /home/www/mysite/system/library/cache/file.php on line 23
2018-10-22 16:53:54 - PHP Warning:  flock() expects parameter 1 to be resource, boolean given in /home/www/mysite/system/library/cache/file.php on line 29
2018-10-22 16:53:54 - PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /home/www/mysite/system/library/cache/file.php on line 30
2019-01-08 14:25:37 - PHP Warning:  mysqli::mysqli(): MySQL server has gone away in /home/www/mysite/system/library/db/mysqli.php on line 7
2019-01-08 14:25:37 - PHP Warning:  mysqli::mysqli(): (HY000/2006): MySQL server has gone away in /home/www/mysite/system/library/db/mysqli.php on line 7
2019-01-08 14:25:37 - PHP Warning:  DB\MySQLi::__construct(): Couldn't fetch mysqli in /home/www/mysite/system/library/db/mysqli.php on line 10
2019-01-08 14:25:37 - PHP Warning:  DB\MySQLi::__construct(): Couldn't fetch mysqli in /home/www/mysite/system/library/db/mysqli.php on line 10
2019-01-08 14:43:09 - PHP Warning:  mysqli::mysqli(): MySQL server has gone away in /home/www/mysite/system/library/db/mysqli.php on line 7
2019-01-08 14:43:09 - PHP Warning:  mysqli::mysqli(): (HY000/2006): MySQL server has gone away in /home/www/mysite/system/library/db/mysqli.php on line 7
2019-01-08 14:43:09 - PHP Warning:  DB\MySQLi::__construct(): Couldn't fetch mysqli in /home/www/mysite/system/library/db/mysqli.php on line 10
2019-01-08 14:43:09 - PHP Warning:  DB\MySQLi::__construct(): Couldn't fetch mysqli in /home/www/mysite/system/library/db/mysqli.php on line 10
2019-01-08 14:52:33 - PHP Warning:  mysqli::mysqli(): MySQL server has gone away in /home/www/mysite/system/library/db/mysqli.php on line 7
2019-01-08 14:52:33 - PHP Warning:  mysqli::mysqli(): (HY000/2006): MySQL server has gone away in /home/www/mysite/system/library/db/mysqli.php on line 7
2019-01-08 14:52:33 - PHP Warning:  DB\MySQLi::__construct(): Couldn't fetch mysqli in /home/www/mysite/system/library/db/mysqli.php on line 10
2019-01-08 14:52:33 - PHP Warning:  DB\MySQLi::__construct(): Couldn't fetch mysqli in /home/www/mysite/system/library/db/mysqli.php on line 10
2019-01-17 1:38:33 - PHP Notice:  Undefined index: key in /home/www/mysite/admin/controller/design/translation.php on line 412
2019-01-17 1:41:04 - PHP Notice:  Undefined index: key in /home/www/mysite/admin/controller/design/translation.php on line 412
2019-01-17 1:49:01 - PHP Notice:  Undefined index: key in /home/www/mysite/admin/controller/design/translation.php on line 412
2019-01-18 3:38:04 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1547786283): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-01-18 18:04:00 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1547837526): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-01-18 18:04:00 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 99
2019-01-18 18:04:00 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 157
2019-01-21 18:23:28 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1548098607): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-01-21 18:23:28 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 99
2019-01-21 18:23:28 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 157
2019-01-21 18:28:33 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1548098913): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-01-21 18:28:33 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 99
2019-01-21 18:28:33 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 157
2019-01-21 18:31:56 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1548099116): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-01-21 18:33:40 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1548099219): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-01-21 18:33:40 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 99
2019-01-21 18:33:40 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 157
2019-01-21 18:36:18 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1548099377): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-01-21 18:36:18 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 99
2019-01-21 18:36:18 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 157
2019-01-21 18:36:48 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1548099408): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-01-21 18:36:48 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 99
2019-01-21 18:36:48 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 157
2019-01-21 18:39:39 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1548099578): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-01-21 18:39:39 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 99
2019-01-21 18:39:39 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 157
2019-01-21 18:41:00 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1548099660): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-01-21 18:41:00 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 99
2019-01-21 18:41:00 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 157
2019-01-21 18:41:38 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1548099697): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-01-29 15:25:45 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1548779145): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-01-29 15:25:45 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 99
2019-01-29 15:25:45 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1548779145): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-01-29 15:25:45 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 157
2019-01-29 15:25:45 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 99
2019-01-29 15:25:45 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 157
2019-01-29 15:27:05 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1548779225): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-01-29 15:27:26 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1548779246): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-01-29 15:27:26 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 99
2019-01-29 15:27:26 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 157
2019-01-29 15:27:48 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1548779268): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-01-29 15:28:07 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1548779287): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-01-29 15:28:07 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 99
2019-01-29 15:28:07 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 157
2019-01-29 15:32:12 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1548779470): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-01-29 15:32:12 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 99
2019-01-29 15:32:12 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 157
2019-01-29 15:35:57 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1548779757): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-02-02 21:32:51 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1549146771): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-02-02 21:32:51 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 99
2019-02-02 21:32:51 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 157
2019-02-02 21:33:21 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1549146801): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-02-02 21:34:53 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1549146893): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-02-02 21:34:53 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 99
2019-02-02 21:34:53 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 157
2019-02-02 21:35:00 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1549146900): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-02-02 21:35:00 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1549146900): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-02-02 21:35:00 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 99
2019-02-02 21:35:00 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 157
2019-02-02 21:35:00 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 99
2019-02-02 21:35:00 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 157
2019-02-17 20:40:39 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1550437761): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-02-17 20:40:39 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 99
2019-02-17 20:40:39 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 157
2019-03-01 19:16:27 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1551471312): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68
2019-03-01 19:16:27 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 99
2019-03-01 19:16:27 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/mysite/system/framework.php:42) in 

/home/www/mysite/catalog/controller/startup/startup.php on line 157
2019-03-17 13:27:59 - PHP Warning:  unlink(/home/www/storage/cache/cache.catalog.language.1552832878): No such file or directory in /home/www/mysite/system/library/cache/file.php on line 68 ^-^

User avatar
Newbie

Posts

Joined
Sat Mar 23, 2019 2:35 am


Post by straightlight » Sun Mar 24, 2019 2:02 am

This issue above has been posted multiple times about the catalog.cache error message. Please search the forum.

In catalog/model/localisation/language.php file,

find:

Code: Select all

$language_data = $this->cache->get('language');
replace with:

Code: Select all

$language_data = $this->cache->get('catalog.language');
As for the file library, see this solution: viewtopic.php?f=201&t=210596

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by STOREOO » Sun Mar 24, 2019 2:48 pm

Straightlight,
I deeply appreciate your cooperation with those answers, they did work fine on my website's store.
The issue that caused those errors was the new update to the latest version I thought that it was better to ask before starting replacing code on pages that i wasn't sure, and now I know that I did the right thing. So far, my website with a small store is running and I hope to sell something soon. The name of my website is https://wishlist.bookoflike.com Book Of Like. :)
Thank You.

User avatar
Newbie

Posts

Joined
Sat Mar 23, 2019 2:35 am


Post by IP_CAM » Mon Mar 25, 2019 11:14 am

Well, you won't be able to legally sell to Europe, since
your Site does not comply to EG Rules. And without a
really traceable address on that Site, it's hard for for the
Rest of the World, to know of whom they're dealing with.

But you might not meant it that way, it just looks like it ... :D
Ernie

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by paulfeakins » Mon Mar 25, 2019 5:35 pm

STOREOO wrote:
Sun Mar 24, 2019 2:48 pm
Whitelight
That's a new one :laugh:

Out of interest, where did your name come from @straightlight ?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by straightlight » Tue Mar 26, 2019 4:16 am

paulfeakins wrote:
Mon Mar 25, 2019 5:35 pm
STOREOO wrote:
Sun Mar 24, 2019 2:48 pm
Whitelight
That's a new one :laugh:

Out of interest, where did your name come from @straightlight ?
It's even more hilarious for me noticing the people that aren't able to use the copy and paste of a username. You're right though, it is out of interest, however.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by HAO » Tue Mar 26, 2019 1:36 pm

Does anyone know the error in the order ID in the screenshot?
https://screenshots.firefox.com/Iuzvd1Y ... emo.wdo.tw

Order ID: #%s #2

Should be:
Order ID: #2

OpenCart 3.0.3.1

HAO
Active Member

Posts

Joined
Fri Jun 03, 2011 2:52 pm

User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by straightlight » Tue Mar 26, 2019 6:23 pm

Official fix for credit and reward: viewtopic.php?f=201&t=199919#p704474

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by xxvirusxx » Wed Mar 27, 2019 12:05 am

I don't think is needed to change posted code from model (credit and reward), because you just tell to read from _['text_order_id_total'] = 'Order ID: # %s'; and on Customer will be the same as before:

Example: Order ID: # %s #3

And work just fine when use in language only $_['text_order_id'] = 'Order ID:'; , without to make changes in both models credit and reward.

Possible missing a sprintf from a file....

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by HAO » Wed Mar 27, 2019 11:53 am

Anyway, As long as I can solve the problem, it is the most important thing.

Thank you for your help!

To. xxvirusxx

The link to your signature: "OC 3.0.3.1, 3.0.2.0, 2.3.0.2 with bugs fixed."

This represents the above file, is the version of the fixed file that you have compiled?

HAO
Active Member

Posts

Joined
Fri Jun 03, 2011 2:52 pm

Post by straightlight » Wed Mar 27, 2019 5:39 pm

The official bug fixes are on Opencart GitHub namespace.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by STOREOO » Wed Apr 03, 2019 1:36 pm

I'm having an issue also with the extension PayPal Express Checkout, when the user buys a product and goes to checkout using the shopping cart, after selecting Paypal and entering the credential, the buyer gets an error.
See the error:

Code: Select all

Error: Error: There was an error fetching the PayPal token at eval (eval at globalEval (https://mysite.com/catalog/view/javascript/jquery/jquery-2.1.1.min.js:2:2536), :22:21) at _loop (https://www.paypalobjects.com/api/checkout.js:5519:50) at ZalgoPromise.dispatch (https://www.paypalobjects.com/api/checkout.js:5543:57) at ZalgoPromise.resolve (https://www.paypalobjects.com/api/checkout.js:5479:22) at https://www.paypalobjects.com/api/checkout.js:5453:48 at XMLHttpRequest. (https://www.paypalobjects.com/api/checkout.js:16156:28) at Object._RECEIVE_MESSAGE_TYPE.(anonymous function) [as postrobot_message_response] (https://www.paypalobjects.com/api/checkout.js:4570:31) at receiveMessage (https://www.paypalobjects.com/api/checkout.js:4612:60) at messageListener (https://www.paypalobjects.com/api/checkout.js:4633:13)
-------
Then on the server side, the error log, it shows several errors.
See them please:

Code: Select all

[Wed Mar 27 03:23:41 2019] [error] [client 107.21.78.77] [client 107.21.78.77] ModSecurity: Access denied with code 412 (phase 2). Match of "rx (http://bsalsa\\.com|^site24x7)" against "REQUEST_HEADERS:User-Agent" required. [file "/services/mod_security-rules/20_asl_useragents.conf"] [line "294"] [id "330094"] [rev "5"] [msg "Atomicorp.com WAF Rules: Fake User Agent String"] [severity "CRITICAL"]  [hostname "mysite.com"] [uri "/photo necklace-laser engraved photo necklace-photo necklace pendant-personalized photo necklace-statement necklace-photo necklace dog tag pendant-silver necklace-personalized necklace-necklace with picture"]
[Wed Mar 27 07:54:46 2019] [error] [client 183.171.185.12] AH01797: client denied by server configuration: /services/users/zstorage38p1//user/www/mysite.com/image/cache/catalog/unicorn_party_popcorn_birthday_balloons-500x500.jpg
[Wed Mar 27 10:37:36 2019] [error] [client 67.72.99.20] AH01630: client denied by server configuration: /services/users/zstorage38p1//user/www/mysite.com/ads.txt
[Wed Mar 27 11:22:51 2019] [error] [client 37.187.79.106] [client 37.187.79.106] ModSecurity: Access denied with code 412 (phase 2). String match "Ubuntu; Linux x86_64; rv:62.0" at REQUEST_HEADERS:User-Agent. [file "/services/config/apache.conf.d/mod_security_custom.conf"] [line "2"] [id "1234123589"] [msg "fake agent"]  [hostname "mysite.com"] [uri "/wp-login.php"]
[Wed Mar 27 12:28:09 2019] [error] [client 54.173.37.11] [client 54.173.37.11] ModSecurity: Access denied with code 412 (phase 2). Match of "rx (http://bsalsa\\.com|^site24x7)" against "REQUEST_HEADERS:User-Agent" required. [file "/services/mod_security-rules/20_asl_useragents.conf"] [line "294"] [id "330094"] [rev "5"] [msg "Atomicorp.com WAF Rules: Fake User Agent String"] [severity "CRITICAL"]  [hostname " mysite.com"] [uri "/gold organza ribbon-extra wide organza ribbon-wide organza ribbon-sheer organza ribbon-wired organza ribbon-rose gold organza ribbon-organza ribbon necklaces-organza ribbon for jewelry making-organza ribbon for wedding chairs"]
[Wed Mar 27 15:01:43 2019] [error] [client 66.249.69.45] AH01630: client denied by server configuration: /services/users/zstorage38p1/user/www/mysite.com/ads.txt
[Wed Mar 27 16:02:29 2019] [error] [client 66.249.69.42] AH01630: client denied by server configuration: /services/users/zstorage38p1//user/www/mysite.com/ads.txt

I'm sorry for so much code, but, at this point my site can't sell anything online if these issues don't get fix. What should I do to fix that? I already read a lot and I don't get a fix so far for the version Open Cart 3.0.3.1.
Thank you for Your opinions and help.
Last edited by straightlight on Fri May 29, 2020 6:05 am, edited 1 time in total.
Reason: Added code tags.

User avatar
Newbie

Posts

Joined
Sat Mar 23, 2019 2:35 am


Post by straightlight » Wed Apr 03, 2019 5:47 pm

[Wed Mar 27 03:23:41 2019] [error] [client 107.21.78.77] [client 107.21.78.77] ModSecurity: Access denied with code 412 (phase 2). Match of "rx (http://bsalsa\\.com|^site24x7)" against "REQUEST_HEADERS:User-Agent" required. [file "/services/mod_security-rules/20_asl_useragents.conf"] [line "294"] [id "330094"] [rev "5"] [msg "Atomicorp.com WAF Rules: Fake User Agent String"] [severity "CRITICAL"] [hostname "mysite.com"] [uri "/photo necklace-laser engraved photo necklace-photo necklace pendant-personalized photo necklace-statement necklace-photo necklace dog tag pendant-silver necklace-personalized necklace-necklace with picture"]
[Wed Mar 27 07:54:46 2019] [error] [client 183.171.185.12] AH01797: client denied by server configuration:
Not a PayPal Express Checkout log event. ModSecurity is enabled on your server as it affects your server cache entries. ModSecurity must be disabled. As for the PayPal token message, see this fix and enable the debug setting in your PayPal Express Checkout form from the OC Admin in your extension payment module page (set maintenance mode to 'on' from your store settings if running live): viewtopic.php?f=201&t=210578

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by purpletreesoft » Mon Apr 15, 2019 4:53 pm

straightlight wrote:
Mon Mar 04, 2019 12:45 am
IP_CAM wrote:
Sun Mar 03, 2019 11:37 pm
Well, better don't blame OC for not fixing misses, after telling the folks, to
move up, whenever another 'latest' Version arrives at the Scene. It's only
an endless game this way, but only based on Dev's Comments, not by OC.

So, better don't complain about it, but stop, to tell new or existing Users,
that older OC Versions are only full of misses, and should be replaced.
I never understud this strange behaviour, but I am not a DEV, waiting to
create additional income, one possible reason, that it keeps on this way.

Nasty Ernie
Tell that to the people who wants to make the difference by fixing the most of encountered issues in the past and then realizes that despite if the version is new or old - both ways ends up with the same problems due to unpatched variables noticing what they'll tell you afterwards. I think I've been long enough on the forum to realize what stalls and what moves ahead. As you said, you're not a DEV so you may not expect how frustrating for people that are DEVs whether it comes from the OC forum or on GitHub to resolve those on-going issues. Don't blame OC you say? Tell me otherwise after each (un)stable distributions who else do the integration and puts them on Opencart.com indicating that it's stable and ending up on the same level as last time on previous features and aside from the new features added in after waiting a year an a half having to spend several hours to track in the issues because you know that no one else will report them before you do most of the time.

Glady to say, however, some of the bugfixes were already found on GitHub and from this topic which brought my previous conclusion regarding on v3.0.3.1 that this very was barely useable (testing purposes?). With that being said, that makes me the right to complain about it since DEVs should not have to spend so much time on fixing bugs that a team should already handle. Granted, we can't expect to have 100% of the bugs to be fixed. However, after the team took 1.5 years to publish a new version on Opencart.com, they certainly don't meet the demands from their users aside from the new features.
Very fair points. I think one solution could be to invite more beta users and have a few months of rigorous testing. You say they are already doing it - Well then it has to be a little more. We need to step up if we are competing against likes of Magento and Prestashop.

Purpletree Software LLP
New features launched for Multivendor Marketplace Extension


User avatar
New member

Posts

Joined
Thu Jun 22, 2017 10:17 pm


Post by HAO » Mon Apr 15, 2019 5:11 pm

https://magento.com/security/patches
http://build.prestashop.com/news/presta ... e-release/

I think you have to agree that this is a standard operating procedure.

The development team should not let developers and users handle the problem of debugging.

In addition to this, The code discussed in this topic, I don't seem to see any changes in 3.0.3.2.

Does this mean that we still need to confirm and fix it ourselves?

HAO
Active Member

Posts

Joined
Fri Jun 03, 2011 2:52 pm
Who is online

Users browsing this forum: No registered users and 21 guests