freetag plugin

Found a bug? Tell us!!
Post Reply
wh1sper
Regular
Posts: 113
Joined: Sat Jan 15, 2005 6:26 pm
Location: Germany
Contact:

freetag plugin

Post by wh1sper »

Maybe its an temporary cvs issue:
Syntax error on Line 966

Code: Select all

/s9y/plugins/serendipity__freetag/serendipity_event_freetag.php on line 966
After that only renaming the directory makes it possible to reenter the Site and deinstall the plugin
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: freetag plugin

Post by garvinhicking »

Which version of the plugin? The one in CVS works without a parse error...

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/
wh1sper
Regular
Posts: 113
Joined: Sat Jan 15, 2005 6:26 pm
Location: Germany
Contact:

Post by wh1sper »

Code: Select all

Versuche URL lang_ja.inc.php?rev=1.9999 zu öffnen...
2989 bytes von obiger URL geladen. Speichere Inhalt als html/s9y-dev//plugins/serendipity_event_freetag/lang_ja.inc.php...
Daten erfolgreich geladen.

Parse error: syntax error, unexpected '}' in html/s9y-dev/plugins/serendipity_event_freetag/serendipity_event_freetag.php on line 966

is it the wrong 
Is it the wrong umlaut decoding? so it might work in the real blog for me
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

You still didn't tell me the version of your plugin ;)

You might need to fetch it manually from CVS or via http://spartacus.s9y.org/

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/
wh1sper
Regular
Posts: 113
Joined: Sat Jan 15, 2005 6:26 pm
Location: Germany
Contact:

Post by wh1sper »

spartacus in the admin part says

Code: Select all

Getaggte Artikel  	 Installieren
Zeigt alle vorhandenen Tags
Autor: Garvin Hicking, Jonathan Arkell; version: 2.36

Code: Select all

serendipity_event_freetag.php,v 1.44 2006/02/17 14:10:01 garvinhicking 

Code: Select all

serendipity_plugin_freetag.php,v 1.20 2006/02/09 14:04:08 garvinhicking
An error has been encountered in accessing this page.

1. Server: spartacus.s9y.org
2. URL path: /cvs/additional_plugins/serendipity_plugin_freetag.zip
3. Error notes: File does not exist: /home/groups/p/ph/php-blog/htdocs/cvs/additional_plugins/serendipity_plugin_freetag.zip
4. Error type: 404
5. Request method: GET
6. Request query string:
7. Time: 2006-02-28 09:36:10 PST (1141148170)

Reporting this problem: The problem you have encountered is with a project web site hosted by SourceForge.net. This issue should be reported to the SourceForge.net-hosted project (not to SourceForge.net).
What else? I thougt that spacrtacus takes always the newest therefor would not need to tell version ..?

and this: by now...[quote][/quote]
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Can you please open the spartaucs page and download the Event freetag bundle file? Since the event and sidebar plugins are in the same directory, Spartacus wrongly assumes there's an individual directory for the freetag sidebar plugin. I've fixed that for the next update to spartacus, though.

I also have version 1.44 of the event plugin. It has no parse errors here on my site. You might want to mail me your plugin file?

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/
wh1sper
Regular
Posts: 113
Joined: Sat Jan 15, 2005 6:26 pm
Location: Germany
Contact:

Post by wh1sper »

Äh, hallo? guck doch mal, 404 kommt bei dem versuch das zip downzuloaden ;)
und ja ich packe mal die files ein, kommen gleich per mail.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Ja, ich weiß. Deswegen schrieb ich Du sollst das freetag Event plugin downloaden!

http://spartacus.s9y.org/cvs/additional ... reetag.zip

Grüße,
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/
ricochet
Posts: 4
Joined: Mon Apr 17, 2006 12:53 pm

Post by ricochet »

Hi.

Did you find out in the meantime, what the trigger for your problem was? I have a similar (at least I think so) problem here.

Yesterday I set up a new s9y-installation (first with 0.9.1, but problem occurs with 1.0-beta2 as well) on my machine (mysql Ver 12.22 Distrib 4.0.24, PHP 4.3.10-16, Apache/2.0.54), set up a few plugins (everything fine until now), and then tried to install the freetag plugin via spartacus (it says version 2.4.2).
Downloading seems to work fine, but in the end, it says:
Parse error: parse error, unexpected '}' in [...]/blog/htdocs/plugins/serendipity_event_freetag/serendipity_event_freetag.php on line 988
Beside things are like wh1sper says, neither admin-interface nor the site itself work (they also tell the story of the parse error), the only workout is to remove the plugin-directory and afterwards to push it from the pluginlist...

Ideas, anybody?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

I have heard of that error, but cannot reproduce it. I don't know what can cause that issue, but I blame it on strange PHP versions. When I parse that file on my PHP, there really is no problem :-?

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/
ricochet
Posts: 4
Joined: Mon Apr 17, 2006 12:53 pm

Post by ricochet »

Which confirms my oppinion that PHP is evil voodoo stuff. ;-)

Anyway, thanks for you fast response, Garvin.

If anyone's got a clue, you're welcome...
ricochet
Posts: 4
Joined: Mon Apr 17, 2006 12:53 pm

Post by ricochet »

It's me again, hoping, i don't bug you.

I tinkered araound a bit with the plugin an then just with brute force removed the mentioned brackets in line 988 (as quoted above) and in line 1217 (which produced the same error). The parse errors vanished and the plugin even seems to work fine (have a look at http://blog.datenbahnhof.de).

Didn't tried it with your new version of the plugin anyway, as I wasn't able to get my fingers onto it...
Last edited by ricochet on Wed Apr 19, 2006 1:23 pm, edited 1 time in total.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Could you upload your fixed file to a service like http://nopaste.php-q.net/? Then I could try to compare it and see the real difference?!

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/
ricochet
Posts: 4
Joined: Mon Apr 17, 2006 12:53 pm

Post by ricochet »

Here you go: http://nopaste.php-q.net/206512

Bu after tweaking around a bit, it seems that this wasn't such a good idea, as the tag-functionality seems to work, but in the meantime it breaks the addToCSS-function at the end of the file. With other Styles than "Serendipity v3.0" (at least is the only one so far i found out to work anyway), i get a
Fatal error: Call to undefined function: addtocss() in [...]/plugins/serendipity_event_freetag/serendipity_event_freetag.php on line 558
for http://blog.datenbahnhof.de/serendipity.css .

I know, I should not try to bend PHP if I don't know how it works... :oops:
Post Reply