Post by BostonGames » Sat Feb 22, 2020 3:18 am

I am still new to OpenCart, and I recently changed from a 3rd party theme that did not work for my store to Journal 3 which is a lot more flexible. Things are going well except I get this error when I click "checkout" from my store's cart:

Code: Select all

Fatal error: Uncaught Twig_Error_Loader: Unable to find template "checkout/nicocheckout.twig" (looked into: /home/bostonga/ocartdata/storage/modification/catalog/view/theme, /home/bostonga/public_html/merch/catalog/view/theme). in /home/bostonga/public_html/merch/system/library/template/Twig/Loader/Filesystem.php:215 Stack trace: #0 /home/bostonga/public_html/merch/system/library/template/Twig/Loader/Filesystem.php(139): Twig_Loader_Filesystem->findTemplate('checkout/nicoch...') #1 /home/bostonga/public_html/merch/system/library/template/Twig/Environment.php(312): Twig_Loader_Filesystem->getCacheKey('checkout/nicoch...') #2 /home/bostonga/public_html/merch/system/library/template/Twig/Environment.php(378): Twig_Environment->getTemplateClass('checkout/nicoch...', NULL) #3 /home/bostonga/ocartdata/storage/modification/system/library/template/twig.php(85): Twig_Environment->loadTemplate('checkout/nicoch...') #4 /home/bostonga/ocartdata/storage/modification/system/library/template.php(59): Template\Twig->render('checkout/nico in /home/bostonga/public_html/merch/system/library/template/Twig/Loader/Filesystem.php on line 215
Note: all files that start with "nico" are from the first 3rd party custom theme I had.

I have Opencart Version 3.0.3.2

Trying to not have to re-install OC and do a bunch of backtracking - would someone be able to help me solve this?

I am fluent with CSS3/HTML5 but have no experience with php. Hoping it can be as simple as uploading a functioning checkout php file to my home/bostonga/ocartdata/storage/modification/catalog/view/theme with filezilla or something, but I am not sure. Thanks for any help!
Last edited by BostonGames on Sat Feb 22, 2020 3:23 am, edited 2 times in total.

Newbie

Posts

Joined
Sat Sep 07, 2019 4:24 am

Post by straightlight » Sat Feb 22, 2020 3:22 am

No expertise is required to identify this line:

Code: Select all

Fatal error: Uncaught Twig_Error_Loader: Unable to find template "checkout/nicocheckout.twig"
This TWIG file is simply missing where you are originally attempting to launch the action from. Originating from an installed extension.

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 BostonGames » Sat Feb 22, 2020 3:28 am

Thank you for the help : )

Do you know if there is a quick way to get a default/unedited Opencart checkout TWIG to replace the nicocheckout.php without having to re-install OC?

Newbie

Posts

Joined
Sat Sep 07, 2019 4:24 am

Post by straightlight » Sat Feb 22, 2020 3:34 am

nicocheckout.php file originates from an installed extension. There's no need to re-install Opencart for this. Rather, contact the extension developer to resolved this 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 BostonGames » Sat Feb 22, 2020 3:38 am

Oh boy I may have to go to fiverr again. The developer for the first theme I had was unable to give me the support I needed so I had to go to fiverr and hire someone to help (a big reason why I switched to Journal 3 theme) so I doubt she would reply for this issue any time in this century lol.

Thanks for the help though! I will google around a little more before I ask more uninformed questions.

Newbie

Posts

Joined
Sat Sep 07, 2019 4:24 am

Post by xxvirusxx » Sat Feb 22, 2020 2:37 pm

That module possible have an ocmod file in Modifications list, or in system folder, or replace original checkout.php and load that twig file.

https://codecanyon.net/item/one-page-ch ... e/13392033

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 JNeuhoff » Sat Feb 22, 2020 4:38 pm

I switched to Journal 3 theme
Out of the frying pan into the fire!

It looks like you are using a 3rd party extension for your one-step checkout which clashes with other extensions. Since Journal3 doesn't go by OpenCart standards it's worth asking Journal3 for support on this. Or you could find a developer in the commercial section of this OpenCart forum who can fix it.

Also, don't buy from codecanyon.net, they simetimes sell illegal copies of software from OpenCart extension authors, and codecanyon won't always address these copyright violations. If your one-page checkout issue can't be solved, you could always search the OpenCart marketplace for a suitable one, and ask the authors for Journal3 support!

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: No registered users and 8 guests