Page 1 of 1

Event Plugin Problems

Posted: Fri Nov 03, 2006 4:52 am
by TopDawg
I get something similar to the following when i try to install event plugins.

Code: Select all

Trying to open URL package_event_en.xml...
Fetched 212326 bytes from already existing file on your server. Saving file as /var/www/vhosts/dawg-pound.net/httpdocs/templates_c/package_event_en.xml...


Trying to open URL lang_en.inc.php?rev=1.9999...
Fetched 3608 bytes from the URL above. Saving file as /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/lang_en.inc.php...
Cannot write to file /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/lang_en.inc.php.
Trying to open URL lang_de.inc.php?rev=1.9999...
Fetched 3818 bytes from the URL above. Saving file as /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/lang_de.inc.php...
Cannot write to file /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/lang_de.inc.php.
Trying to open URL lang_pl.inc.php?rev=1.9999...
Fetched 3733 bytes from the URL above. Saving file as /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/lang_pl.inc.php...
Cannot write to file /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/lang_pl.inc.php.
Trying to open URL lang_it.inc.php?rev=1.9999...
Fetched 2988 bytes from the URL above. Saving file as /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/lang_it.inc.php...
Cannot write to file /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/lang_it.inc.php.
Trying to open URL lang_de.inc.php?rev=1.9999...
Fetched 3769 bytes from the URL above. Saving file as /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/UTF-8/lang_de.inc.php...
Cannot write to file /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/UTF-8.
Trying to open URL lang_it.inc.php?rev=1.9999...
Fetched 2989 bytes from the URL above. Saving file as /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/UTF-8/lang_it.inc.php...
Cannot write to file /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/UTF-8.
Trying to open URL lang_ja.inc.php?rev=1.9999...
Fetched 4176 bytes from the URL above. Saving file as /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/UTF-8/lang_ja.inc.php...
Cannot write to file /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/UTF-8.
Trying to open URL lang_pl.inc.php?rev=1.9999...
Fetched 3811 bytes from the URL above. Saving file as /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/UTF-8/lang_pl.inc.php...
Cannot write to file /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/UTF-8.
Trying to open URL lang_ja.inc.php?rev=1.9999...
Fetched 4176 bytes from the URL above. Saving file as /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/lang_ja.inc.php...
Cannot write to file /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/lang_ja.inc.php.
Trying to open URL ChangeLog?rev=1.9999...
Fetched 200 bytes from the URL above. Saving file as /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/ChangeLog...
Cannot write to file /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/ChangeLog.
Trying to open URL serendipity_event_freetag.php?rev=1.9999...
Fetched 57700 bytes from the URL above. Saving file as /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/serendipity_event_freetag.php...
Cannot write to file /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/serendipity_event_freetag.php.
Trying to open URL serendipity_plugin_freetag.php?rev=1.9999...
Fetched 5340 bytes from the URL above. Saving file as /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/serendipity_plugin_freetag.php...
Cannot write to file /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/serendipity_plugin_freetag.php.
Trying to open URL README?rev=1.9999...
Fetched 1492 bytes from the URL above. Saving file as /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/README...
Cannot write to file /var/www/vhosts/dawg-pound.net/httpdocs//plugins/serendipity_event_freetag/README.
Error: serendipity_event_freetag:912a6083b15eac374ad555c1b361feac (serendipity_event_freetag)
DEBUG: Plugin serendipity_event_freetag:912a6083b15eac374ad555c1b361feac not an object: .
Input: Array ( [adminModule] => plugins [pluginPath] => serendipity_event_freetag [install_plugin] => serendipity_event_freetag [spartacus_fetch] => event [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_freetag [1] => [2] => event [3] => 0 [4] => serendipity_event_freetag )
INSERT INTO serendipity_plugins (name, sort_order, placement, authorid, path) values ('serendipity_event_freetag:912a6083b15eac374ad555c1b361feac', 11, 'event', '0', 'serendipity_event_freetag')
No valid path/filename found. Aborting.
Classname serendipity_event_freetag still does not exist. Aborting.
Loading plugin failed painfully. File not found?
No valid path/filename found. Aborting.
Classname serendipity_event_freetag still does not exist. Aborting.
Any Ideas? :?:

Re: Event Plugin Problems

Posted: Fri Nov 03, 2006 11:53 am
by garvinhicking
Hi!

The error messages says, that a file cannot be written. Did you check the permissions of your "plugins" directory? It needs to be writable for PHP, i.e. 0777 chmod permissions?

Best regards,
Garvin

Posted: Fri Nov 03, 2006 12:02 pm
by TopDawg
I did check that. They are set as writable :?

EDIT: I just checked the directories within, and they're not writable...is that the problem?

Re: Event Plugin Problems

Posted: Fri Nov 03, 2006 12:09 pm
by garvinhicking
Hi!

And does a "serendipity_event_freetag" directory exist? if it does not exist, there must be a reason why PHP cannot create the directory?

Try this test.php scripT:

Code: Select all

mkdir('serendipity_event_freetag');
save it in your 'plugins' directory and call it via browser, and then see if the directory got created?

Regards,
Garvin

Posted: Fri Nov 03, 2006 12:18 pm
by TopDawg
says it already exists...tried to CHMOD (both through smartFTP and through SSH), and it says operation not permitted.

I'm logged on as the admin :?

should i SU to the root user?

Posted: Fri Nov 03, 2006 12:26 pm
by garvinhicking
Hi!

In the spartacus plugin, did you enter a chown/chmod username that spartacus should assign to new downloaded files?

It seems that you entered a username that does not allow PHP to further save to that directory?

Best regards,
Garvin

Posted: Fri Nov 03, 2006 12:30 pm
by TopDawg
don't believe i ever specified one.

Should I make it my FTP username for that domain?

EDIT: tried it. no good :(

I also tried after doing CHMOD as the root user. when i navigate there through SSH there's nothing in the event's directory, is that supposed to be empty?

Posted: Fri Nov 03, 2006 12:50 pm
by garvinhicking
Hi!

No, Spartacus is supposed to write files into that directory! However, if the permissions don't allow it, spartacus either can't write the required plugin files into there.

What owner and permissions does the directory have?

And what did you configured in chown/chmod in the spartaucs plugin? IF the directory already exists, you cannot just simply try it again, you first need to remove the directory!

HTH,
Garvin

Posted: Fri Nov 03, 2006 12:55 pm
by TopDawg
it was originally blank.

then i tried it using my ftp username and the permissions were set to 0777

it didn't work either time though

EDIT: also tried it with "nobody" as the owner

Posted: Fri Nov 03, 2006 1:18 pm
by garvinhicking
Hi!

What owner and permissions does the directory have that was created by spartacus? (serendipity_event_freetag)

(If spartacus does not work out for you, you can download the ZIP files manually from http://spartacus.s9y.org/ and extract them to the dir)

Regards,
Garvin

Posted: Fri Nov 03, 2006 1:33 pm
by TopDawg
dawgnet

755 and it wont let me change it to 777 without logging onto the server as root.

when i do change the permissions, it still doesn't install.

I'll reinstall the directories...gotta get to work :)

Thanks!

Posted: Wed Nov 08, 2006 12:51 am
by TopDawg
so i have the plugins directory set at 0777, and i'm still getting permissions errors when uploading the directory from the spartacus site :(

Posted: Wed Nov 08, 2006 9:31 am
by garvinhicking
Hi Topdawg!

Which permission errors do you get? If the folders are all set to 0777, you shouldn't have a problem?!

Best regards,
GArvin