Page 1 of 1

Static Page Plugin bug?

Posted: Tue Aug 14, 2007 8:49 pm
by Carla
I can access my admin with no problem, but any page on my blog renders the following error:
Fatal error: Call to undefined method serendipity_smarty_emulator::register_function() in /home/hauntedp/public_html/serendip/plugins/serendipity_event_staticpage/serendipity_event_staticpage.php on line 1006
versions:
latest of plugin: v.3.5.6
S9y: 1.2-beta5
PHP: Since my workplace/host allows both, I attempted it with, and received the same result with, v. 4.4.4 and v. 5.2.0.

Any ideas? Is it between my keyboard and my chair :wink: , or a bug?

Re: Static Page Plugin bug?

Posted: Wed Aug 15, 2007 10:21 am
by garvinhicking
Hi!

You seem to be using the default-php or default-xml serendipity template, right? Those are only meant for developers. You should switch to a different theme, like the default theme. :)

Regards,
Garvin

Re: Static Page Plugin bug?

Posted: Wed Aug 15, 2007 2:40 pm
by Carla
garvinhicking wrote:You seem to be using the default-php or default-xml serendipity template, right? Those are only meant for developers. You should switch to a different theme, like the default theme. :)
No, I'm using the 1024px theme...but I do have those two themes just sitting in my themes folder. Best to remove them?

Thanks for your help!

Re: Static Page Plugin bug?

Posted: Wed Aug 15, 2007 3:14 pm
by garvinhicking
Hi!

It seems that somehow then your template directory got mixed up!?

Only the default-php/ and default-xml/ directories should have a 'template.inc.php' file which uses this 'serendipity_smarty_emulator' function.

Under whatever circumstances it seems your files either got corrupted, or you copied some files wrongfully. Maybe re-uploading all fresh files will help you?

Also, deleting the default-php and default-xml directories might help as well.

Regards,
Garvin

Posted: Wed Aug 15, 2007 10:18 pm
by Carla
Somehow a copy of template.inc.php did get into my theme's folder, probably when I upgraded S9y versions. Thank you! All better.