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
Spartacus Problems
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Spartacus Problems
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
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/
# 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/
-
- Regular
- Posts: 54
- Joined: Wed Mar 16, 2005 9:26 am
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Please try this little PHP script:
Store it somewher in your s9y structure and execute it. And then please post your output
Regards,
Garvin
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 />';
}
?>
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/
# 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/
-
- Regular
- Posts: 54
- Joined: Wed Mar 16, 2005 9:26 am
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.
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!
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
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
Thanks for your praise! )
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/
# 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/