Hi
I'll do my best to explain.
I have a gallery template created by me working perfectly OK on
CMS version 1.12.1
Gallery version 2.1
PHP version 5.5.26
But when using the same template on new system.
CMS 2.1.2
Gallery version 2.1
PHP version 5.5.28
I get a PHP error from this bit of code.
{if not is_numeric($page)} {assign var=page value= 1}
error: showing ->>> PHP function 'is_numeric' not allowed by security setting
The two systems are on different servers.
So I suppose my question is were are the security settings?
I trust someone can understand and explain.
Thanks.
PHP error with Gallery Template
Re: PHP error with Gallery Template
Add to config.php:
Code: Select all
$config['permissive_smarty'] = 1;- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: PHP error with Gallery Template
Thanks for the tip.
Now works ok.
Now works ok.


