Page 3 of 7

Posted: Tue Jan 11, 2005 4:43 am
by veggie2u
Ok, I just installed 0.7.1. Very nice upgrade process by the way. Anyway, still no go. There must be something goofy with either my php install, or persmissions somewhere in the file system. Any ideas?

veggie2u

Posted: Tue Jan 11, 2005 1:21 pm
by Guest
Veggie,

I had what may be the same problem, but I found this to be the issue: I had renamed the directory the plugin was in. It was romulus_event_staticpage, and I changed it to serendipity_event_staticpage.. I had the blank page. When I kept it as romulus_event_staticpage, it worked like a charm.

And I assume when you say blank page, you mean that the content you made was blank, but it still looked like a page from your blog.

--Arius

Posted: Tue Jan 11, 2005 1:23 pm
by garvinhicking
Veggie, I just committed version 1.5 of the plugin to CVS and fixed issues so that it works again with 0.7.1.

Regards,
Garvin.

Posted: Tue Jan 11, 2005 4:42 pm
by veggie2u
I am a little confused as to what is going on with cvs, or at least viewcvs. When I go to this link:
http://cvs.sourceforge.net/viewcvs.py/p ... taticpage/
I see that the last version in cvs is 1.3. When I view the code there, I see at the top this:

Code: Select all

# $Id: serendipity_event_staticpage.php, v0.3 2004/10/16
# (c) by Marco Rinck aka romulus, http://www.romulus23.de, licensed under BSD license, see http://www.fsf.org/licenses/info/BSD_3Clause.html
This is where I got the 0.3 version number before. I guess I had mistakenly thought that this version was being updated by CVS.

Am I in the wrong place to look for the 1.5 version?

Posted: Tue Jan 11, 2005 5:08 pm
by garvinhicking
Veggie, there are 2 version numbers: The CVS ID ('0.3') does have nothing to do with the reported version number inside the plugin ('0.4' previously).

So what is version 0.5 of the plugin is actually 0.4 for CVS. CVS increments the versions per every change, whereas version numbers for plugins can be specified by the author...

So the place you look for is right. But since SourceForge lags max 24 hours the file will show up there tomorrow, I think...

Regards,
Garvin

Posted: Wed Jan 12, 2005 2:44 am
by veggie2u
Yippee! I suppose that the 'show()' function that was added to the .5 version was important! Thanks.

veggie2u

install problems

Posted: Wed Jan 12, 2005 8:23 pm
by Guest
help.

i have 0.7.1 and whatever the lastest version of static page is.

i tried installing it as instructed but i seen to be getting the same error as a guy previously mentioned, i get 'Error: serendipity_event_staticpage' on top of my event drop down. i tried messing with the file permissions but that didnt seem to change anything. how do i fix this?

x

Posted: Thu Jan 13, 2005 6:15 pm
by Guest
man im an idiot. it works.

x

Posted: Sat Jan 15, 2005 1:41 am
by Sturmkind
Hm at the CVS and this looks like this at my website :-(

The static pace plugin is into plugins/serendipity_events_staticpage/serendipity_event_staticpage.php

cheers
Sascha

Posted: Sat Jan 15, 2005 11:34 am
by Rembrandt
@garvin
With the new 1.4 cvs-version I get the page displayed twice. Maybe the error is in version_compare (line 169):
I think you should compare against 0.7 instead of 0.8, because I don't know how PHP handles version numbers like 0.8-alpha9 (is it greater or smaller than 0.8 *g*)
Just an idea, but if i changed the code to 'version_compare($serendipity['version'],'0.7','<=');' it works for me.

so long...
Rembrandt

PS: Using s9y 0.8-alpha9

Posted: Sat Jan 15, 2005 3:12 pm
by garvinhicking
Thanks a lot for reporting the two bugs; I just fixed them in CVS as recommended!

Regards,
Garvin

Posted: Sun Jan 16, 2005 11:13 am
by Sturmkind
Don't work at my s9y 7.1 installation. I use the version 1.5 of StaticPage.

There are some screenshots of the problem:

Screenshot 1
Screenshot 2
Screenshot 3
Screenshot 4

I don't know what's going wrong :(

cheers
Sascha

Posted: Sun Jan 16, 2005 12:13 pm
by Rembrandt
Please change the Line 151 in the plugin source from:

Code: Select all

if (version_compare($serendipity['version'], '0.7', '<='))
to

Code: Select all

if (version_compare($serendipity['version'], '0.7.1', '<='))
and try it again.

so long...
Rembrandt

Posted: Sun Jan 16, 2005 9:15 pm
by Sturmkind
Yes this works fine! :-) Thank you for help Rembrandt!

cheers
Sascha

Posted: Mon Jan 17, 2005 5:05 pm
by Guest
is there anyway to include php code on a static page?

i want to create a static page with a php created photo gallery.

thanks,

x