Post by sandeepmishra83 » Sat Dec 23, 2017 8:39 pm

Getting language error on checkout page and product page on after hosting migration.

old storage folder also migrated to new hosting but issues not resolved.

how to fix it

Warning: unlink(/home/cakeexpr/public_html/storagececoin/cache/cache.catalog.language.1514036151): No such file or directory in /home/cakeexpr/public_html/system/library/cache/file.php on line 68


Posts

Joined
Thu Nov 23, 2017 10:34 am

Post by sandeepmishra83 » Sat Dec 23, 2017 9:06 pm

i am using opencart 3.0.2.0 and journal2 with single page quick checkout


Posts

Joined
Thu Nov 23, 2017 10:34 am

Post by straightlight » Sat Dec 23, 2017 10:43 pm

Replace your system/library/cache/file.php with this one: https://github.com/opencart/opencart/bl ... e/file.php and see if that fixes the issue afterwards by clearing the cache from the OC admin dashboard and from your admin - > extensions - > modifications - > refresh button.
Last edited by straightlight on Tue Dec 26, 2017 9:16 pm, edited 1 time in total.

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 sandeepmishra83 » Tue Dec 26, 2017 8:59 am

you are saying to replace file.php whereas your code file name is apc.php

pls check


Posts

Joined
Thu Nov 23, 2017 10:34 am

Post by straightlight » Tue Dec 26, 2017 9:16 pm

Link modified, thanks.

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 sandeepmishra83 » Thu Dec 28, 2017 9:17 am

issue not resolved..i have done as u said but no luck..very fedup.


Posts

Joined
Thu Nov 23, 2017 10:34 am

Post by straightlight » Thu Dec 28, 2017 9:38 am

Has your error logs reduced since the replacement of that file? See with the most recent date and time of the last event.

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 sandeepmishra83 » Sat Dec 30, 2017 11:17 pm

see the error log error.

2017-12-30 15:15:45 - PHP Warning: unlink(/home/cakeexpr/public_html/storagececoin/cache/cache.catalog.language.1514650542): No such file or directory in /home/cakeexpr/public_html/system/library/cache/file.php on line 44


Posts

Joined
Thu Nov 23, 2017 10:34 am

Post by straightlight » Sat Dec 30, 2017 11:23 pm

Did you cleared the cache from the OC admin dashboard and from your admin - > extensions - > modifications - > refresh button as well and see if the issue did persist afterwards? Also take note that your cache folder is on the wrong location. Your config.php and admin/config.php files also need to be edited accordingly to ensure the proper path locations as well as your .htaccess file.

Normally, the system/storage folder needs to be located outside your public_html folder.

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 sandeepmishra83 » Sat Dec 30, 2017 11:29 pm

2017-12-30 15:15:45 - PHP Warning: unlink(/home/cakeexpr/public_html/storagececoin/cache/cache.catalog.language.1514650542): No such file or directory in /home/cakeexpr/public_html/system/library/cache/file.php on line 44
2017-12-30 15:21:00 - PHP Warning: unlink(/home/cakeexpr/public_html/storagececoin/cache/cache.catalog.language.1514650859): No such file or directory in /home/cakeexpr/public_html/system/library/cache/file.php on line 44
2017-12-30 15:21:00 - PHP Warning: unlink(/home/cakeexpr/public_html/storagececoin/cache/cache.catalog.language.1514650860): No such file or directory in /home/cakeexpr/public_html/system/library/cache/file.php on line 44
2017-12-30 15:26:44 - PHP Warning: unlink(/home/cakeexpr/public_html/storagececoin/cache/cache.catalog.language.1514651204): No such file or directory in /home/cakeexpr/public_html/system/library/cache/file.php on line 44
2017-12-30 15:27:07 - PHP Warning: unlink(/home/cakeexpr/public_html/storagececoin/cache/cache.catalog.language.1514651226): No such file or directory in /home/cakeexpr/public_html/system/library/cache/file.php on line 44


Posts

Joined
Thu Nov 23, 2017 10:34 am

Post by straightlight » Sat Dec 30, 2017 11:42 pm

Please re-read my previous reply regarding these error logs.

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 straightlight » Sun Dec 31, 2017 10:05 am

Issue resolved. Problem occurred due to corrupted DOM file header during upload. A reliable text editor is rather suggested along with an FTP client software to save and upload the files rather than using the host file manager console to edit text files even though the DOM pop-up option appears before officially appears since even when disabling the DOM check - it does not provide full guarantee that the DOM file header will remain structured as it should afterwards.

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 sandeepmishra83 » Sun Dec 31, 2017 11:35 am

i did not get you properly...how to fix corrupted DOM..what is file location.


Posts

Joined
Thu Nov 23, 2017 10:34 am

Post by straightlight » Sun Dec 31, 2017 11:41 am

The same file you were asked to replace above - system/library/cache/file.php .

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: niagato and 647 guests