Hey guys, long time! 🙂
Anyway I’ve got a new plugin for you to try: Faked Folders. It’s supposed to be my idea of static-posts done right…
- Creation of pseudo-folders for easier management.
- Custom templates.
- Enhanced plugin support allowing you to choose which plugins are activated for which folder.
- Supports comments in static-posts, allowing for quick guestbooks and such.
And more I’m sure once people start using it. Let me know what you think!
i’m getting the same error too, i guess it hasn’t been fixed 🙁
How… odd. :\ To be honest the plugin should automatically update the database and it will say something like “database updated to version 2.0” or something.
And what did you mean by “the error document actually picks the post with the corresponding id from the parent directory which is better then nothing.” What exactly is happening here?
About the modified database bit. My plugin runs off 3 of it’s own tables and two fields in the posts table, so even heavy database modification should be okay. As long as you have WP 1.2 you should be fine. Which version are you using btw?
“I’ll try installing 1.2 tonight and see if the plugin will work, then I can try and discover what change â€“ between versions â€“ is causing the plugin to fail.”
Sounds good! I’m going to install the 1.3 alpha tonight and we’ll hopefully find a solution. 🙂 But right now, work calls.
Hi, I’m trying your plugin as well. Using 1.2 mingus.
I got the same error message as Guvner (static_template_access column not found) but fixed it by manually adding the column using phpMyAdmin.
I also added the mod rewrite rules to my .htaccessfile.
I was trying to create an about page, which points to
and it gives the same error as the one Guvner got. Warning: fopen bla bla bla..
Unable to create temp file or pre-designated file.
To continue using this plugin, please create a blank file called “fakedfolders.txt” in your WP root directory and chmod it to be 666.
I create the fakedfolder.txt file in root and chmod it. After that, all I get is a blank page with nothing on it.
Just figured out I had to manually edit the Templates section.
Good plugin, just needs a little proper documentation. Newbies can get a little lost. Keep up the good work, really appreciate your effort. 😉
Okay, I may be stupid. But how do you link to these “static articles” I can’t find a URL that I can link to, say from the menu on the side or anything like that.
Heh, I don’t think there is anyway to link them other than to manually code it into a link list or something.
What exactly do you mean by “manually edit the Template section”, I’m still getting the error and would love to get this to work.
Well it’s a dubious honour to have inflated this thread with the ‘Guvner bug’ 🙂
I’m getting this error when I try to view static posts, whether error pages or normal static pages. All my templates are sparkly new new to a fresh install this afternoon.
Yes, even the Guvner Bug has it’s silver lining. 🙂
Okay, that info REALLY clears things up for me that you are getting these while trying to view your created static pages. In your last post about this bug you said you got the errors on line 837; are you sure that’s right? The way you describe it I imagine the line number to be >1040 or so…
I remember I once had a host who had their PHP installed in a really funky way in that what the ini-functions and phpinfo() would show wouldn’t necessarily be accurate. I’m beginning to worry that we have this case here. So if the error is between lines 1168 to 1176 (and only if) try making the following change:
if( ini_get('safe_mode') == '' &&
if( false &&
Hopefully that will bump you out of that error (and yes, I fixed the bug where people get stuck on the “create fakedfolders.txt” message). 🙂
To be honest I didn’t think you would have a template error. The way you were describing it and how you were handling it made me think that you would have figured it out by now.
Bingo *large bow*, but now I’ve got it working I’m sure I’ll break it again very soon. Thank you very much for your patience and an essential plugin.
And I too had the same problems as Dextro and Guvner. I’m using WordPress 1.2
I’ve found 2 bugs with Faked Folders 2.0.
1. implode() is called with the wrong number of arguments, which prevents this plugin from working on PHP < 4.3.0.
2. When doing a clean install of 2.0 (not an upgrade), the
static_template_accesscolumn is not created.
This patch fixes both issues.
Though I have gotten it installed, I have not managed to get it working. I’ve added a .htaccess that WP can modify, and it has all the correct mod_rewrite rules, but I’m unable to access any of my static pages.
I created a folder named ‘Static’, and added a page to it, ‘test’. When I go to http://www.mysite.com/Static/test , I get a 404.
I tried going to http://www.mysite.com/index.php?static=true&name=test – what the RewriteRule appears to redirect to – but I get a white page with some PHP errors:
Warning: fopen("1", "w") - Permission denied in /path/to/mysite/wordpress/wp-content/plugins/faked-folders.php on line 1171
Warning: Supplied argument is not a valid File-Handle resource in /path/to/mysite/wordpress/wp-content/plugins/faked-folders.php on line 1172
Warning: Supplied argument is not a valid File-Handle resource in /path/to/mysite/wordpress/wp-content/plugins/faked-folders.php on line 1173
Fatal error: Failed opening required '1' (include_path='.') in /path/to/mysite/wordpress/wp-content/plugins/faked-folders.php on line 1175
FWIW, I changed the ini_get() statement to ‘false’, and I get the same errors.
- You must be logged in to reply to this topic.