Page 1 of 1
text block
Posted: Fri Oct 20, 2017 10:13 pm
by giordolo
Parse error: syntax error, unexpected 'autore' (T_STRING) in D:\inetpub\webs\pusterlanet\template\homepage\blocks\text\settings.php on line 6
my text;
Pusterla.net è un sito amatoriale nato al solo scopo di ridurre il tempo libero dell'autore; non ha alcun valore scientifico e qualunque riferimento da rimuovere o contestare può essere gestito indirizzando una mail all'autore (chi cerca trova..). Che risponderà nel tempo libero.
note that now when I try to go to the block settings I obtain a blank page, I'm working with ftp to try to solve
Regards
Re: text block
Posted: Fri Oct 20, 2017 10:23 pm
by Jachym
Most likely the problem is in the apostrophe. Use the HTML symbol for apostrophe/quotation mark.
'
Re: text block
Posted: Fri Oct 20, 2017 11:37 pm
by meteocaldas
giordolo wrote: ↑Fri Oct 20, 2017 10:13 pm
Parse error: syntax error, unexpected 'autore' (T_STRING) in
my text;
Pusterla.net è un sito amatoriale nato al solo scopo di ridurre il tempo libero dell
'autore; non ha alcun valore scientifico e qualunque riferimento da rimuovere o contestare può essere gestito indirizzando una mail all
'autore (chi cerca trova..). Che risponderà nel tempo libero.
note that now when I try to go to the block settings I obtain a blank page...
Jachym wrote: ↑Fri Oct 20, 2017 10:23 pm
Most likely the problem is in the apostrophe. Use the HTML symbol for apostrophe/quotation mark.
'
That's right Jachym. I already faced that problem and for future users of the textBlock, take into account that special characteres that can be interpreted as HTML or PHP like
' " < > have to be written as html entities
' " < > etc or you will get an error and
you will not to be able to go back to textBlock settings. The only way to solve the problem is to edit blocks/text/settings.php directly from the server.
So giardolo text should be:
Pusterla.net è un sito amatoriale nato al solo scopo di ridurre il tempo libero dell
'autore; non ha alcun valore scientifico e qualunque riferimento da rimuovere o contestare può essere gestito indirizzando una mail all
'autore r](chi cerca trova..). Che risponderà nel tempo libero.
Re: text block
Posted: Sat Oct 21, 2017 4:55 am
by nikokara - BANNED
Or try this
Pusterla.net è un sito amatoriale nato al solo scopo di ridurre il tempo libero dell \' autore; non ha alcun valore scientifico e qualunque riferimento da rimuovere o contestare può essere gestito indirizzando una mail all\' autore (chi cerca trova..). Che risponderà nel tempo libero.
(backslash before apostrophe)

Re: text block
Posted: Sat Oct 21, 2017 6:49 am
by giordolo
Thanks to all
Solved via FTP with
Pusterla.net è un sito amatoriale nato al solo scopo di ridurre il tempo libero dell'autore; non ha alcun valore scientifico e qualunque riferimento da rimuovere o contestare può essere gestito indirizzando una mail all'autore r](chi cerca trova..). Che risponderà nel tempo libero.
I have removed r] baceuse it was printed out.
Than I went to block settings and I was able to edit or read. I have pressed SAVE without any change and went in error again. So when it saves, it generate an error manipulating the string.
Now it is OK but with FTP manual edit
Re: text block
Posted: Sat Oct 21, 2017 12:27 pm
by meteocaldas
nikokara wrote: ↑Sat Oct 21, 2017 4:55 am
Or try this... (backslash before apostrophe)
Excelent tip. Thanks
http://www.meteocaldas.com/mtp