Page 1 of 1

Upgrade to .9 Spartacus problems

Posted: Thu Nov 03, 2005 1:31 am
by gizmola
I have been having problems with Spartacus attempting to upgrade existing plugins. Here's an example of the output of one failed upgrade:

Trying to open URL package_event_en.xml...
Fetched 140196 bytes from already existing file on your server. Saving file as /sites/gizmola.com/blog/templates_c/package_event_en.xml...

Code: Select all

Trying to open URL serendipity_event_contactform.php?rev=1.9999...
Fetched 14120 bytes from the URL above. Saving file as /sites/gizmola.com/blog//plugins/serendipity_event_contactform/serendipity_event_contactform.php...
Cannot write to file /sites/gizmola.com/blog//plugins/serendipity_event_contactform/serendipity_event_contactform.php.
Trying to open URL plugin_contactform.tpl?rev=1.9999...
Fetched 2846 bytes from the URL above. Saving file as /sites/gizmola.com/blog//plugins/serendipity_event_contactform/plugin_contactform.tpl...
Cannot write to file /sites/gizmola.com/blog//plugins/serendipity_event_contactform/plugin_contactform.tpl.
Trying to open URL lang_de.inc.php?rev=1.9999...
Fetched 1902 bytes from the URL above. Saving file as /sites/gizmola.com/blog//plugins/serendipity_event_contactform/lang_de.inc.php...
Data successfully fetched.
Trying to open URL lang_ja.inc.php?rev=1.9999...
Fetched 1953 bytes from the URL above. Saving file as /sites/gizmola.com/blog//plugins/serendipity_event_contactform/lang_ja.inc.php...
Data successfully fetched.
Trying to open URL lang_de.inc.php?rev=1.9999...
Fetched 1909 bytes from the URL above. Saving file as /sites/gizmola.com/blog//plugins/serendipity_event_contactform/UTF-8/lang_de.inc.php...
Data successfully fetched.
Trying to open URL lang_ja.inc.php?rev=1.9999...
Fetched 1953 bytes from the URL above. Saving file as /sites/gizmola.com/blog//plugins/serendipity_event_contactform/UTF-8/lang_ja.inc.php...
Data successfully fetched.
Below is a list of installed plugins 
Obviously what jumps out at me is the paths like: /sites/gizmola.com/blog//...

Re: Upgrade to .9 Spartacus problems

Posted: Thu Nov 03, 2005 10:32 am
by garvinhicking
The Paths "//" can be ignored, it's purely cosmetical. "/" and "//" is the same on any Filesystem.

Best regards,
Garvin

Posted: Thu Nov 03, 2005 12:22 pm
by gizmola
Garvin,
Ok, I thought it was curious, but the real problem is that the files can't be written by spartacus, even though the plugin directory is 777. Is there anything you can think of that would cause this to happen?

Notice:

Code: Select all

Cannot write to file /sites/gizmola.com/blog//plugins/serendipity_event_contactform/serendipity_event_contactform.php.

Posted: Thu Nov 03, 2005 1:04 pm
by garvinhicking
Are you really sure that all the directory /plugins is 777? Maybe the contactform directory already exists, did you check that?

Regards,
Garvin

Posted: Fri Nov 04, 2005 7:01 am
by gizmola
Ok, I feel like a goob after this :oops:. Did indeed turn out to be a perms issue, even though I was so *sure* I'd triple checked that. I was a bit flustered after wrestling with Gentoo emerge borking my entire apache configuration. I've finally got things working although I still can't say why they work as yet, when they should have before and didn't.

Oh well, enough of my blathering, thanks as usual for your dedication to the cause Garvin!