Jump to content

Error: Parse error: syntax error, unexpected ''category_rule'' (T_CONSTANT_ENCAPSED_STRING), expecting function (T_FUNCTION) or const (T_CONST)


Recommended Posts

Hola, tenia problemas en mi tienda, y tengo comprado e pretyurl lo desactive para actualizarlo al hacer esto se colgo todo! y no hay manera de encontrar el problema!

he borrado el modulo y nada, he borrado: Dispatcher.php como indican en el foro y nada!

los logs dicen:

Parse error: syntax error, unexpected ''category_rule'' (T_CONSTANT_ENCAPSED_STRING), expecting function (T_FUNCTION) or const (T_CONST)

-----

Parse error: syntax error, unexpected ''category_rule'' (T_CONSTANT_ENCAPSED_STRING), expecting function (T_FUNCTION) or const (T_CONST)

Hide context    Show trace

[▼ "exception" => FatalThrowableError {#1 ▶} ]

 

y:

----

Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: "Parse error: syntax error, unexpected ''category_rule'' (T_CONSTANT_ENCAPSED_STRING), expecting function (T_FUNCTION) or const (T_CONST)" at /var/www/vhosts/****/httpdocs/override/classes/Dispatcher.php line 4

Hide context    Hide trace

[▼ "exception" => FatalThrowableError {#1 ▶} ]

{▼ /var/www/vhosts/****/httpdocs/override/classes/Dispatcher.php:4 {▼ › { › \t\t'category_rule' => array( › \t\t\t'controller' =>\t'category', } /var/www/vhosts/*****/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Debug/DebugClassLoader.php:159 {▶} Symfony\Component\Debug\DebugClassLoader->loadClass() {} /var/www/vhosts/*****/httpdocs/admin/index.php:93 {▶} }

 

alguna idea que puede ser ?¿ ya no se que hacer mas, tengo la version: 1.7.8

Edited by qs (see edit history)
Link to comment
Share on other sites

en Stack Trace

 

sale:

Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected ''category_rule'' (T_CONSTANT_ENCAPSED_STRING), expecting function (T_FUNCTION) or const (T_CONST) at override/classes/Dispatcher.php:4 at PrestaShopAutoload->load() (vendor/symfony/symfony/src/Symfony/Component/Debug/DebugClassLoader.php:159) at Symfony\Component\Debug\DebugClassLoader->loadClass() at spl_autoload_call() (admin/index.php:93)

Edited by qs (see edit history)
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...