Page 1 of 1

freetag plugin

Posted: Tue Feb 28, 2006 2:45 pm
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

Re: freetag plugin

Posted: Tue Feb 28, 2006 3:30 pm
by garvinhicking
Which version of the plugin? The one in CVS works without a parse error...

Regards,
Garvin

Posted: Tue Feb 28, 2006 6:01 pm
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

Posted: Tue Feb 28, 2006 6:04 pm
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

Posted: Tue Feb 28, 2006 6:38 pm
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]

Posted: Tue Feb 28, 2006 6:54 pm
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

Posted: Tue Feb 28, 2006 7:01 pm
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.

Posted: Tue Feb 28, 2006 7:39 pm
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

Posted: Mon Apr 17, 2006 1:09 pm
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?

Posted: Mon Apr 17, 2006 7:45 pm
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

Posted: Tue Apr 18, 2006 11:29 pm
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...

Posted: Wed Apr 19, 2006 1:07 pm
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...

Posted: Wed Apr 19, 2006 1:11 pm
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

Posted: Wed Apr 19, 2006 1:36 pm
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: