Static Page problems
Static Page problems
Okay, I'm feeling like an idiot right now as I can't seem to get the static plugin to work. I have created the page & titled it "about". I have tried to access it by typing the url as well as creating a link but keep getting a 404 Error.
Here is a copy of my screen shot
I have included the rewrite code in the .htaccess file but can't get the page to show typing the full or rewritten url.
Any help would be much appreciated.
Here is a copy of my screen shot
I have included the rewrite code in the .htaccess file but can't get the page to show typing the full or rewritten url.
Any help would be much appreciated.
The good news is the bad news is wrong! Random Kindness Project
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Static Page problems
That's really strange. The URL http://n2ition.com/serendipity/index.ph ... age]=about should normally do!
Could you try if it works when selecting the 'default' template instead of your custom one? And please post your .htaccess file here, it maybe interfering.
Which version of the static page plugin are you using?
Regards,
Garvin
Could you try if it works when selecting the 'default' template instead of your custom one? And please post your .htaccess file here, it maybe interfering.
Which version of the static page plugin are you using?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
This is getting stranger...now all of a sudden (without me doing anything) it is finally showing the page. However, the text is showing below the data area (below everthing in fact). I tried switching to a different template (default as you suggested) and the same problem occurs.
The rewritten url (/static/about) is still giving me a 404 error but to be honest I can live without that aspect assuming the rest of the plugin works.
Heres a copy of the .htaccess file
I am using v0.3 of the plugin.
Thanks for any help you can give.
The rewritten url (/static/about) is still giving me a 404 error but to be honest I can live without that aspect assuming the rest of the plugin works.
Heres a copy of the .htaccess file
Code: Select all
# BEGIN s9y
DirectoryIndex /serendipity/index.php
php_value session.use_trans_sid 0
php_value register_globals off
RewriteEngine On
RewriteBase /
RewriteRule ^static/(.*) index.php?serendipity[subpage]=$1
<Files *.tpl>
deny from all
</Files>
<Files *.sql>
deny from all
</Files>
<Files *.inc.php>
deny from all
</Files>
<Files *.db>
deny from all
</Files>
# END s9y
Thanks for any help you can give.
The good news is the bad news is wrong! Random Kindness Project
Situation has been resolved...it turns out somehow I had an old copy of the code. I downloaded the latest cvs version and it is working just fine. I still can't get the short URL to work but it is probably an issue with mod_rewrite which I know NOTHING about or even where to start.
The good news is the bad news is wrong! Random Kindness Project
Static page problem
Hi,
I'm using Serendipity v.0.7-beta3 and I'm using the latest StaticPage Plugin.
I followed the instructions found on "http://www.romulus23.de/s9y-plugins/staticpage-en" but I'm not able to make it work...
If I try the address : http://www.fosenbauer.com/blog/static/contact.html it just shows the usual blog entries and not the static page.
So, I've got a few questions :
1) what is the Permalink ? Can I just put every URL I want ? Or do I have to use a specified URL like "http://www.yourblog.com/index.php?seren ... =pagetitle"
2) does the plugin create automatically a static page or do I have to create the folder "static" and than create a page "contact.html" (actually I did, but it just loaded the simple page outside the blog).
Thanks a lot... Oh, the print screen is here :
Thanks !
I'm using Serendipity v.0.7-beta3 and I'm using the latest StaticPage Plugin.
I followed the instructions found on "http://www.romulus23.de/s9y-plugins/staticpage-en" but I'm not able to make it work...
If I try the address : http://www.fosenbauer.com/blog/static/contact.html it just shows the usual blog entries and not the static page.
So, I've got a few questions :
1) what is the Permalink ? Can I just put every URL I want ? Or do I have to use a specified URL like "http://www.yourblog.com/index.php?seren ... =pagetitle"
2) does the plugin create automatically a static page or do I have to create the folder "static" and than create a page "contact.html" (actually I did, but it just loaded the simple page outside the blog).
Thanks a lot... Oh, the print screen is here :
Thanks !
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Static page problem
You need to use Serendipity 0.8.
Regards,
Garvin
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Yes, we have ported the default theme from Tom to the new version; the frontend by default will not change
Regards,
Garvin
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hi,
sorry to be so dumb, but I still have the same problem
http://www.fosenbauer.com/blog/static/contact.html just shows me the page without the S9Y formatting,,, Why ?
Subsidiary question : once it will work, is it possible to rename the page to *.php (and to change also the permalink to *.php) ? Or would it work if I put some php in the *.html page ?
Thanks a lot, and sorry to ask all those questions. I don't understand why is it so easy to install for everybody and not for me...
Thanks!
sorry to be so dumb, but I still have the same problem
I'm using the newest S9Y version now (0.8)and I have the newest static page plugin. But it still doesn't work.Hi,
I'm using Serendipity v.0.7-beta3 and I'm using the latest StaticPage Plugin.
I followed the instructions found on "http://www.romulus23.de/s9y-plugins/staticpage-en" but I'm not able to make it work...
If I try the address : http://www.fosenbauer.com/blog/static/contact.html it just shows the usual blog entries and not the static page.
So, I've got a few questions :
1) what is the Permalink ? Can I just put every URL I want ? Or do I have to use a specified URL like "http://www.yourblog.com/index.php?seren ... =pagetitle"
2) does the plugin create automatically a static page or do I have to create the folder "static" and than create a page "contact.html" (actually I did, but it just loaded the simple page outside the blog).
http://www.fosenbauer.com/blog/static/contact.html just shows me the page without the S9Y formatting,,, Why ?
Subsidiary question : once it will work, is it possible to rename the page to *.php (and to change also the permalink to *.php) ? Or would it work if I put some php in the *.html page ?
Thanks a lot, and sorry to ask all those questions. I don't understand why is it so easy to install for everybody and not for me...
Thanks!
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Can you post a screenshot of the configuration section of your static page plugin? I think there's something wrong in the way you've setup the plugin.
Renaming the page to .php is not possible, no. And no, you cannot move PHP into the plugin. You need to create your own plugin to execute PHP code. Example plugins for that exist as 'serendipity_event_externalphp' in the plugins repository.
Best regards,
Garvin
Can you post a screenshot of the configuration section of your static page plugin? I think there's something wrong in the way you've setup the plugin.
Renaming the page to .php is not possible, no. And no, you cannot move PHP into the plugin. You need to create your own plugin to execute PHP code. Example plugins for that exist as 'serendipity_event_externalphp' in the plugins repository.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hi again,
thanks yor your quick answer. Here are the screenshots :
Staticpage plugin :
-
From my FTP program - the contact.html file is created in the www.fosenbauer.com/blog/static folder...
What's wrong ?
And thanks for the hint concerning the php nugget...
thanks yor your quick answer. Here are the screenshots :
Staticpage plugin :
-
From my FTP program - the contact.html file is created in the www.fosenbauer.com/blog/static folder...
What's wrong ?
And thanks for the hint concerning the php nugget...
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hehe
The problem is, the static pages are maintained virtually. By creating an actual FILE in the directory actually overrides any content.
You do not need to create any files. Just paste all your content from the prepared file into the textarea on the plugin configuration.
Serendipity will then virtually serve that file, just like it virtually serves files from your /archives/3-entry.html folder. Those files also don't really exist
The URL shorthand names needs to be set to 'contact' only, not a full path.
Best regards,
Garvin
The problem is, the static pages are maintained virtually. By creating an actual FILE in the directory actually overrides any content.
You do not need to create any files. Just paste all your content from the prepared file into the textarea on the plugin configuration.
Serendipity will then virtually serve that file, just like it virtually serves files from your /archives/3-entry.html folder. Those files also don't really exist
The URL shorthand names needs to be set to 'contact' only, not a full path.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hum... thanks...
2 options :
1) my server doesn't support that (not possible, because the rest of S9Y work well)
2) i'm too stupid to use this feature,,,
- I deleted the "static" directory (and the contact.html page)
- i pasted the HTML code in the plugin's textarea
- i changed the config as you said (e.g. the screenshot)
And it still doesn't work... http://www.fosenbauer.com/blog/static/contact.html shows the usual blog entries but not that f*#" page...
Could someone shoot me, please ?
2 options :
1) my server doesn't support that (not possible, because the rest of S9Y work well)
2) i'm too stupid to use this feature,,,
- I deleted the "static" directory (and the contact.html page)
- i pasted the HTML code in the plugin's textarea
- i changed the config as you said (e.g. the screenshot)
And it still doesn't work... http://www.fosenbauer.com/blog/static/contact.html shows the usual blog entries but not that f*#" page...
Could someone shoot me, please ?
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
My guess is that you did not enter the absolute HTTP path in the permalink, but entered an HTTP URL instead.
Because, calling the shorthand BC-URL http://www.fosenbauer.com/blog/index.ph ... e]=contact works fine.
I suggest to set your HTTP Permalink to /blog/static/contact.html.
BTW: You may not paste HTML content with <body> and <html> contents. Those are already emitted by Serendipity.
Regards,
Garvin
Because, calling the shorthand BC-URL http://www.fosenbauer.com/blog/index.ph ... e]=contact works fine.
I suggest to set your HTTP Permalink to /blog/static/contact.html.
BTW: You may not paste HTML content with <body> and <html> contents. Those are already emitted by Serendipity.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/