static page as frontpage broken
static page as frontpage broken
This is the second time this happens to me. I have a site set up with a static page as the front page, and all of a sudden, it doesn't work any more.
On this site (http://www.mundomelhor.net), it's been working with the static frontpage for months now. I don't recall making any changes, but I can't get the static page to be the default front page any more.
Any idea what may be the cause?
The other site that still has this problem is http://www.familyafrica.com
Thank you for having a look and any insight.
On this site (http://www.mundomelhor.net), it's been working with the static frontpage for months now. I don't recall making any changes, but I can't get the static page to be the default front page any more.
Any idea what may be the cause?
The other site that still has this problem is http://www.familyafrica.com
Thank you for having a look and any insight.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: static page as frontpage broken
Hi!
Which event plugins do you have installed?
Can you check the serendipity_staticpage DB table and see if any other entries there have the 'startpage' attribute set?
Regards,
Garvin
Which event plugins do you have installed?
Can you check the serendipity_staticpage DB table and see if any other entries there have the 'startpage' attribute set?
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: static page as frontpage broken
garvinhicking wrote:Hi!
Which event plugins do you have installed?
@serendipity_categories_plugin:42c66622bd80032656b...
@serendipity_html_nugget_plugin:689fbac04e4e557889...
@serendipity_html_nugget_plugin:c86322e9ddc6db0325...
serendipity_event_adminnotes:1eece7608f12f219c6e44...
serendipity_event_browsercompatibility:a2cf9fa21c7...
serendipity_event_contactform:32db4e77ffe0eddf588c...
serendipity_event_emoticate:39aaaff50ff429d3eddaa1...
serendipity_event_entryproperties:b2df6a1aaa633ae9...
serendipity_event_forgotpassword:763e054afa5ec18c6...
serendipity_event_galleryimage:56a6a8dfdeae7cdb4bd...
serendipity_event_head_nugget:5e2a5d613eab16e91ba6...
serendipity_event_lightbox:adeb3db0130c085a4dbb4ad...
serendipity_event_nl2br:dc18dba77bde51b17d5ee74e3c...
serendipity_event_s9ymarkup:a8501689f39c331ac7c89b...
serendipity_event_spamblock:610cc21679a76356342148...
serendipity_event_spartacus:59f16400bdae553cc917af...
serendipity_event_staticpage:70cec7c55177f82795aed...
serendipity_event_statistics:33d20985886bc97751619...
serendipity_plugin_phpbox:244f56f9af13b105d5ef64d6...
Only the designated static page that I set in the s9y admin panel is marked.garvinhicking wrote:
Can you check the serendipity_staticpage DB table and see if any other entries there have the 'startpage' attribute set?
Regards,
Garvin
Ok, one thing I noticed while checking the info in ppmyadmin, was the following error: "More than one INDEX key was created for column `placement`"
I found that one of the plugins was installed twice, which seams to happen sometimes when there are permission errors on the plugin folder, etc.
So after removing the second copy of the plugin, the correct static page would show.
I have the same problem on the www.familyafrica.com site, and I can't find a second plugin installed, so I don't know where the error is coming from.
....and oddly, the template is screwy the static pages...
anyway, got to look into that tomorrow.
I found that one of the plugins was installed twice, which seams to happen sometimes when there are permission errors on the plugin folder, etc.
So after removing the second copy of the plugin, the correct static page would show.
I have the same problem on the www.familyafrica.com site, and I can't find a second plugin installed, so I don't know where the error is coming from.
....and oddly, the template is screwy the static pages...
anyway, got to look into that tomorrow.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Okay, which plugins do you have installed on the familyafrica site? And did you check that blog's staticpage DB table for duplicate entries?
Regards,
Garvin
Okay, which plugins do you have installed on the familyafrica site? And did you check that blog's staticpage DB table for duplicate entries?
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/
In phpmyadmin, I'm getting the following error when clicking on the serendipity_plugins table:
"More than one INDEX key was created for column `placement`"
List of Installed Plugins:
"More than one INDEX key was created for column `placement`"
List of Installed Plugins:
There are 4 static pages and 4 entries in the DB table.serendipity_plugin_phpbox:299270fd6d6e30eadd71aa1b...
@serendipity_categories_plugin:186d9f9f8385e1f7d02...
serendipity_event_entryproperties:b3690e901457881f...
@serendipity_plug_plugin:f88dec111e7d8121459a3e94c...
serendipity_event_s9ymarkup:c1462cf322653478725c26...
serendipity_event_emoticate:0427d0c924a67566e9c762...
serendipity_event_nl2br:f6eda0b14dc7134a9b9683694c...
serendipity_event_spamblock:fd951052782a88c845d99c...
serendipity_event_contactform:7c58a45d4327f3ea016d...
serendipity_event_staticpage:47b602674916b934d7942...
serendipity_event_statistics:923dae6a4312dde0a9b52...
@serendipity_topreferrers_plugin:38fdd0a3eedb6615d...
serendipity_event_externalphp:8c2ba193ef061c85106a...
@serendipity_html_nugget_plugin:667d0daee6de963e4f...
serendipity_event_spartacus:498cbafb7babd540b48d1d...
serendipity_event_google_analytics:6903fbfa07a7743...
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
You can ignore that phpMyAdmin warning, it is not related to the problem.
Some more questions:
1. What code do you have in your phpbox sidebar plugin?
2. What code do you have in your externalphp event plugin?
3. How do the entries in your staticpage DB table look like? Are there multiple entries for the same page? Are there multiple entries that have the 'Startpage' colum set?
Regards,
Garvin
You can ignore that phpMyAdmin warning, it is not related to the problem.
Some more questions:
1. What code do you have in your phpbox sidebar plugin?
2. What code do you have in your externalphp event plugin?
3. How do the entries in your staticpage DB table look like? Are there multiple entries for the same page? Are there multiple entries that have the 'Startpage' colum set?
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/
It's the random quote function, which I use on several s9y sites.garvinhicking wrote:Hi!
You can ignore that phpMyAdmin warning, it is not related to the problem.
Some more questions:
1. What code do you have in your phpbox sidebar plugin?
Code: Select all
include "inc/displayer.php";
echo($display1);
It was some linking service, but it's inactive, and I now removed that plugin.garvinhicking wrote: 2. What code do you have in your externalphp event plugin?
Nope, all seams correct to me, have a look:garvinhicking wrote: 3. How do the entries in your staticpage DB table look like? Are there multiple entries for the same page? Are there multiple entries that have the 'Startpage' colum set?
Regards,
Garvin
http://familyafrica.com/serendipity_staticpages.pdf
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
The contactform plugin could be the culprit. Move it in the list of plugins to the bottom of the page, after the staticpage plugin.
HTH,
Garvin
The contactform plugin could be the culprit. Move it in the list of plugins to the bottom of the page, after the staticpage plugin.
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/
Amazing!!! That did the trick. Donno if for sure that was the cause, but it's working now.
I'll have to keep a note of this for future reference.
You're the man, Garv.
Thanks again for your time, patience and insightful help.
BTW, would it be something to consider coding it so that the sequence of the listed plugins, doesn't interfere with the "static page as home page" aspect?
PS: All the best with your book! I hope it can come out in English too.
I'll have to keep a note of this for future reference.
You're the man, Garv.
BTW, would it be something to consider coding it so that the sequence of the listed plugins, doesn't interfere with the "static page as home page" aspect?
PS: All the best with your book! I hope it can come out in English too.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
The problem is that those two plugins use the same method to indicate which one is used. There sadly is no other mechanism for the two plugins to do that indiciation, because they both need to use the same variable. So other than the proper ordering, I don't know of a solution
Best regards,
Garvin
The problem is that those two plugins use the same method to indicate which one is used. There sadly is no other mechanism for the two plugins to do that indiciation, because they both need to use the same variable. So other than the proper ordering, I don't know of a solution
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/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
That might be because you only configured the staticpage for the language "English"?
You must configure an independent startpage for each language, I think.
Regards,
Garvin
That might be because you only configured the staticpage for the language "English"?
You must configure an independent startpage for each language, I think.
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/