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

 
A3020 replied on at Permalink Reply
A3020
I'd try to empty the cache in concrete5.
hutman replied on at Permalink Reply
hutman
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
         *
fabriqueamusique replied on at Permalink Reply
for now my app.php it's

-----------------

<?php

return array(
);

----------------

I have to replace by your code ?
fabriqueamusique replied on at Permalink Reply
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
hutman replied on at Permalink Reply
hutman
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'
fabriqueamusique replied on at Permalink Reply
Not better, I have the same error message
hutman replied on at Permalink Reply
hutman
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.
fabriqueamusique replied on at Permalink Reply
not a normal page

http://fabriqueamusique.fr/
hutman replied on at Permalink Reply
hutman
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
fabriqueamusique replied on at Permalink Reply
everything ?
hutman replied on at Permalink Reply
hutman
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.
fabriqueamusique replied on at Permalink Reply
it's back but I wonder if I have not removed things and more ...
hutman replied on at Permalink Reply
hutman
Everything that was in that cache folder will re-generate as you browse the site, nothing in there is important.
fabriqueamusique replied on at Permalink Reply
I cross my fingers so that everything is ok, I'll see tomorrow ...
Merci !!!!