Problem with static pages and contact form
Problem with static pages and contact form
I have made a few static pages, but since I want to link to them in some articles I do not want them to show up in the list of static pages in the static page list side bar plugin. I thought that setting the option 'Show on sidebar-navigation' to 'no' would do the trick, but they still show up in the side bar. Or maybe I am misunderstanding something? I use the latest version of the static page plugin.
I also tried the contact form plugin, it shows up in the list of static pages in the side bar, which is fine, but clicking on the link gives me the front page and not the contact form. The permalink is http://www.itcn.nl/serendipity/pages/contactform.html. I also tried http://www.itcn.nl/serendipity/index.ph ... ontactform but that does not work either. Any help is much appreciated.
Regards,
Harmen.
I also tried the contact form plugin, it shows up in the list of static pages in the side bar, which is fine, but clicking on the link gives me the front page and not the contact form. The permalink is http://www.itcn.nl/serendipity/pages/contactform.html. I also tried http://www.itcn.nl/serendipity/index.ph ... ontactform but that does not work either. Any help is much appreciated.
Regards,
Harmen.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Problem with static pages and contact form
Hi!
About your first thing, basically you are right and the "show on sidebar-navigation" option should have that effect. Are you maybe using the "Simplecache" event plugin?
About the contact form: How did you configure that? What did you enter for "shorthand URL name" and page title and permalink?
Best regards,
Garvin
About your first thing, basically you are right and the "show on sidebar-navigation" option should have that effect. Are you maybe using the "Simplecache" event plugin?
About the contact form: How did you configure that? What did you enter for "shorthand URL name" and page title and permalink?
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/
Re: Problem with static pages and contact form
Hi Garvin,
Thank you for your quick reply.
Page title: ? I don't see that option
Permalink: http://www.i-tjingcentrum.nl/serendipit ... tform.html
Best regards,
Harmen.
Thank you for your quick reply.
No, sorry.garvinhicking wrote:Are you maybe using the "Simplecache" event plugin?
Shorthand URL name: "Contact Form"About the contact form: How did you configure that? What did you enter for "shorthand URL name" and page title and permalink?
Page title: ? I don't see that option
Permalink: http://www.i-tjingcentrum.nl/serendipit ... tform.html
Best regards,
Harmen.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Problem with static pages and contact form
Please try to only ust "contactform" as Shorthand URL title. It should not contain spaces, because that content is the one you actually use to call the URL!
HTH,
Garvin
HTH,
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/
Re: Problem with static pages and contact form
Hm, that makes sense [giving myself a *boing!* to the head]. I have changed it, but the problem stays.garvinhicking wrote:Please try to only ust "contactform" as Shorthand URL title. It should not contain spaces, because that content is the one you actually use to call the URL!
Best regards,
Harmen.
I stand corrected: this link does work now: http://www.i-tjingcentrum.nl//serendipi ... ontactform
But how do I get this link in the static page list? It automatically links to http://www.i-tjingcentrum.nl/serendipit ... tform.html which does not work. Is there a way to change that?
Thanx,
Harmen.
But how do I get this link in the static page list? It automatically links to http://www.i-tjingcentrum.nl/serendipit ... tform.html which does not work. Is there a way to change that?
Thanx,
Harmen.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Actually, that permalink "/pages/contactform.html" should also work. Which other event plugins do you have installed? Can it be that you have some plugin installed twice which listens on the same permalink?
Are you using mod_rewrite or Apache Errorhandling for your URL Rewriting?
Regards,
Garvin
Are you using mod_rewrite or Apache Errorhandling for your URL Rewriting?
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/
Hmmm...not that I know of. This is what I have installed:garvinhicking wrote:Actually, that permalink "/pages/contactform.html" should also work. Which other event plugins do you have installed? Can it be that you have some plugin installed twice which listens on the same permalink?
Markup: Serendipity
Livesearch
Spam Protector
Fix common XHTML errors
Highlight search queries
HTML Validator
Show Emoticon/Smilie toolbar
Browser Compatibility
Markup: Emoticate
Category Assignment
[Layout-Plugin: Printerfriendly version]
Static Pages
Customizable Entries Archive
Spartacus
Spam Protector (SURBL)
[HTML Nugget on Page]
Link List
Statistics
Guestbook (guest)
Extended options for media manager
My Calendar
Contact Form
Downloadmanager (downloadmanager)
I am using mod_rewrite. I have the same problem with the downloadmanager, the link http://www.i-tjingcentrum.nl/serendipity/downloads.html does not work either. Hmm, I see a pattern.....Are you using mod_rewrite or Apache Errorhandling for your URL Rewriting?
Best regards,
Harmen.
The static page list also does not obey the sort order that I gave. Strange.
Could this cause the problems? Spartacus says there is an update available:
Static Page List Upgrade
This plugin displays a configurable list of the static pages. It requires StaticPage plugin version 1.22 or greater.
Author: Rob Antonishen, Falk Döring; version: 1.4; Upgrade to version 1.12
But during the upgrade several message like this one appear:
The URL http://cvs.sourceforge.net/viewcvs.py/* ... rev=1.9999 could not be opened. Maybe the Serendipity or SourceForge.net Server is down - we are sorry, you need to try again later.
HM
Could this cause the problems? Spartacus says there is an update available:
Static Page List Upgrade
This plugin displays a configurable list of the static pages. It requires StaticPage plugin version 1.22 or greater.
Author: Rob Antonishen, Falk Döring; version: 1.4; Upgrade to version 1.12
But during the upgrade several message like this one appear:
The URL http://cvs.sourceforge.net/viewcvs.py/* ... rev=1.9999 could not be opened. Maybe the Serendipity or SourceForge.net Server is down - we are sorry, you need to try again later.
HM
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hm, if you are running version 1.4 of the static page plugin, you should definitely consider upgrading to version 1.12, yes.
Did you install your previous plugins with Spartacus? If yes, then it sadly seems that SourceForge.Net does indeed has an outdate and you might need to try again later. Or you can try to set the download location to "netmirror.org" in the plugin config?
Can you show me your .htaccess file? It seems that the global redirection for handling custom plugin permalinks doesn't really work. This line would be responsible for those rewrites:
....now, I've checked it. Yuor mod_rewrite is really not catching those URLs. The http://www.i-tjingcentrum.nl/serendipit ... tform.html URL returns a "404" HTTP response code, which means that the fallback "ErrorDocument" directive of .htaccess is used.
Best regards,
Garvin
Did you install your previous plugins with Spartacus? If yes, then it sadly seems that SourceForge.Net does indeed has an outdate and you might need to try again later. Or you can try to set the download location to "netmirror.org" in the plugin config?
Can you show me your .htaccess file? It seems that the global redirection for handling custom plugin permalinks doesn't really work. This line would be responsible for those rewrites:
Code: Select all
RewriteRule (.*\.html?) index.php?url=/$1 [L,QSA]
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/
Unfortunately it does not want to do that. I have changed the download location to netmirrror.org, and now there are no erroro messages any more, all the files are fetched and saved. But still is says I have version 1.4 and that I can upgrade to 1.12.garvinhicking wrote:Hm, if you are running version 1.4 of the static page plugin, you should definitely consider upgrading to version 1.12, yes.
Here it is:Can you show me your .htaccess file?
# BEGIN s9y
ErrorDocument 404 /serendipity/index.php
DirectoryIndex /serendipity/index.php
RewriteEngine On
RewriteBase /serendipity/
RewriteRule ^(archives/([0-9]+)-[0-9a-z\.\_!;,\+\-]+\.html) index.php?/$1 [NC,L,QSA]
RewriteRule ^(authors/([0-9]+)-[0-9a-z\.\_!;,\+\-]+) index.php?/$1 [NC,L,QSA]
RewriteRule ^(feeds/categories/([0-9;]+)-[0-9a-z\.\_!;,\+\-]+\.rss) index.php?/$1 [NC,L,QSA]
RewriteRule ^(feeds/authors/([0-9]+)-[0-9a-z\.\_!;,\+\-]+\.rss) index.php?/$1 [NC,L,QSA]
RewriteRule ^(categories/([0-9;]+)-[0-9a-z\.\_!;,\+\-]+) index.php?/$1 [NC,L,QSA]
RewriteRule ^archives([/A-Za-z0-9]+)\.html index.php?url=/archives/$1.html [NC,L,QSA]
RewriteRule ^([0-9]+)[_\-][0-9a-z_\-]*\.html index.php?url=$1-article.html [L,NC,QSA]
RewriteRule ^feeds/(.*) index.php?url=/feeds/$1 [L,QSA]
RewriteRule ^unsubscribe/(.*)/([0-9]+) index.php?url=/unsubscribe/$1/$2 [L,QSA]
RewriteRule ^approve/(.*)/(.*)/([0-9]+) index.php?url=approve/$1/$2/$3 [L,QSA]
RewriteRule ^delete/(.*)/(.*)/([0-9]+) index.php?url=delete/$1/$2/$3 [L,QSA]
RewriteRule ^(admin|entries)(/.+)? index.php?url=admin/ [L,QSA]
RewriteRule ^archive/? index.php?url=/archive [L,QSA]
RewriteRule ^(index|atom[0-9]*|rss|b2rss|b2rdf).(rss|rdf|rss2|xml) rss.php?file=$1&ext=$2
RewriteRule ^(plugin|plugin)/(.*) index.php?url=$1/$2 [L,QSA]
RewriteRule ^search/(.*) index.php?url=/search/$1 [L,QSA]
RewriteRule ^(serendipity\.css|serendipity_admin\.css) index.php?url=/$1 [L,QSA]
RewriteRule ^index\.(html?|php.+) index.php?url=index.html [L,QSA]
RewriteRule ^htmlarea/(.*) htmlarea/$1 [L,QSA]
RewriteRule (.*\.html?) index.php?url=/$1 [L,QSA]
<Files *.tpl.php>
deny from all
</Files>
<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
Originally there were these two lines in it as well:
php_value session.use_trans_sid 0
php_value register_globals off
But if I keep them I receive an error message:
/home/itjingc/public_html/serendipity/.htaccess: Invalid command
'php_value', perhaps mis-spelled or defined by a module not included in
the server configuration
My webhoster did not know what to do and a search on internet showed me a Dutch site (http://www.jigsnet.com/index.php?option ... Itemid=184) which advised me to put these two lines in a separate php.ini file in the Serendipity folder.
Could this be it?
Best wishes,
Harmen.
I don't mean to butt in, but I just checked how my working contact form is configured. I used only the relative HTTP path, including the serendipity dir:
/wasted_youth/feedback.html.
I think for you that would be /serendipity/pages/contactform.html. Care to try changing your config and seeing what happens?
Garvin is the best help you could ask for. If you're willing to humor a newbie, though, could you say if you have any other permalinks, and what they are? I'm suspicious of the /pages/ subdirectory, and I'm thinking that the static page plugin is trying to use it.
/wasted_youth/feedback.html.
I think for you that would be /serendipity/pages/contactform.html. Care to try changing your config and seeing what happens?
Garvin is the best help you could ask for. If you're willing to humor a newbie, though, could you say if you have any other permalinks, and what they are? I'm suspicious of the /pages/ subdirectory, and I'm thinking that the static page plugin is trying to use it.
Hi Judebert,
Thanks, you helped me out! Because the comment where you enter the permalink said 'Needs the absolute HTTP path and needs to end with .htm or .html!' I thought you had to enter a complete url, and I had as permalink http://www.i-tjingcentrum.nl/serendipit ... tform.html. But what works is /serendipity/pages/contactform.html.
Problems solved! Topic closed. I hope. Garvin and Judebert, thanks for the help.
Best wishes,
Harmen.
Thanks, you helped me out! Because the comment where you enter the permalink said 'Needs the absolute HTTP path and needs to end with .htm or .html!' I thought you had to enter a complete url, and I had as permalink http://www.i-tjingcentrum.nl/serendipit ... tform.html. But what works is /serendipity/pages/contactform.html.
Problems solved! Topic closed. I hope. Garvin and Judebert, thanks for the help.
Best wishes,
Harmen.