Static page plugin - can't update content

Creating and modifying plugins.
Post Reply
User avatar
vastneonwolf
Regular
Posts: 43
Joined: Sun May 22, 2005 6:57 am
Contact:

Static page plugin - can't update content

Post by vastneonwolf » Sat May 28, 2005 8:16 am

I've been using the static page plugin and loving it.
Well until I tried to make a change to the content on the static page.
The only way to make changes is to delete the page the start again. Is it just me or is there something wrong here?

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Static page plugin - can't update content

Post by garvinhicking » Sat May 28, 2005 1:16 pm

Works well for me. Which version of the plugin are you using?

How exactly are you updating your content, please describe the steps you make and the links/buttons you click.

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/

User avatar
vastneonwolf
Regular
Posts: 43
Joined: Sun May 22, 2005 6:57 am
Contact:

Post by vastneonwolf » Sat May 28, 2005 1:26 pm

I'm using version 3.0.

When I go to edit a static page:
Click "Static Pages" link in Admin side bar
Select the page name from the dropdown
Click "Go"
Make some changes
Click "Save"
I get the "Done: The new settings have been saved at 21:24:35" Message

Reload the static page and the changes don't show up.

I have to delet the old page and re-create it to make a change.

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Sat May 28, 2005 1:35 pm

But there is no version 3.0. Only 2.0. :)

Anyways, the way you outline should work. It does work for me. Which PHP version are you using?

Can you use phpMyAdmin or sth like that and see if your serendipity_staticpages table contains your staticpage with the changes, or if the Table is not updated?

If that doesn't help us further, I can only offer to look at your installation if you give me a FTP+Serendipity account on your machine. Most probably the updateStaticPage() method of the plugin fails on your system...though I can't see why.

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/

User avatar
vastneonwolf
Regular
Posts: 43
Joined: Sun May 22, 2005 6:57 am
Contact:

Post by vastneonwolf » Sat May 28, 2005 4:35 pm

Sorry I meant 0.3
serendipity_event_staticpage.php, v0.3 2004/10/16
is what it says in the code
And that is the one I just got from CVS
Though CVS lists it as 1.17

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Sat May 28, 2005 5:10 pm

What I mean is the plugin version, which has nothing to do with the CVS version string. You can see the plugin version in your Plugin Configuration panel. :)

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/

User avatar
vastneonwolf
Regular
Posts: 43
Joined: Sun May 22, 2005 6:57 am
Contact:

Post by vastneonwolf » Sat May 28, 2005 5:54 pm

Oh okay :)
That say's v2.0

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Sun May 29, 2005 2:35 am

Okay then the version is okay. What about my other suggestions/questions? :)
# 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/

User avatar
vastneonwolf
Regular
Posts: 43
Joined: Sun May 22, 2005 6:57 am
Contact:

Post by vastneonwolf » Sun May 29, 2005 3:18 am

Took a look at the DB with phpPgAdmin, it seems the pages are created but not updated.
Can't tell much more than that.

Have created an account for you, I'll pm you the login details.

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Mon May 30, 2005 11:35 am

Thanks, I've replied via PM :)

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/

User avatar
robert
Regular
Posts: 1046
Joined: Mon May 09, 2005 9:17 pm
Location: Vienna, Austria
Contact:

Post by robert » Tue Jun 07, 2005 8:05 pm

When I try to update per net I got this:

Versuche URL http://cvs.sourceforge.net/viewcvs.py/* ... ditional... zu öffnen...
Datei /home/.sites/110/site313/web/blog//plugins/serendipity_event_staticpage/serendipity_event_staticpage.php kann nicht geschrieben werden.Versuche URL http://cvs.sourceforge.net/viewcvs.py/* ... ditional... zu öffnen...
Datei /home/.sites/110/site313/web/blog//plugins/serendipity_event_staticpage/lang_de.inc.php kann nicht geschrieben werden.Versuche URL http://cvs.sourceforge.net/viewcvs.py/* ... ditional... zu öffnen...
Datei /home/.sites/110/site313/web/blog//plugins/serendipity_event_staticpage/lang_it.inc.php kann nicht geschrieben werden.Versuche URL http://cvs.sourceforge.net/viewcvs.py/* ... ditional... zu öffnen...
Datei /home/.sites/110/site313/web/blog//plugins/serendipity_event_staticpage/lang_ja.inc.php kann nicht geschrieben werden.Versuche URL http://cvs.sourceforge.net/viewcvs.py/* ... ditional... zu öffnen...
Datei /home/.sites/110/site313/web/blog//plugins/serendipity_event_staticpage/serendipity_plugin_staticpage.php kann nicht geschrieben werden. Es folgt eine Liste installierter Plugins


Could someone tell me, what´s the problem. Its no problem to install other plugins by net.

Regards
Robert
Nur ein Blog ...auf robertlender.info - natürlich mit S9y betrieben

S9y InfoCamp - der (inoffizielle) S9y-Podcast

Col. Kurtz
Regular
Posts: 450
Joined: Thu May 26, 2005 10:43 am
Location: Bonn, Germany
Contact:

Post by Col. Kurtz » Tue Jun 07, 2005 8:57 pm

I tried to use the new static page sidebar thing and I got this:

Code: Select all

Versuche URL http://netmirror.org/mirror/serendipity/package_sidebar.xml zu öffnen...


Versuche URL http://cvs.sourceforge.net/viewcvs.py/*checkout*/php-blog/additional... zu öffnen...
Datei /www/htdocs/qbert//blog//plugins/serendipity_event_staticpage/serendipity_event_staticpage.php kann nicht geschrieben werden.Versuche URL http://cvs.sourceforge.net/viewcvs.py/*checkout*/php-blog/additional... zu öffnen...
Datei /www/htdocs/qbert//blog//plugins/serendipity_event_staticpage/lang_de.inc.php kann nicht geschrieben werden.Versuche URL http://cvs.sourceforge.net/viewcvs.py/*checkout*/php-blog/additional... zu öffnen...
Datei /www/htdocs/qbert//blog//plugins/serendipity_event_staticpage/lang_it.inc.php kann nicht geschrieben werden.Versuche URL http://cvs.sourceforge.net/viewcvs.py/*checkout*/php-blog/additional... zu öffnen...
Datei /www/htdocs/qbert//blog//plugins/serendipity_event_staticpage/lang_ja.inc.php kann nicht geschrieben werden.Versuche URL http://cvs.sourceforge.net/viewcvs.py/*checkout*/php-blog/additional... zu öffnen...
Datei /www/htdocs/qbert//blog//plugins/serendipity_event_staticpage/serendipity_plugin_staticpage.php kann nicht geschrieben werden.Fehler: serendipity_plugin_staticpage:a4cf77e0d9020bfffd0b2b35b248e179 (serendipity_plugin_staticpage)

Fatal error: Call to a member function on a non-object in /www/htdocs/qbert/blog/include/admin/plugins.inc.php on line 664


Updating the static page plugin to version 2.0 seems to have worked.

User avatar
robert
Regular
Posts: 1046
Joined: Mon May 09, 2005 9:17 pm
Location: Vienna, Austria
Contact:

Post by robert » Tue Jun 07, 2005 9:03 pm

As I tried to install another plugin i got the same error in "plugins.inc.php".

Regards
Robert
Nur ein Blog ...auf robertlender.info - natürlich mit S9y betrieben

S9y InfoCamp - der (inoffizielle) S9y-Podcast

User avatar
robert
Regular
Posts: 1046
Joined: Mon May 09, 2005 9:17 pm
Location: Vienna, Austria
Contact:

Post by robert » Tue Jun 07, 2005 9:09 pm

Got it :D (Hope so).

Read Blogentry http://blog.s9y.org/archives/23-Spartac ... ified.html

Regards
Robert
Nur ein Blog ...auf robertlender.info - natürlich mit S9y betrieben

S9y InfoCamp - der (inoffizielle) S9y-Podcast

Post Reply