Error with kinetic an 1.7 rc3
-
- Regular
- Posts: 110
- Joined: Sun Apr 08, 2007 3:42 pm
- Location: Germany
- Contact:
Error with kinetic an 1.7 rc3
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/duckhome.de/hosts/duckhome.de/tb/templates/kinetic/entries.tpl" on line 78 "{if $template_option.footer_timestamp_toggle == 'always' || ($template_option.footer_timestamp_toggle == 'no_update' AND NOT(($template_option.footer_updated_timestamp_toggle =='always' || ($template_option.footer_updated_timestamp_toggle =='duration' && $time_elapsed_modified < $template_option.update_duration_period)) && ($time_since_modified > $template_option.update_grace_period)))}" PHP function 'NOT' not allowed by security setting' in /home/duckhome.de/hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php:665 Stack trace: #0 /home/duckhome.de/hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_security.php(191): Smarty_Internal_TemplateCompilerBase->trigger_template_error('PHP function 'N...') #1 /home/duckhome.de/hos in /hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 665
What i have to do?
What i have to do?
Re: Error with kinetic an 1.7 rc3
...speak with the one which has produced it... and learn to read these exceptions, which definitely look ugly and confusing, but provide all the information you need.
Don seems to use NOT as a function() in entries.tpl on line 78, while he forgot to add a whitespace as it should read:
Code: Select all
PHP function 'NOT' not allowed by security setting'
Code: Select all
AND NOT (($template_option.footer_updated_timestamp_toggle =='always' ...
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
-
- Regular
- Posts: 110
- Joined: Sun Apr 08, 2007 3:42 pm
- Location: Germany
- Contact:
Re: Error with kinetic an 1.7 rc3
You are right a whitespace helps. And you are also right with the next error:
Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file '-3' in 'file:/home/duckhome.de/hosts/duckhome.de/tb/templates/kinetic/entries.tpl'' in /home/duckhome.de/hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatebase.php:127 Stack trace: #0 /home/duckhome.de/hosts/duckhome.de/tb/templates_c/kinetic/32/e7/67/32e7671f04e9c8b36be4be5f46b2c9137ccea545.file.entries.tpl.php(567): Smarty_Internal_TemplateBase->fetch() #1 /home/duckhome.de/hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatebase.php(180): content_5147215d8c8db8_49507255(Object(Smarty_Internal_Template)) #2 /home/duckhome.de/hosts/duckhome.de/tb/include/functions_smarty.inc.php(73): Smarty_Internal_TemplateBase->fetch('file:/home/duck...', NULL, NULL, NULL, false) #3 /home/duckhome.de/hosts/duckhome.de/tb/include/functions_entries.inc.php(1239): serendipity_smarty_fetch('ENTRIES', 'entries.tpl', true) #4 /home/duckhome.de/hosts/duckhome.de/tb/include/genpage.inc.php(13 in /hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatebase.php on line 127
The only file with -3 ist on Line 300
{eval var=$footer_currentPage-3 assign="paginationStartPage"}
My time as a programmer are ended years before and i am not able to find out what is wrong. Ah surely i have got the same error message in http://www.optional-necessity.com/suppo ... ?f=5&t=196
But there is nobody alive.
Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file '-3' in 'file:/home/duckhome.de/hosts/duckhome.de/tb/templates/kinetic/entries.tpl'' in /home/duckhome.de/hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatebase.php:127 Stack trace: #0 /home/duckhome.de/hosts/duckhome.de/tb/templates_c/kinetic/32/e7/67/32e7671f04e9c8b36be4be5f46b2c9137ccea545.file.entries.tpl.php(567): Smarty_Internal_TemplateBase->fetch() #1 /home/duckhome.de/hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatebase.php(180): content_5147215d8c8db8_49507255(Object(Smarty_Internal_Template)) #2 /home/duckhome.de/hosts/duckhome.de/tb/include/functions_smarty.inc.php(73): Smarty_Internal_TemplateBase->fetch('file:/home/duck...', NULL, NULL, NULL, false) #3 /home/duckhome.de/hosts/duckhome.de/tb/include/functions_entries.inc.php(1239): serendipity_smarty_fetch('ENTRIES', 'entries.tpl', true) #4 /home/duckhome.de/hosts/duckhome.de/tb/include/genpage.inc.php(13 in /hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatebase.php on line 127
The only file with -3 ist on Line 300
{eval var=$footer_currentPage-3 assign="paginationStartPage"}
My time as a programmer are ended years before and i am not able to find out what is wrong. Ah surely i have got the same error message in http://www.optional-necessity.com/suppo ... ?f=5&t=196
But there is nobody alive.
Re: Error with kinetic an 1.7 rc3
He sleeps!Jochen Hoff wrote:You are right a whitespace helps. And you are also right with the next error:
The only file with -3 ist on Line 300
{eval var=$footer_currentPage-3 assign="paginationStartPage"}
My time as a programmer are ended years before and i am not able to find out what is wrong. Ah surely i have got the same error message in http://www.optional-necessity.com/suppo ... ?f=5&t=196
But there is nobody alive.
Try
Code: Select all
{eval var=($footer_currentPage-3) assign="paginationStartPage"}
Code: Select all
{assign focup=($footer_currentPage-3)}
{eval var=$focup assign="paginationStartPage"}
Code: Select all
{eval var={$footer_currentPage-3} assign="paginationStartPage"}
But I think it is even more, as eval is eval and should "~not" be used any more.
I don't know why he needs to use eval here, but it would better be to use use assign only. To know how this could be done, I'd need some more code parts...
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
-
- Regular
- Posts: 110
- Joined: Sun Apr 08, 2007 3:42 pm
- Location: Germany
- Contact:
Re: Error with kinetic an 1.7 rc3
We have make a step but now the error is
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/duckhome.de/hosts/duckhome.de/tb/templates/kinetic/entries_fullbox.tpl" on line 37 "{if $template_option.fullbox_timestamp_toggle == 'always' || ($template_option.fullbox_timestamp_toggle == 'no_update' AND NOT(($template_option.fullbox_updated_timestamp_toggle =='always' || ($template_option.fullbox_updated_timestamp_toggle =='duration' && $time_elapsed_modified < $template_option.update_duration_period)) && ($time_since_modified > $template_option.update_grace_period)))}" PHP function 'NOT' not allowed by security setting' in /home/duckhome.de/hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php:665 Stack trace: #0 /home/duckhome.de/hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_security.php(191): Smarty_Internal_TemplateCompilerBase->trigger_template_error('PHP function 'N...') #1 /home/duc in /hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 665
The last entry in Don Chambers Board is from Oct. 2012 and i think you must read the full entries.tpl to help.So i attached it.
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/duckhome.de/hosts/duckhome.de/tb/templates/kinetic/entries_fullbox.tpl" on line 37 "{if $template_option.fullbox_timestamp_toggle == 'always' || ($template_option.fullbox_timestamp_toggle == 'no_update' AND NOT(($template_option.fullbox_updated_timestamp_toggle =='always' || ($template_option.fullbox_updated_timestamp_toggle =='duration' && $time_elapsed_modified < $template_option.update_duration_period)) && ($time_since_modified > $template_option.update_grace_period)))}" PHP function 'NOT' not allowed by security setting' in /home/duckhome.de/hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php:665 Stack trace: #0 /home/duckhome.de/hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_security.php(191): Smarty_Internal_TemplateCompilerBase->trigger_template_error('PHP function 'N...') #1 /home/duc in /hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 665
The last entry in Don Chambers Board is from Oct. 2012 and i think you must read the full entries.tpl to help.So i attached it.
-
- Regular
- Posts: 110
- Joined: Sun Apr 08, 2007 3:42 pm
- Location: Germany
- Contact:
Re: Error with kinetic an 1.7 rc3
excuse me the next error comes from entries_fullbox.tpl
Re: Error with kinetic an 1.7 rc3
From the Smarty docs case {eval}:
so better use something else to not slowdown you environment.
This errors is like the first one "PHP function 'NOT' not allowed by security setting" while using in entries_fullbox.tpl, which needs a whitespace too.
Code: Select all
Evaluated variables are compiled on every invocation...
This errors is like the first one "PHP function 'NOT' not allowed by security setting" while using
Code: Select all
AND NOT(($template_option.fullbox_updated_timestamp_toggle =='always'
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
-
- Regular
- Posts: 110
- Joined: Sun Apr 08, 2007 3:42 pm
- Location: Germany
- Contact:
Re: Error with kinetic an 1.7 rc3
there was it a white space
Re: Error with kinetic an 1.7 rc3
pardon me?
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
-
- Regular
- Posts: 110
- Joined: Sun Apr 08, 2007 3:42 pm
- Location: Germany
- Contact:
Re: Error with kinetic an 1.7 rc3
But now we have an other error:
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/duckhome.de/hosts/duckhome.de/tb/templates/kinetic/entries_halfbox.tpl" on line 25 "{if $template_option.halfbox_timestamp_toggle == 'always' || ($template_option.halfbox_timestamp_toggle == 'no_update' AND NOT(($template_option.halfbox_updated_timestamp_toggle =='always' || ($template_option.halfbox_updated_timestamp_toggle =='duration' && $time_elapsed_modified < $template_option.update_duration_period)) && ($time_since_modified > $template_option.update_grace_period)))}" PHP function 'NOT' not allowed by security setting' in /home/duckhome.de/hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php:665 Stack trace: #0 /home/duckhome.de/hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_security.php(191): Smarty_Internal_TemplateCompilerBase->trigger_template_error('PHP function 'N...') #1 /home/duc in /hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 665
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/duckhome.de/hosts/duckhome.de/tb/templates/kinetic/entries_halfbox.tpl" on line 25 "{if $template_option.halfbox_timestamp_toggle == 'always' || ($template_option.halfbox_timestamp_toggle == 'no_update' AND NOT(($template_option.halfbox_updated_timestamp_toggle =='always' || ($template_option.halfbox_updated_timestamp_toggle =='duration' && $time_elapsed_modified < $template_option.update_duration_period)) && ($time_since_modified > $template_option.update_grace_period)))}" PHP function 'NOT' not allowed by security setting' in /home/duckhome.de/hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php:665 Stack trace: #0 /home/duckhome.de/hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_security.php(191): Smarty_Internal_TemplateCompilerBase->trigger_template_error('PHP function 'N...') #1 /home/duc in /hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 665
Re: Error with kinetic an 1.7 rc3
LESEN!!!!
Immer derselbe Fehler - diesmal in entries_halfbox.tpl.
Upps
READ!!!!
Same again - this time in entries_halfbox.tpl.
Did you upgrade your plugins before updating Serendipity?
You should do that (recommended)!
You site duckhome has an error in contactform, which seems to be caused by an old version.
Also you should investigate the slowness of your server responses. What could cause these hangouts..?
Immer derselbe Fehler - diesmal in entries_halfbox.tpl.
Upps
READ!!!!
Same again - this time in entries_halfbox.tpl.
Did you upgrade your plugins before updating Serendipity?
You should do that (recommended)!
You site duckhome has an error in contactform, which seems to be caused by an old version.
Also you should investigate the slowness of your server responses. What could cause these hangouts..?
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
-
- Regular
- Posts: 110
- Joined: Sun Apr 08, 2007 3:42 pm
- Location: Germany
- Contact:
Re: Error with kinetic an 1.7 rc3
Dammed, i am stupid i looked in content-halfbox.tpl insteadt of entries-halfbox.tpl. Now it works fine. Thank you.
Re: Error with kinetic an 1.7 rc3
Please read my previouses post. I updated some issues.
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
-
- Regular
- Posts: 110
- Joined: Sun Apr 08, 2007 3:42 pm
- Location: Germany
- Contact:
Re: Error with kinetic an 1.7 rc3
The slowness of the server comes from time to time. Duckhome takex most of the power, but i not able to clear the problem. Is the same with the traffic. Its terrible. But i have no money to pay an administrator so it is a problem.
I had updatete the plugins before i update to the new s9y and now there are no new updates. Guestbook runs.
I had updatete the plugins before i update to the new s9y and now there are no new updates. Guestbook runs.
Re: Error with kinetic an 1.7 rc3
I know. Thats why I said contactform!
If Spartacus does not provide a new version, take spartacus web and copy that file (in binary mode) to your place.
Code: Select all
Fatal error: Uncaught exception 'ErrorException' with message 'Serendipity error: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an array' in /home/duckhome.de/hosts/duckhome.de/tb/include/compat.inc.php:118 Stack trace: #0 [internal function]: errorToExceptionHandler(Array, NULL) #1 /home/duckhome.de/hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatebase.php(75): array_merge('file:/home/duck...', NULL, NULL, false) #2 /home/duckhome.de/hosts/duckhome.de/tb/plugins/serendipity_event_contactform/serendipity_event_contactform.php(418): Smarty_Internal_TemplateBase->fetch() #3 /home/duckhome.de/hosts/duckhome.de/tb/plugins/serendipity_event_contactform/serendipity_event_contactform.php(490): serendipity_event_contactform->show('entries_header', Object(serendipity_property_bag), Array, '') #4 /home/duckhome.de/hosts/duckhome.de/tb/include/plugin_api.inc.php(1073): serendipity_event_contactform->event_hook('entries_header', Array, '') #5 /home/duckhome in /hosts/duckhome.de/tb/include/compat.inc.php on line 118
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian