No installations from plugins via spartacus work

Having trouble installing serendipity?
Post Reply
andre
Regular
Posts: 10
Joined: Mon Mar 20, 2006 11:23 am

No installations from plugins via spartacus work

Post by andre »

Hello,
this is my first s9y setup. I am very happy using s9y via supersized.org , but decided to host it now on my own.
Everything about the setup is fine, but the installation of plugins via spartacus does not work.
Some hard facts:
s9y 1.0b2
PHP 4.3.10
linux (SuSE)
Spartacus via netmirror.
Installing other plugins works fine, rights should not affect the problem.
Installing design templates via spartacus works to.

Fetching the plugin list /home/u100/www/www.gellert.de/htdocs//serendipity/temp ... ent_de.xml works.

But when i try to install any plugin, see what happens:

Code: Select all

Fehler: serendipity_event_amazonchooser:540de456caee2c16406841f7313b0064 (online_repository)
DEBUG: Plugin serendipity_event_amazonchooser:540de456caee2c16406841f7313b0064 not an object: .
Input: Array ( [adminModule] => plugins [pluginPath] => online_repository [install_plugin] => serendipity_event_amazonchooser [spartacus_fetch] => [action] => [adminAction] => ) .

Please report this bug. This error can happen if a plugin was not properly downloaded (check your plugins directory if the requested plugin was downloaded) or the inclusion of a file failed (permissions?)
Backtrace:
Installing plugin: Array ( [0] => serendipity_event_amazonchooser [1] => [2] => event [3] => 0 [4] => online_repository )
INSERT INTO serendipity_plugins (name, sort_order, placement, authorid, path) values ('serendipity_event_amazonchooser:540de456caee2c16406841f7313b0064', 13, 'event', '0', 'online_repository')
No valid path/filename found. Aborting.
Classname serendipity_event_amazonchooser still does not exist. Aborting.
Loading plugin failed painfully. File not found?
No valid path/filename found. Aborting.
Classname serendipity_event_amazonchooser still does not exist. Aborting.

Fatal error: Call to a member function on a non-object in /home/blabla/htdocs/serendipity/include/admin/plugins.inc.php on line 376

Anybody any idea ? I am tired of setting everything to 777, i think the problem relies on sthng different.

What program is used to fetch the packages from the netmirror ? The same code (fopen,wget...) like for the filelist ?

Thx in advance,
Andre
andre
Regular
Posts: 10
Joined: Mon Mar 20, 2006 11:23 am

Works?

Post by andre »

Hello everybody,
after i downloaded the plugin serendipity_event_tinymce.zip now and extracted this in the plugins directory, it works. But hey, am i that lazy, that i thought s9y would do this for me , or isn't it really that automatic, so that I have to download the sources , extract and install them every time ???

Well, maybe i misunderstood the s9y-spartacus, but as i know TER i am a bit disappointed. But it works , anyway, fine.

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

Re: No installations from plugins via spartacus work

Post by garvinhicking »

Hi!

Did you check if the amazonchooser files got downloaded or not?

Yes, the spartacus plugin runs PHP code with fsockopen to fetch the data and store it and it's the same like fetching the XML-Data. But of course it stores to the /plugin directory, but the XML-stuff fetches to templates_c which is usually world-writable.

Your /plugins directory definitely needs 777 to allow spartacus fetching plugins.

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/
andre
Regular
Posts: 10
Joined: Mon Mar 20, 2006 11:23 am

Re: No installations from plugins via spartacus work

Post by andre »

Hi,
garvinhicking wrote: Did you check if the amazonchooser files got downloaded or not?
No files are created, I checked this via find . -mtime 0 within the top of the s9y installation.
Is a /tmp/somewhereelse used ?
garvinhicking wrote: Your /plugins directory definitely needs 777 to allow spartacus fetching plugins.
It is. But no files are downloaded to there.

You are right, i seems as if there is a rights conflict. I try to set the whole webroot to 777 , but don't tell my mom. ;-)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: No installations from plugins via spartacus work

Post by garvinhicking »

Hi Andre!

No, the only temporary download storage is the "templates_c" folder in the s9y docs. Else, s9y tries to directly downlad to the /plugin folder.
You are right, i seems as if there is a rights conflict. I try to set the whole webroot to 777 , but don't tell my mom. ;-)
My lips are sealed! :-D

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/
andre
Regular
Posts: 10
Joined: Mon Mar 20, 2006 11:23 am

Nope.

Post by andre »

Hello Garvin,
i am afraid it still does not work.
Lets start from the beginning to prove that I am not making any mistakes.
The whole installation is 777 , now . (psssst).

Plugins->Sitebar Plugins->Click here to install a new sidebar plugin->

"

Code: Select all

Trying to open URL package_sidebar_en.xml...
Fetched 73151 bytes from the URL above. Saving file as /home/issecret/htdocs//serendipity/templates_c/package_sidebar_en.xml...
Data successfully fetched.
"
Fine.

Now : not all available plugins are shown. So click on Filter : "" [GO] ->several more are shown , now.

So I choose one off the new ones, e.g. "Community Rating", which I did not try first, and this error occurs:

Code: Select all

Error: serendipity_event_communityrating:3250f015e39227fa7c0e3f82916d6b60 (online_repository)
DEBUG: Plugin serendipity_event_communityrating:3250f015e39227fa7c0e3f82916d6b60 not an object: .
Input: Array ( [adminModule] => plugins [pluginPath] => online_repository [install_plugin] => serendipity_event_communityrating [spartacus_fetch] => [action] => [adminAction] => ) .

Please report this bug. This error can happen if a plugin was not properly downloaded (check your plugins directory if the requested plugin was downloaded) or the inclusion of a file failed (permissions?)
Backtrace:
Installing plugin: Array ( [0] => serendipity_event_communityrating [1] => [2] => event [3] => 0 [4] => online_repository )
INSERT INTO serendipity_plugins (name, sort_order, placement, authorid, path) values ('serendipity_event_communityrating:3250f015e39227fa7c0e3f82916d6b60', 10, 'event', '0', 'online_repository')
No valid path/filename found. Aborting.
Classname serendipity_event_communityrating still does not exist. Aborting.
Loading plugin failed painfully. File not found?
No valid path/filename found. Aborting.
Classname serendipity_event_communityrating still does not exist. Aborting.

Fatal error: Call to a member function on a non-object in /home/thisissecret/htdocs/serendipity/include/admin/plugins.inc.php on line 376
It seems to work, when I download the package first, copy manually to the plugins directory and try this then. The magic question: Is it to be me, to do this, or is it "normaly" done by s9y automatic ?
In addition, inactive plugins, that are shipped with s9y, work to.

Andre
PS: Until now the tinymce is not recognized...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Nope.

Post by garvinhicking »

Hi!

No, that is not intended behaviour :)

To me it seems that downloading the plugin files fail. Before you get that huge debug output, aren't there any other lines telling you "Downloading XXX"?

It seems your isntallation just skips to download the files. Which version of the spartacus plugin do you have installed? It should be version 2.5, revision "921" from 2006-02-09 when you're using 1.0-b2. My take is that you might be running an older version of spartacus?

Also check your version of the plugin_api.inc.php. The error message you are actually receiving is no longer contained in 1.0-beta2, so you shouldn't even see that!

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/
andre
Regular
Posts: 10
Joined: Mon Mar 20, 2006 11:23 am

Post by andre »

Hi,
I downloaded the File http://mesh.dl.sourceforge.net/sourcefo ... ta2.tar.gz (thx to bash history;-) ) on Friday eve.

In the Plugins overview: spartacus says "version: 2.5",
the file claims:
serendipity_event_spartacus.php 896 2006-02-01 13:24:20Z garvinhicking

The plugin_api.inc.php start with
<?php # $Id: plugin_api.inc.php 937 2006-02-12 20:39:28Z garvinhicking $


That's a good explaination, so what should i do now ? Download the zip from another dl-mirror and unzip this over the current files ? I already imported my supersized files and dont want to start at zero again.

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

Post by garvinhicking »

Maybe you could try to fetch the latest files (plugin api and spartacus) from here:

http://svn.berlios.de/viewcvs/serendipity/branches/1.0/

and compare them to th efiles you got?

Gotta go now, read you tomorrow :)

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/
andre
Regular
Posts: 10
Joined: Mon Mar 20, 2006 11:23 am

Post by andre »

garvinhicking wrote:Maybe you could try to fetch the latest files (plugin api and spartacus) from here:

http://svn.berlios.de/viewcvs/serendipity/branches/1.0/
I stopped here after i checked 2 files. When i unzipped todays nightly build , i got this message:

"Serendipity hat entdeckt, dass derzeit Version 1.0-beta2 verwendet wird. Jedoch wurde Version 1.1-alpha1 installiert, daher müssten Sie die Installation aktualisieren!"

(Sorry , installation is german, but you'll understand ;-) )

So i went back to the s9y homepage, clicked on the link for the .zip version , but got offered an tar.gz . So stopped again, went to the cvs and checked directly there. I downloaded //mesh.dl.sourceforge.net/sourceforge/php-blog/serendipity-1.0-beta2.zip now. Unzipped , but now it does not say that i am using the wrong version ? !
Than I decided to use the nightly build. This works now (after reinstalling the theme, because i renamed the directory) , but the error remains.

To keep it short, only 2 questions:
1. ) What is the reason, why I cannot see all extensions with the first call of the plugin-page ? Only when i click on the GO button, several more plugins are displayed. AND THESE new ones do not work, all others work.
2. ) Is it okay, that the DB / admin panel says now that I am running Serendipity 1.1-alpha1 ? Is the nightly build older than the downloadable release (which seems to be outdated due to my versions i got ) ?

[Edit: it seems as if i first see the sidebar only and than all kind of plugins. This may be an explanation.]

Bye !
andre
Regular
Posts: 10
Joined: Mon Mar 20, 2006 11:23 am

Solved ?

Post by andre »

Hello again ,
i got it. The problem seems fixed with the latest version from the cvs , which still is not in the 1.b2 package.
I tried to install a event plugin via the sitebar plugin installation interface, maybe this was a problem, too.

Fine, now even the tinymce works. But i am afraid, that my current tinymce is incomp. to firefox 1.5.0.1, not very good...
[Edit: This was not fair. ;-) A firefox plugin destroyed the layout. ]

Thx,
Andre
Post Reply