Page 1 of 1
Spartacus Problems
Posted: Tue Mar 22, 2005 10:22 am
by lauterunfug
Hi there
I installed the new beta4 version of s9y.
After installation of the Spartacus-Plugin (which I changed to chmod 777 as supposed to be according to another topic here in the forum) I tried to install other Plugins directly from the www. They got listed correctly, but when I tried to install one of them, I get the message:
/home/usr/lauterunfug/public_html//plugins/serendipity_plugin_google_last_query/serendipity_plugin_google_last_query.php kann nicht geschrieben werden.Fehler: serendipity_plugin_google_last_query:c434b91667fd28af30f281fa773ada4a (serendipity_plugin_google_last_query)
Fatal error: Call to a member function on a non-object in /home/usr/lauterunfug/public_html/include/admin/plugins.inc.php on line 665
In the path I see "//". Is this the problem?
Or is there a problem in the plugins.inc.php?
mfg
tom
Re: Spartacus Problems
Posted: Wed Mar 23, 2005 12:38 pm
by garvinhicking
The experimental Spartacus currently needs 777 write permissions on your whole plugins/ directory (not only the spartacus plugin dir itself) because spartacus needs to create the directories for you...
Regards,
Garvin
Posted: Wed Mar 23, 2005 1:18 pm
by lauterunfug
I chmod 777 both directories, but the same error comes!
the installation of spartacus itself is no problem, but to install other plugins wit spartacus produces that error.
Posted: Wed Mar 23, 2005 4:09 pm
by garvinhicking
Please try this little PHP script:
Code: Select all
<?php
if (is_writable('/home/usr/lauterunfug/public_html//plugins/')) {
echo 'plugins writable';
} else {
echo 'plugins NOT writable. Your permissions of the plugins directory are wrong and NOT 777.<br />';
}
if (mkdir('/home/usr/lauterunfug/public_html//plugins/serendipity_plugin_google_last_query/')) {
echo 'dir created.<br />';
} else {
echo 'dir failure.<br />';
}
$fp = fopen('/home/usr/lauterunfug/public_html//plugins/serendipity_plugin_google_last_query/serendipity_plugin_google_last_query.php', 'w');
if ($fp) {
echo 'file created.<br />';
fclose($fp);
unlink('/home/usr/lauterunfug/public_html//plugins/serendipity_plugin_google_last_query/serendipity_plugin_google_last_query.php');
} else {
echo 'file failure.<br />';
}
?>
Store it somewher in your s9y structure and execute it. And then please post your output
Regards,
Garvin
Posted: Wed Mar 23, 2005 4:54 pm
by lauterunfug
Code: Select all
plugins writabledir created.
Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid is 934 is not allowed to access /home/usr/lauterunfug/public_html/plugins/serendipity_plugin_google_last_query owned by uid 99 in /home/usr/lauterunfug/public_html/test.php on line 15
Warning: fopen(/home/usr/lauterunfug/public_html//plugins/serendipity_plugin_google_last_query/serendipity_plugin_google_last_query.php): failed to open stream: No such file or directory in /home/usr/lauterunfug/public_html/test.php on line 15
file failure.
Seems to be a save mode problem.. hmm..
I guess you will tell me to contact the support of the server I am on
And that support probably will tell me that this is not possible to turn it off..
Or what do you think??
By the way: big thanx for the script! It's great to have such a good support here - and it's cool to have a nice CMS for free to use!! Go on!
Posted: Wed Mar 23, 2005 5:55 pm
by garvinhicking
Everything will work if you chown() all files in Serendipity subdirectory to your Webserver owner. Or you change the owner of the plugins directory to the owner of your FTP user. Or you turn of SafeMode
Thanks for your praise!

)
Regards,
Garvin