Jump to content

Recommended Posts

Boas

 

Pessual estou a ter todos os dias erros no cache_index.php o que coloca a minha loja com erro e fica off aparece tela branca com este erro

 

 

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ')' in /home/maxmegas/public_html/cache/class_index.php on line 258

por vezes aparece a linha 190 tambem nao sei o que fazer o erro desaparece quando mando o mesmo ficheiro novo para a pasta cache

 

 

se alguem souber como resolver agradecia pois nao sei mais o que fazer abaixo mando a lista do log de erros pode ser que ajude

 

 

log de erros na pasta admin

 

 

[04-May-2013 17:02:18 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:297) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 346

[04-May-2013 17:02:18 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:297) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 347

[04-May-2013 17:02:27 Europe/Lisbon] PHP Warning: Invalid argument supplied for foreach() in /home/maxmegas/public_html/classes/controller/AdminController.php on line 1184

[04-May-2013 17:02:27 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/classes/controller/AdminController.php:1184) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 346

[04-May-2013 17:02:27 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/classes/controller/AdminController.php:1184) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 347

[04-May-2013 17:02:27 Europe/Lisbon] PHP Catchable fatal error: Argument 2 passed to ObjectModelCore::hydrateCollection() must be an array, boolean given, called in /home/maxmegas/public_html/classes/Collection.php on line 344 and defined in /home/maxmegas/public_html/classes/ObjectModel.php on line 1302

[04-May-2013 17:02:32 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 190

[04-May-2013 17:02:38 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:357) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 346

[04-May-2013 17:02:38 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:357) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 347

[04-May-2013 17:05:01 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:357) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 346

[04-May-2013 17:05:01 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:357) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 347

[04-May-2013 17:05:06 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 190

[04-May-2013 17:05:13 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:357) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 346

[04-May-2013 17:05:13 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:357) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 347

[04-May-2013 17:05:32 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:357) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 346

[04-May-2013 17:05:32 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:357) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 347

[04-May-2013 17:05:37 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/cache/class_index.php:590) in /home/maxmegas/public_html/classes/Cookie.php on line 302

[04-May-2013 17:05:37 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/cache/class_index.php:590) in /home/maxmegas/public_html/classes/Cookie.php on line 302

[04-May-2013 17:05:37 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/cache/class_index.php:590) in /home/maxmegas/public_html/classes/controller/AdminController.php on line 1084

[04-May-2013 17:05:49 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:357) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 346

[04-May-2013 17:05:49 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:357) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 347

[04-May-2013 17:09:32 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:357) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 346

[04-May-2013 17:09:32 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:357) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 347

[04-May-2013 17:16:52 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:357) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 346

[04-May-2013 17:16:52 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:357) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 347

[04-May-2013 17:18:10 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:357) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 346

[04-May-2013 17:18:10 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:357) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 347

[04-May-2013 17:19:37 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:357) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 346

[04-May-2013 17:19:37 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:357) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 347

[04-May-2013 17:24:15 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:357) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 346

[04-May-2013 17:24:15 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:357) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 347

[04-May-2013 17:28:24 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:357) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 346

[04-May-2013 17:28:24 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:357) in /home/maxmegas/public_html/controllers/admin/AdminThemesController.php on line 347

[04-May-2013 18:09:29 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 190

[05-May-2013 05:55:18 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 190

[05-May-2013 05:56:56 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 190

[05-May-2013 06:06:29 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 190

[05-May-2013 13:41:00 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 190

[06-May-2013 00:25:28 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ')' in /home/maxmegas/public_html/cache/class_index.php on line 258

 

 

 

 

Log de erros na pasta home da loja

 

 

 

[15-Apr-2013 21:15:31 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:15:34 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:15:44 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:16:20 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:16:38 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:16:43 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:16:47 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:16:47 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:16:51 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:16:51 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:17:08 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:17:23 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:17:26 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:17:32 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:17:39 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:17:42 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:17:52 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:18:01 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:18:07 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:18:11 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:18:21 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:18:30 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:18:36 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:19:15 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:19:19 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:19:28 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:19:31 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:19:55 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:20:10 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:20:40 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:20:40 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:21:06 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:21:11 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:21:19 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:21:37 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:21:46 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

[15-Apr-2013 21:21:46 Europe/Lisbon] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 402

 

 

 

 

 

PS será que o erro esta a ser gerado por causa deste php ????

 

 

 

T_ENCAPSED_AND_WHITESPACE in /home/maxmegas/public_html/cache/class_index.php on line 190

[04-May-2013 17:02:38 Europe/Lisbon] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/maxmegas/public_html/controllers/admin/AdminThemesController.php:357)

 

 

AdminThemesController.php (será que tenho de mandar este ficheiro php para deixar de ter este problema ??????

 

 

 

conto com a vossa ajuda

 

 

 

Maxwell

Link to comment
Share on other sites

O que foi que vc. alterou no código ? O problem com certeza não é devido a um bug, mas alguma alteração que fez. E qual é a versão PS que está dando este problema ?

 

O arquivo /cache existe ? Qual o CHMOD deste arquivo ? Lendo o link não consigo entender a estrutura do seu servidor. public_html é onde a sua loga está instalada ?

Está me faltando /cache/X para a software encontrar a localização do cache. Alguma alteração mal feita está escrevendo/procurando o lugar errado, fornecendo este monte de erros. Se não mais souber o ficheiro que foi alterado, então aconselho instalar novamente Prestashop e não mais tocar os ficheiros.

Link to comment
Share on other sites

De modo algum o servidor da loja é public_html/cache/class_index.php este é o endereço correto.

Eu ja tentei colocar as mesmas pastas ou ficheiros da mesma versao e mesmo assim esta a dar este erro ja suspendi alguns modulos pensando que fosse disso e na verdade ja nao tem tido tantos erros aparecem mas com menos frequencia

 

 

Max

Link to comment
Share on other sites

Olá a versao da minha loja é esta 1.5.0.13 eu ate tentei instalar a versao nova pelo 1 click upgrade mas sempre dá erro e tenho mais de 300 produtos ja colocados nao quero colocar tudo de novo nas outras versoes mais antigas bastava mandar os ficheiros novos e correr a pasta instal lá tinha se queria actualizar ou fazer instalação nova esta aqui ja nao faz isso axei mal a versao do meu servidor é :

 

Versão do Apache 2.2.23 Versão do PHP 5.3.20 Versão do MySQL 5.1.68-cll-lve

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...