Page 1 of 1

Static page plugin - can't update content

Posted: Sat May 28, 2005 8:16 am
by vastneonwolf
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?

Re: Static page plugin - can't update content

Posted: Sat May 28, 2005 1:16 pm
by garvinhicking
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

Posted: Sat May 28, 2005 1:26 pm
by vastneonwolf
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.

Posted: Sat May 28, 2005 1:35 pm
by garvinhicking
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

Posted: Sat May 28, 2005 4:35 pm
by vastneonwolf
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

Posted: Sat May 28, 2005 5:10 pm
by garvinhicking
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

Posted: Sat May 28, 2005 5:54 pm
by vastneonwolf
Oh okay :)
That say's v2.0

Posted: Sun May 29, 2005 2:35 am
by garvinhicking
Okay then the version is okay. What about my other suggestions/questions? :)

Posted: Sun May 29, 2005 3:18 am
by vastneonwolf
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.

Posted: Mon May 30, 2005 11:35 am
by garvinhicking
Thanks, I've replied via PM :)

Regards,
Garvin

Posted: Tue Jun 07, 2005 8:05 pm
by robert
When I try to update per net I got this:
Versuche URL http://cvs.sourceforge.net/viewcvs.py/* ... additional... 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/* ... additional... 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/* ... additional... 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/* ... additional... 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/* ... additional... 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

Posted: Tue Jun 07, 2005 8:57 pm
by Col. Kurtz
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.

Posted: Tue Jun 07, 2005 9:03 pm
by robert
As I tried to install another plugin i got the same error in "plugins.inc.php".

Regards
Robert

Posted: Tue Jun 07, 2005 9:09 pm
by robert
Got it :D (Hope so).

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

Regards
Robert