Jump to content

"Unable to load template 'file:helpers/uploader/ajax.tpl'"


mlakey130

Recommended Posts

When I am in back office, if I go to my Categories and try and edit any of the categories, I receive the following error:

An exception has been thrown during the rendering of a template ("Unable to load template 'file:helpers/uploader/ajax.tpl'").

[Twig\Error\RuntimeError 0]

I can view any of the categories, I just cannot edit any of them.

I am not a programmer so I don't how to get around or fix this error.

 

I have copied form my info the following:

Server information: Linux #1 SMP Mon Aug 27 21:07:08 MSK 2018 x86_64

Server software version: Apache

PHP version: 7.4.29

Memory limit: 1000M

Max execution time: 900

Upload Max File size: 256M

PrestaShop version: 1.7.8.6

Shop URL: http://www.artwarehouse.biz/pshop/

Shop path: /home/f3ldecor/public_html/pshop

Current theme in use: classic

 

Does anybody have any idea how I fix this? Thanks, Mitch

Link to comment
Share on other sites

  • 8 months later...

Hello. To me is happening the same. I am on PS 1.7.8.7 but I upgraded from PS 1.6.1.18.

I guess is an fault because of upgrade (if I install an fresh copy the error don't appear).

I set the developer mode and on errors is looking like Twig and Smarty, both, don't find the ''helpers/uploader/ajax.tpl" file; I checked (both, on upgraded version and on fresh install copy) and the file is there (\admin\themes\default\template\helpers\uploader\ajax.tpl). So most probably the error come from the fact that both template engines (Twig and Smarty) are co-exist. As far as I know since 1.7.0.0 the Twig system looked to replace Smarty gradually, so most probably on Back-Office Smarty should not be called. And because I am on an upgraded version probably Smarty left somewhere.

Is not 100% sure, I am still digging.

Link to comment
Share on other sites

I'm having the same issue when trying to edit a category.

It's a fresh installation where have been imported product, categories, clients, orders, etc.

@kenoffice @mlakey130 could you find any soution?

Información del servidor: Linux #1 SMP Tue Nov 8 14:08:25 EST 2022 x86_64
Versión del software del servidor: Apache
Versión PHP: 7.4.33
Límite de memoria: 256M
Tiempo máx. de ejecución: 18000
Tamaño máx. para la subida de archivos: 100M
Versión de MySQL: 10.3.35-MariaDB-log
Versión de PrestaShop: 1.7.8.7

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...