Post by jhdynamics » Tue Mar 13, 2018 2:27 am

Running a clean install of OC3.0. Im using the standard issue template with no added modules. It was running perfect until I edited the code in column_left.twig
I am pretty sure I put it back to how it was default but front end of website is still BLANK. Admin backend seems fully functional.
The website is here: http://bassinonlures.com
Code in file is:
{% if modules %}
<aside id="column-left" class="col-sm-3 hidden-xs">
{% for module in modules %}
{{ module }}
{% endfor %}
</aside>
{% endif %}
Anyone know whats going on? TIA

Newbie

Posts

Joined
Tue Mar 14, 2017 11:37 pm

Post by straightlight » Tue Mar 13, 2018 3:32 am

Run the TWIG debug tool and check your error logs in your OC admin - > systems - > maintenance - > error logs page.

TWIG debug tool: https://www.opencart.com/index.php?rout ... n_id=31419

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member

Posts

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

Post by jhdynamics » Tue Mar 13, 2018 4:22 am

straightlight wrote:
Tue Mar 13, 2018 3:32 am
Run the TWIG debug tool and check your error logs in your OC admin - > systems - > maintenance - > error logs page.

TWIG debug tool: https://www.opencart.com/index.php?rout ... n_id=31419
I checked my error log and found nothing related. Installed the debug tool but Dont really understand how to use it.

Newbie

Posts

Joined
Tue Mar 14, 2017 11:37 pm

Post by straightlight » Tue Mar 13, 2018 4:49 am

If you haven't found anything in your error logs, check your webserver's access logs either from your root FTP domain or in your host error logs icon from the console. If you don't understand the functionality of the Template Switcher, contact the extension developer for more information.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member

Posts

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

Post by jhdynamics » Tue Mar 13, 2018 7:25 am

straightlight wrote:
Tue Mar 13, 2018 4:49 am
If you haven't found anything in your error logs, check your webserver's access logs either from your root FTP domain or in your host error logs icon from the console. If you don't understand the functionality of the Template Switcher, contact the extension developer for more information.
Do you think this could be related?
2018-03-12 17:46:02 - PHP Warning: unlink(/home/allth029/ocartdata/storage/cache/cache.catalog.language.1520880362): No such file or directory in /home/allth029/bassinonlures.com/system/library/cache/file.php on line 68

Newbie

Posts

Joined
Tue Mar 14, 2017 11:37 pm

Post by jhdynamics » Tue Mar 13, 2018 7:37 am

jhdynamics wrote:
Tue Mar 13, 2018 7:25 am
straightlight wrote:
Tue Mar 13, 2018 4:49 am
If you haven't found anything in your error logs, check your webserver's access logs either from your root FTP domain or in your host error logs icon from the console. If you don't understand the functionality of the Template Switcher, contact the extension developer for more information.
Do you think this could be related?
2018-03-12 17:46:02 - PHP Warning: unlink(/home/allth029/ocartdata/storage/cache/cache.catalog.language.1520880362): No such file or directory in /home/allth029/bassinonlures.com/system/library/cache/file.php on line 68
Which I dont know why it would AS all i did before this happened was edit left column.

Newbie

Posts

Joined
Tue Mar 14, 2017 11:37 pm

Post by straightlight » Tue Mar 13, 2018 7:45 am


The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member

Posts

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

Post by jhdynamics » Tue Mar 13, 2018 8:23 am

straightlight wrote:
Tue Mar 13, 2018 7:45 am
Follow this post: viewtopic.php?f=202&t=202785&p=716811#p716811
OKAY, here it is!
found this error on logs.
[12-Mar-2018 23:47:57 UTC] PHP Fatal error: Uncaught exception 'Twig_Error_Loader' with message 'Unable to find template "common/column_left.twig" (looked into: /home/allth029/bassinonlures.com/catalog/view/theme).' in /home/allth029/bassinonlures.com/system/library/template/Twig/Loader/Filesystem.php:215
I dont understand this because it is there! And its been changed back to default. So what exactly is the issue?

Newbie

Posts

Joined
Tue Mar 14, 2017 11:37 pm

Post by straightlight » Tue Mar 13, 2018 8:33 am

If using a custom theme, ensure that each of these sub-folders: common contains the column_left.twig file. You may have edited / upload the TWIG file on the wrong theme path.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member

Posts

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

Post by jhdynamics » Tue Mar 13, 2018 8:47 am

straightlight wrote:
Tue Mar 13, 2018 8:33 am
If using a custom theme, ensure that each of these sub-folders: common contains the column_left.twig file. You may have edited / upload the TWIG file on the wrong theme path.
It is not a custom theme. It is the default one that comes with OpenCart. I edited the file through the admin Theme Editor. File is not missing. I verified through FTP aswell.


This string is on line 215 of /bassinonlures.com/system/library/template/Twig/Loader/filesystem.php:
public function prependPath($path, $namespace = self::MAIN_NAMESPACE)

Newbie

Posts

Joined
Tue Mar 14, 2017 11:37 pm

Post by jhdynamics » Tue Mar 13, 2018 8:52 am

So, all that happened, is that i edited the file, caused an error. Then when i corrected it back, the website did not fix itself.

Newbie

Posts

Joined
Tue Mar 14, 2017 11:37 pm

Post by jhdynamics » Tue Mar 13, 2018 9:01 am

straightlight wrote:
Tue Mar 13, 2018 8:33 am
If using a custom theme, ensure that each of these sub-folders: common contains the column_left.twig file. You may have edited / upload the TWIG file on the wrong theme path.
Also, I tried clearing cache as you said before. No changes.

Newbie

Posts

Joined
Tue Mar 14, 2017 11:37 pm

Post by straightlight » Tue Mar 13, 2018 9:00 pm

jhdynamics wrote:
Tue Mar 13, 2018 9:01 am
straightlight wrote:
Tue Mar 13, 2018 8:33 am
If using a custom theme, ensure that each of these sub-folders: common contains the column_left.twig file. You may have edited / upload the TWIG file on the wrong theme path.
Also, I tried clearing cache as you said before. No changes.
There were no explicit instructions on this topic where I did mentioned to clear the cache which usually I would of indicated the OC cache for v3.x releases. Followed are the instructions in case: viewtopic.php?f=202&t=201745#p713479 and make sure NOT to have used the automatic settings from the Security Modal window from the OC admin but rather the manual settings.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member

Posts

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

Post by jhdynamics » Tue Mar 13, 2018 10:02 pm

straightlight wrote:
Tue Mar 13, 2018 9:00 pm
jhdynamics wrote:
Tue Mar 13, 2018 9:01 am
straightlight wrote:
Tue Mar 13, 2018 8:33 am
If using a custom theme, ensure that each of these sub-folders: common contains the column_left.twig file. You may have edited / upload the TWIG file on the wrong theme path.
Also, I tried clearing cache as you said before. No changes.
There were no explicit instructions on this topic where I did mentioned to clear the cache which usually I would of indicated the OC cache for v3.x releases. Followed are the instructions in case: viewtopic.php?f=202&t=201745#p713479 and make sure NOT to have used the automatic settings from the Security Modal window from the OC admin but rather the manual settings.
Hi Straightline. Tried with no luck. However, I did install a new theme and then applied my changes to that template which did make the website work again. However, now if I want to edit any of the theme's files, the changes to not appear. So if I edit header.twig, and save it... nothing happens.. Is this site basically broken?

Newbie

Posts

Joined
Tue Mar 14, 2017 11:37 pm

Post by straightlight » Tue Mar 13, 2018 10:06 pm

Server cache issues. Ensure to have followed the install.txt file's instructions in your downloaded OC ZIP file from opencart.com . If this still doesn't resolve the issue, contact your host.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member

Posts

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

Users browsing this forum: No registered users and 22 guests