preview window and cms_selflink error
Posted: Tue Apr 03, 2007 9:11 am
Hi,
On some pages when you press "preview" you get syntax errors, I never knew why this happened because on some pages it did, on others there was no error at all.
Here is an example;
I finally found that you only get these errors when you have cms_selflinks on a page, like the above error it has these links in the page;
does anyone has a fix for this error, while still keeping the cms_selflink ?
If you change the cms_selflink to a regular html link the error is gone.
sys info;
CMSMS 1.05
PHP 5.xx
MySQL 5.xx
Well its not an issue that i cant live with but i stil hope someone has a solution.
On some pages when you press "preview" you get syntax errors, I never knew why this happened because on some pages it did, on others there was no error at all.
Here is an example;
Code: Select all
string(141) "Smarty error: [in preview:cmspreviewze7PgR line 44]: syntax error: invalid attribute name: 'diensten\' (Smarty_Compiler.class.php, line 1536)" string(141) "Smarty error: [in preview:cmspreviewze7PgR line 44]: syntax error: invalid attribute name: 'Diensten\' (Smarty_Compiler.class.php, line 1536)" string(142) "Smarty error: [in preview:cmspreviewze7PgR line 44]: syntax error: invalid attribute name: 'producten\' (Smarty_Compiler.class.php, line 1536)" string(142) "Smarty error: [in preview:cmspreviewze7PgR line 44]: syntax error: invalid attribute name: 'Producten\' (Smarty_Compiler.class.php, line 1536)"Code: Select all
{cms_selflink page='diensten' text='Diensten'}
{cms_selflink page='producten' text='Producten'}If you change the cms_selflink to a regular html link the error is gone.
sys info;
CMSMS 1.05
PHP 5.xx
MySQL 5.xx
Well its not an issue that i cant live with but i stil hope someone has a solution.