Problem installaing Contact form plugin via SPARTACUS

Having trouble installing serendipity?
Post Reply
iamgeek
Posts: 4
Joined: Fri Nov 03, 2006 12:59 am

Problem installaing Contact form plugin via SPARTACUS

Post by iamgeek »

Hi,

First of all, great job on S9y! I tested about 5 blog tools before I found this one and it was my first choice.

I have been running the beta and I recently updated to 1.02. Everything seems to work fine except when I tried to install the contact form plugin via spartacus.

I have read through the FAQ and searched this forum but nothign I have tried seems to fix the problem.

After I install the Contact form (v1.7) plugin, I get the much posted about "Internal server 500 error". I have tried removing .htaccess but no luck. The only thing that seems to fix the problem is for me to erase the directory and copy over a backup that was made before I installed the plugin.

Here are some details of the installation: (*** is my username)
When I load spartacus - Everything seems fine.

Code: Select all

Trying to open URL package_event_en.xml...
Fetched 212326 bytes from the URL above. Saving file as /home/***/public_html/blog2/templates_c/package_event_en.xml...
Data successfully fetched.

I just tried installing the "links list" sidebar plugin, and I get the same result, so I am starting to think that the problem is not just related to the one plugin.
After I click on the icon to install it i get

Code: Select all

Trying to open URL package_event_en.xml...
Fetched 212326 bytes from already existing file on your server. Saving file as /home/***/public_html/blog2/templates_c/package_event_en.xml...


Trying to open URL serendipity_event_contactform.php?rev=1.9999...
Fetched 12451 bytes from the URL above. Saving file as /home/***/public_html/blog2//plugins/serendipity_event_contactform/serendipity_event_contactform.php...
Data successfully fetched.
Trying to open URL plugin_contactform.tpl?rev=1.9999...
After this, there is a little more scrolling of similar text and then it refreshes and I get

Code: Select all

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, ***@***.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. 
After I have erased the old files and replaced with a fresh copy, I see the follwowing under "even plugins".

Code: Select all

  	 Error!
Error: serendipity_event_contactform:32bd5eb98942ebe647ecc5a4b90b522c
I hope someone has an idea of what is going on. I have tried everything I can think of and it seems fine.
azel
Regular
Posts: 265
Joined: Thu Apr 21, 2005 4:28 am
Contact:

Post by azel »

Make sure the download servers in your Spartacus configuration are both set to netmirror.org. :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

To me it seems as if the files downloaded by Spartacus either are buggy, or try to use some code that is not usable by Serendipity.

So, of course there are things to fix this behaviour. :-)

The first thing: You don't need to upload a backup, just delete the plugins/serendipity_blabla directory of the plugin you tried to install. That should suffice to get your blog up again without those Internal Server errors. The message about "Error: blabla!" just tells you that s9y thinks it should load this plugin, but the directory no longer exists.

Now on for solving the problem.

My first bet is that you configured a username / permissions in the spartacus plugin, that should be applied when you download a plugin? If you did that, the error should be found here - please just set both chmod and chown fields to empty and try again.

If you have NOT entered information into that field, please try to enter the username of your FTP user there, and insert "777" as the permissions.

The Internal Server Error seems to stem from different file ownership. If you can somehow access your servers error log, this should give us more clues about what is happening. Most probably your server runs PHP as a CGI, which checks the ownership of a file and returns a fatal error if files are not with the right owner.

If the spartacus plugin is not able to adjust the ownership of plugins correctly, it might be that you are not able to use Spartacus with the way your server is setup. In that case, you'll need to download the ZIP files of plugins manually from http://spartacus.s9y.org/.

HTH,
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/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

To me it seems as if the files downloaded by Spartacus either are buggy, or try to use some code that is not usable by Serendipity.

So, of course there are things to fix this behaviour. :-)

The first thing: You don't need to upload a backup, just delete the plugins/serendipity_blabla directory of the plugin you tried to install. That should suffice to get your blog up again without those Internal Server errors. The message about "Error: blabla!" just tells you that s9y thinks it should load this plugin, but the directory no longer exists.

Now on for solving the problem.

My first bet is that you configured a username / permissions in the spartacus plugin, that should be applied when you download a plugin? If you did that, the error should be found here - please just set both chmod and chown fields to empty and try again.

If you have NOT entered information into that field, please try to enter the username of your FTP user there, and insert "777" as the permissions.

The Internal Server Error seems to stem from different file ownership. If you can somehow access your servers error log, this should give us more clues about what is happening. Most probably your server runs PHP as a CGI, which checks the ownership of a file and returns a fatal error if files are not with the right owner.

If the spartacus plugin is not able to adjust the ownership of plugins correctly, it might be that you are not able to use Spartacus with the way your server is setup. In that case, you'll need to download the ZIP files of plugins manually from http://spartacus.s9y.org/.

HTH,
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/
iamgeek
Posts: 4
Joined: Fri Nov 03, 2006 12:59 am

Post by iamgeek »

garvinhicking wrote: The first thing: You don't need to upload a backup, just delete the plugins/serendipity_blabla directory of the plugin you tried to install. That should suffice to get your blog up again without those Internal Server errors. The message about "Error: blabla!" just tells you that s9y thinks it should load this plugin, but the directory no longer exists.
Thanks, that should save some time!
My first bet is that you configured a username / permissions in the spartacus plugin, that should be applied when you download a plugin? If you did that, the error should be found here - please just set both chmod and chown fields to empty and try again.

If you have NOT entered information into that field, please try to enter the username of your FTP user there, and insert "777" as the permissions.
The permissions I had set in those fields were 777 and I used my username in the username field. I have confirmed with my host that the webserver runs as my username.
The Internal Server Error seems to stem from different file ownership. If you can somehow access your servers error log, this should give us more clues about what is happening. Most probably your server runs PHP as a CGI, which checks the ownership of a file and returns a fatal error if files are not with the right owner.
I think our server might be running as CGI mode, that is probably the problem.
If the spartacus plugin is not able to adjust the ownership of plugins correctly, it might be that you are not able to use Spartacus with the way your server is setup. In that case, you'll need to download the ZIP files of plugins manually from http://spartacus.s9y.org/.
I think that might be the easier situation since I also have shell access to my account. Thanks for all your help!
Post Reply