Blank page showing with Static Pages plugin
Posted: Wed Jul 13, 2005 1:12 am
I'm having troubles with Static Pages plugin version 2.50. It seemed to have worked for a while, but now it doesn't work again.
I have no problems with version 2.34 of the plugin and until the problem is fixed I've downgraded it to this version.
It seems to be related to the implementation of allowing custom templates that's causing it. Now, back when it worked, I had to have the .tpl file put in the templates/default/ folder. That was weird since it's supposed to work even when it was in the same folder as the plugin.
Anyways, what happens now is that, if the plugin_staticpage.tpl file is with the plugin or in templates/default/, and I load the static page, I get a blank page instead.
Viewing the source of the HTML reveals that it only has ONE line:
Meanwhile, if I delete (well, move it to somewhere the plugin doesn't know) the plugin_staticpage.tpl, I do have the page loading, except for the actual content of the static page, which is still left blank. This is what happened back when the plugin 'worked' but the template file was in the same directory as the plugin.
I've made sure the files I'm working with were properly downloaded. I've dropped the database (serendipity_staticpages) and re-entered the data to make sure I'm not having corrupt data problems. None of this has helped the situation. I'm not sure what's causing this.
I have no problems with version 2.34 of the plugin and until the problem is fixed I've downgraded it to this version.
It seems to be related to the implementation of allowing custom templates that's causing it. Now, back when it worked, I had to have the .tpl file put in the templates/default/ folder. That was weird since it's supposed to work even when it was in the same folder as the plugin.
Anyways, what happens now is that, if the plugin_staticpage.tpl file is with the plugin or in templates/default/, and I load the static page, I get a blank page instead.
Viewing the source of the HTML reveals that it only has ONE line:
Now that's just not right.<!-- ENTRIES START -->
Meanwhile, if I delete (well, move it to somewhere the plugin doesn't know) the plugin_staticpage.tpl, I do have the page loading, except for the actual content of the static page, which is still left blank. This is what happened back when the plugin 'worked' but the template file was in the same directory as the plugin.
I've made sure the files I'm working with were properly downloaded. I've dropped the database (serendipity_staticpages) and re-entered the data to make sure I'm not having corrupt data problems. None of this has helped the situation. I'm not sure what's causing this.