sphpblog looks pretty cool.
In WP 1.3 there isn’t any code for static pages so far. I’m not sure that static pages are even in the wishlist of features.
Anonymous
Hello again!
I’m trying this hack now on my live site (last time was in local). This time it gives me this error….
Fatal error: [] operator not supported for strings in /home/antonio/public_html/wp-blog-header.php on line 469
What happened now?
Than you again,
Cialdo
That’s pretty weird. Is that happening only when EzStatic is enabled? Or only on an EzStatic URL? Or does it happen all the time? What version of WP did you install?
Oh, by the way, the MicroWiki beta thing is online. See:
http://wordpress.org/support/10/10415
Anonymous
Ok, I am having the same issue where when I type in a location, it takes me to the main page. I realize it is because I changed something, but I am still a n00b and really dunno what I need to do to fix the issue.
http://www.machspeed.us/blogger/index.php?static=new
I have a new.htm file:
<div class=”post”>
Ok, writing a 100 things about me list seems the most painless way of telling a little bit about myself. Here goes…
</div>
(license.txt also doesn’t work)
If someone needs access to the files or the server, just let me know. TIA
It’s because you changed your “menu” bar to “sidebar”. Change:
<div id="sidebar">
To:
<div id="menu">
Then things might start working. On the other hand, if you don’t make this change, then they certainly won’t work. š
Anonymous
Worked like a charm.
Thanks!
Anonymous
Ok, now I have a slightly different issue.
The file will open as is should, but it does not take on any of the style sheet.
ie, the file looks exactly like when I made it… text/color/etc do no take on the wordpress layout.
Any ideas?
Anonymous
Trying to make this work, but still no such luck. I get this messagge:
Using buffer callback: default output handler
Using buffer callback: EzStatic_ob_cb
on top of my page – whitch is the index.php page with some of the CSS fucked up.
I have tweaked the index.php quite well, so I am thinking that it might be the reason for the
strange behavoir…
Any suggestions?
@kirby14:
Did you give up? I don’t see a “100 things” link on your page any more.
@anonymous:
It might be useful if I could see your site for myself. Creating a login and adding your site URL to your profile makes this information easy to get.
Ringmaster: The site is not online yet – but I will come back when I get it out there. Untill then I will have to dive into the code and see if I can figure it out on mye own. š
Ok, played some – and fixed the id issue metioned a few times allready š
Now I am getting:
Database error: [You have an error in your SQL syntax near ” at line 1]
SELECT * FROM wp_posts WHERE ID =
So everything is not peachy yet! Guess the ezstatic files still does not like my index.php file.
I am trying to understand the flow of the eztatic file, but it does take some time š
Anonymous
Helpful tip.
If you are like me and have 1,001 hacks/plugins running with WP. There is a chance that you would want your static pages loaded with ezstatic to use information from your plugins or hacks. I have an ip2location plugin that I am using. I wanted a page that outputted the information from this plugin. When I made the calls to the plugin from the static page, I would get object/function not defined errors. The problem turned out to be a pretty simple one. Ezstatic plugins were being called by WP before the ip2location plugin. So, the static page didn’t initialize yet. The reason is WP calls the plugins in alabetical order. I renamed the ezstatic plugin to Z_ezstatic.php (so it would be called last by WP plugin system), and my pages worked like a charm. So, if you have syntax errors coming form WP plugin calls in your ezstatic pages, try renaming your ezstatic plugin so that it’s at the bottom of your plugin directory.
Hope that helps someone.
@ringmaster:
This is a great plugin, but there a security issue that concerns me: a hacker can use this plugin to look at any text file. For example, if you type:
http://www.domain.com/index.php?static=.htaccess
on most websites using your plugin, this will simply outout the .htaccess contents. And you can do this for any file.
Is it possible for you to make an optional list of “allowed static pages”? Say I want ezstatic to only show about.php, archives.php, contact.php and nothing else, can there be an array in the php code where i can specify ‘about’,’archives’,’contact’ as the only pages that the plugin should process?