error message:
Permalink
Hello, recently I have this error message : syntax error, unexpected '\' (T_NS_SEPARATOR), expecting identifier (T_STRING)
I did not change anything ...
I did not change anything ...
I'd try to empty the cache in concrete5.
If you add this to your /application/config/app.php you should be able to see the file where the error is coming from
/* * ------------------------------------------------------------------------ * Debug settings * ------------------------------------------------------------------------ */ 'debug' => [ /* * Display errors * * @var bool */ 'display_errors' => true, /* * Site debug level *
Viewing 15 lines of 19 lines. View entire code block.
for now my app.php it's
-----------------
<?php
return array(
);
----------------
I have to replace by your code ?
-----------------
<?php
return array(
);
----------------
I have to replace by your code ?
I put
----------------------------
<?php
return array(
);
'debug' => [
/*
* Display errors
*
* @var bool
*/
'display_errors' => true,
/*
* Site debug level
*
* @var string (message|debug)
*/
'detail' => 'debug',
],
-------------------
it was a blank page.
I handed the first code
----------------------------
<?php
return array(
);
'debug' => [
/*
* Display errors
*
* @var bool
*/
'display_errors' => true,
/*
* Site debug level
*
* @var string (message|debug)
*/
'detail' => 'debug',
],
-------------------
it was a blank page.
I handed the first code
Put it to this
<?php return array( 'debug' => array( /* * Display errors * * @var bool */ 'display_errors' => true, /* * Site debug level * * @var string (message|debug) */ 'detail' => 'debug'
Viewing 15 lines of 17 lines. View entire code block.
Not better, I have the same error message
Are you seeing a black screen with the error message on it? If so you should be able to see in the left column what file the error is caused by.
That change doesn't seem to have taken effect, can you verify that change was made on the live site?
If it's there try deleting everything in /application/files/cache except the index.html
If it's there try deleting everything in /application/files/cache except the index.html
everything ?
Yes, delete everything except the index.html in the /application/files/cache directory - this is basically the same as pressing the "Clear Cache" button in the dashboard, but you can't get to that button because of this error.
it's back but I wonder if I have not removed things and more ...
Everything that was in that cache folder will re-generate as you browse the site, nothing in there is important.
I cross my fingers so that everything is ok, I'll see tomorrow ...
Merci !!!!
Merci !!!!