Page 2 of 2

Re: Product options sort order on printed order

Posted: Mon Mar 19, 2018 6:15 am
by wackyracer8
From what I can see, there are 2 instances in catalog/controller/mail/order.php which I have changed and 1 instance in catalog/model/checkout/order.php which I have also changed. I've gone into dashboard and cleared both caches in there and modifications and cleared and then refreshed. Still get the error message and the email comes through as above. I've attached the 2 order files just in case I have missed something.

Re: Product options sort order on printed order

Posted: Mon Mar 19, 2018 6:27 am
by straightlight
Your cache activities are not taking effect when clearing them. Is your storage folder located inside your public_html or outside?

Re: Product options sort order on printed order

Posted: Mon Mar 19, 2018 6:32 am
by wackyracer8
I have a storage folder (which also has a cache folder inside) outside of public_html, or do you mean the system > storage folder? This one is in public_html

Re: Product options sort order on printed order

Posted: Mon Mar 19, 2018 6:33 am
by straightlight
I have a storage folder (which also has a cache folder inside) outside of public_html
From your config.php and admin/config.php files, do you also see the relative paths from your DIR_STORAGE constant?

Re: Product options sort order on printed order

Posted: Mon Mar 19, 2018 6:37 am
by wackyracer8
both config.php files have
define('DIR_STORAGE', '/home/account-name/storage/');

Re: Product options sort order on printed order

Posted: Mon Mar 19, 2018 6:40 am
by straightlight
Clear your vqcache folder (except index.html). So far, it seem like a server cache issue.

Re: Product options sort order on printed order

Posted: Mon Mar 19, 2018 6:49 am
by wackyracer8
I've tried that but still get the error message :( Is it worth deleting the cache folder inside the storage folder that is outside of public_html?

Re: Product options sort order on printed order

Posted: Mon Mar 19, 2018 6:50 am
by straightlight
Delete what's inside of it but not the actual folder (except index.html file).

Re: Product options sort order on printed order

Posted: Mon Mar 19, 2018 6:54 am
by wackyracer8
Nope, still the error :(

Re: Product options sort order on printed order

Posted: Mon Mar 19, 2018 6:55 am
by straightlight
Are you using an extension such as Journal2 that also requires the use of cache? Did you also used the automatic setting from the Modal Security window in the OC admin or the manual setting from that modal?

Re: Product options sort order on printed order

Posted: Mon Mar 19, 2018 7:00 am
by wackyracer8
I do have Journal2 but I have cleared the cache on that as well.
Did you also used the automatic setting from the Modal Security window in the OC admin or the manual setting from that modal?
Where is this to? I haven't changed it from the default but please point me in the right direction and I'll double check. Thanks

Re: Product options sort order on printed order

Posted: Mon Mar 19, 2018 7:07 am
by straightlight
This is the modal I am referring to: https://base5builder.com/image/catalog/ ... age-10.jpg . Have you ever seen this modal window? If so, if you chose the automatic settings, this may be the reason why this issue is currently happening. Normally, you wouldn't have the storage folder outside the public_html folder with still another one inside the public_html folder. A manual transfer should be selected by following this process: viewtopic.php?f=202&t=201745#p713479 . The automatic settings is only showing in the modal window for decoration purposes.

Otherwise, it may take a while to redo the process from first step in order for your cache to be properly synchronized with Opencart (1 hour interval).

Re: Product options sort order on printed order

Posted: Mon Mar 19, 2018 7:22 am
by wackyracer8
I do remember seeing something like this, and I believe I went with automatic. From looking at the post you reference though my config files both point to the storage folder outside the directory. What am I supposed to do with the storage folder inside public_html? Looking at both these folders, there's a lot less files in the storage folder outside of public_html.

Re: Product options sort order on printed order

Posted: Mon Mar 19, 2018 7:33 pm
by straightlight
- Make a full backup of your site and its database
- Close your FTP session.
- Set your site under maintenance from the OC admin
- Remove your outside storage folder from your host's file manager console (not from FTP!)
- Remove your system/storage folder from your host's file manager console (not from FTP!)
- Re-upload your system/storage folder from the OC ZIP file downloaded from opencart.com to its original location on your file server and read the install.txt file included in the ZIP file for the proper folder permissions settings (must be set recursively).
- Edit your config.php and admin/config.php files to set the target folders back to the storage/folder
- Go back to the OC admin, the Modal Security window should display again.
- Do NOT choose automatic settings but choose: manual.
- Refollow the provided post: viewtopic.php?f=202&t=201745#p713479
- Remove site maintenance from the OC admin

This should resolved the issue.