Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error updating OC to latest release #5718

Closed
mehtaman opened this issue Jul 10, 2017 · 6 comments
Closed

Error updating OC to latest release #5718

mehtaman opened this issue Jul 10, 2017 · 6 comments

Comments

@mehtaman
Copy link

mehtaman commented Jul 10, 2017

Hi,

I followed the upgrade guide but my site is now down with the following error when I go to /install:

Fatal error: 
Uncaught Exception: 
Error: Could not load template adaptor ! in /home/u572407319/public_html/system/library/template.php:11 
Stack trace: #0 /home/u572407319/public_html/system/storage/modification/system/engine/loader.php(81): 

Template->__construct(NULL) #1 /home/u572407319/public_html/install/controller/common/header.php(14): Loader-

>view('common/header', Array) #2 /home/u572407319/public_html/system/storage/modification/system/engine/action.php(51): 

ControllerCommonHeader->index(Array) #3 /home/u572407319/public_html/system/storage/modification/system/engine/loader.php(24): Action-

>execute(Object(Registry), Array) #4 /home/u572407319/public_html/install/controller/upgrade/upgrade.php(28): Loader-

>controller('common/header') #5 /home/u572407319/public_html/system/storage/modification/system/engine/action.php(51): ControllerUpgradeUpgrade->index() 

#6 /home/u572407319/public_html/system/engine/router.php(34): Action->execute(Object(Registry)) 

#7 /home/u572407319/public_html/system/engine/router.php(29): Router in /home/u572407319/public_html/system/library/template.php on line 11

What can be done to fix this?

@danielkerr
Copy link
Member

the template adapters set by the system/config/catalog.php

// Template
$_['template_engine'] = 'twig';

clear your modification directory!

system/storage/

make sure ot leave index.html there though

@mehtaman
Copy link
Author

Thanks I will give this a go now 👍

@mehtaman
Copy link
Author

now my store page is asking to select a theme
when I did extensions to enable them i get an error

Notice: Undefined index: token in /home/u572407319/public_html/admin/controller/extension/captcha/google_captcha.php on line 56Notice: Undefined index: token in /home/u572407319/public_html/admin/controller/extension/captcha/google_captcha.php on line 61Notice: Undefined index: token in /home/u572407319/public_html/admin/controller/extension/captcha/google_captcha.php on line 66Notice: Undefined index: token in /home/u572407319/public_html/admin/controller/extension/captcha/google_captcha.php on line 69Notice: Undefined index: token in /home/u572407319/public_html/admin/controller/extension/captcha/google_captcha.php on line 71
Fatal error: Uncaught Twig_Error_Loader: Unable to find template "extension/captcha/google_captcha.twig" (looked into: /home/u572407319/public_html/admin/view/template). in /home/u572407319/public_html/system/library/template/Twig/Loader/Filesystem.php:215 Stack trace: #0 /home/u572407319/public_html/system/library/template/Twig/Loader/Filesystem.php(139): Twig_Loader_Filesystem->findTemplate('extension/captc...') #1 /home/u572407319/public_html/system/library/template/Twig/Environment.php(312): Twig_Loader_Filesystem->getCacheKey('extension/captc...') #2 /home/u572407319/public_html/system/library/template/Twig/Environment.php(378): Twig_Environment->getTemplateClass('extension/captc...', NULL) #3 /home/u572407319/public_html/system/library/template/twig.php(36): Twig_Environment->loadTemplate('extension/captc...') #4 /home/u572407319/public_html/system/library/template.php(20): Template\Twig->render('extension/captc...', NULL) #5 /home/u572407319/public_html/system/engine/loader.php(85): Template->render('extension/capt in /home/u572407319/public_html/system/library/template/Twig/Loader/Filesystem.php on line 215

@danielkerr
Copy link
Member

u have mixed the old files with the new one.

delete the file

/home/u572407319/public_html/admin/controller/extension/captcha/google_captcha.php

and any others that throw an error like this.

@ankit521
Copy link

Getting error while adding new Payment Method to OpenCart 3.x. Installation happened smoothly but while editing this payment method getting this error.

Fatal error: Uncaught Twig_Error_Loader: Unable to find template "extension/payment/paytmtpl.twig" (looked into: C:/xampp/htdocs/oczest/upload/admin/view/template). in C:\xampp\htdocs\oczest\upload\system\library\template\Twig\Loader\Filesystem.php:215 Stack trace: #0 C:\xampp\htdocs\oczest\upload\system\library\template\Twig\Loader\Filesystem.php(139): Twig_Loader_Filesystem->findTemplate('extension/payme...') #1 C:\xampp\htdocs\oczest\upload\system\library\template\Twig\Environment.php(312): Twig_Loader_Filesystem->getCacheKey('extension/payme...') #2 C:\xampp\htdocs\oczest\upload\system\library\template\Twig\Environment.php(378): Twig_Environment->getTemplateClass('extension/payme...', NULL) #3 C:\xampp\htdocs\oczest\upload\system\library\template\twig.php(33): Twig_Environment->loadTemplate('extension/payme...') #4 C:\xampp\htdocs\oczest\upload\system\library\template.php(51): Template\Twig->render('extension/payme...', '0') #5 C:\xampp\htdocs\oczest\upload\system\engine\loader.php(125): Template->render('extension/pa in C:\xampp\htdocs\oczest\upload\system\library\template\Twig\Loader\Filesystem.php on line 215

@samadhan-07
Copy link

this erroor showing.extension in install but unable to enable......................

Undefined index: token in /home/payu/domains/payufest.in/public_html/admin/controller/extension/payment/pinepg.php on line 135Notice: Undefined index: token in /home/payu/domains/payufest.in/public_html/admin/controller/extension/payment/pinepg.php on line 141Notice: Undefined index: token in /home/payu/domains/payufest.in/public_html/admin/controller/extension/payment/pinepg.php on line 147Notice: Undefined index: token in /home/payu/domains/payufest.in/public_html/admin/controller/extension/payment/pinepg.php on line 151Notice: Undefined index: token in /home/payu/domains/payufest.in/public_html/admin/controller/extension/payment/pinepg.php on line 152

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants