Post by wackyracer8 » Mon Mar 19, 2018 6:15 am

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.

Active Member

Posts

Joined
Fri May 13, 2011 1:15 am

Post by straightlight » Mon Mar 19, 2018 6:27 am

Your cache activities are not taking effect when clearing them. Is your storage folder located inside your public_html or outside?

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 wackyracer8 » Mon Mar 19, 2018 6:32 am

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

Active Member

Posts

Joined
Fri May 13, 2011 1:15 am

Post by straightlight » Mon Mar 19, 2018 6:33 am

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?

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 wackyracer8 » Mon Mar 19, 2018 6:37 am

both config.php files have
define('DIR_STORAGE', '/home/account-name/storage/');

Active Member

Posts

Joined
Fri May 13, 2011 1:15 am

Post by straightlight » Mon Mar 19, 2018 6:40 am

Clear your vqcache folder (except index.html). So far, it seem like a server cache issue.

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 wackyracer8 » Mon Mar 19, 2018 6:49 am

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?

Active Member

Posts

Joined
Fri May 13, 2011 1:15 am

Post by straightlight » Mon Mar 19, 2018 6:50 am

Delete what's inside of it but not the actual folder (except index.html file).

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 wackyracer8 » Mon Mar 19, 2018 6:54 am

Nope, still the error :(

Active Member

Posts

Joined
Fri May 13, 2011 1:15 am

Post by straightlight » Mon Mar 19, 2018 6:55 am

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?

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 wackyracer8 » Mon Mar 19, 2018 7:00 am

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

Active Member

Posts

Joined
Fri May 13, 2011 1:15 am

Post by straightlight » Mon Mar 19, 2018 7:07 am

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).

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 wackyracer8 » Mon Mar 19, 2018 7:22 am

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.

Active Member

Posts

Joined
Fri May 13, 2011 1:15 am

Post by straightlight » Mon Mar 19, 2018 7:33 pm

- 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.

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
Who is online

Users browsing this forum: DesignCart and 98 guests