Page 1 of 3

Serendipity is now saving your entry...

Posted: Tue Nov 08, 2005 11:41 pm
by Gnilleps
Let me start by saying, this prject is just so great it is unbelivable.

So I have been using Serendipity for some time, very successfully, until recently.

It stared when I went from .7.x to .8.4. My theme's broke, and I looked all over the forums and tryed everything. Then I tryed to add an entry, What I get is"Serendipity is now saving your entry, creating trackbacks and performing possible XML-RPC calls. This may take a while.."
With a preview of the Admin page at the top, but it never posts the message, it just stays on that screen.

So I tried to update .9.0 release, and still, this behavior contined. After reading some posts, some that have had this issue have just re-installed. Then it worked for them and it sounds like it was assumed to be a plug-in issue. I followed suite. I am still having the adding a message problem though.

I am not sure what information I can provide, and since this is a free project, I understand I may or may not get assistance. If someone can help, I would love to forward any information I can.

The current PHP version running on FatCow's servers is PHP 4.3.10.
I am browsing with IE v. 6.0.2900.2180.xpsp_sp2_gdr.050301-1519
I am using a Harware router, that is relitivly relaxed on rules.
MySQL version 4.0.22.
NOTE: Serendipity was working GREAT .7.x, problems ocured when I upgraded to .8.4 - .9.0

Re: Serendipity is now saving your entry...

Posted: Wed Nov 09, 2005 10:41 am
by garvinhicking
My first thought was that it may be caused by your browser.

Since Serendipity 0.8, we utilize iframe calls to save the entry or create previews, because of some timeout issues when trackbacks/pings take a long time. If a browser does not support iframes, or if you use a proxy/filter/antivirus software that blocks iframes, the described behaviour can be in effect. Did you check that? Maybe you can try with a different browser?

Another thing that might be relevant is that your Server is maybe blocking outgoing traffic with indefinite timeouts. Maybe you can try to disable the weblogping plugin and save an entry without any links (so that no trackbacks are sent)?

I could have a more through look at it, if you create me a temporary s9y user account to your blog? If you want to do that, please just contact me privately.

Best regards,
Garvin

Re: Serendipity is now saving your entry...

Posted: Fri Feb 24, 2006 4:38 pm
by chench
garvinhicking wrote:
Another thing that might be relevant is that your Server is maybe blocking outgoing traffic with indefinite timeouts. Maybe you can try to disable the weblogping plugin and save an entry without any links (so that no trackbacks are sent)?
I had a similar problem. I got this error when saving a new entry, "Lock wait timeout exceeded"

I removed the "Announce entries" plugin and had success. Is it possible that this is an intermitent problem depending on the reuslt of the ping service?
Ken

Re: Serendipity is now saving your entry...

Posted: Sat Feb 25, 2006 3:30 pm
by garvinhicking
Hi chench!

Hm, I've neever heard of the "lock wait timeout" error. Where does it come exactly? Is it coming from a server that you are pinging?

Regards,
Garvin

Posted: Sat Feb 25, 2006 3:40 pm
by chench
I whish I had saved the full context of the error. I've reinstalled the "announce entries" plugin that I thought may have caused the error and all seems ok now. I dunno...

Thanks for getting back to me. I'll post again if it ever happens again.
Ken

Posted: Fri Apr 21, 2006 1:08 am
by jweinberger
Hi:

I am having the same problem - it says "saving you entry..." but the entry never seems to appear.

This is a brand new installation "out of the box" with no modifications

ANy ideas on how to get past this would be greatly appreciated!

Thanks!

Posted: Fri Apr 21, 2006 10:54 am
by garvinhicking
jweinberger: Does an entry also not appear if you just enter "test" as your entry text?

Which browser are you using? Which serendipity version? Which webserver version and PHP version are you running? Which database? Did you try to look for your apache/php error file(s)?


Regards,
Garvin

Posted: Fri Apr 21, 2006 5:11 pm
by jweinberger
Hi Garvin:

My apologies - in my haste yesterday I neglected even the msot basic information to help diagnose this. To correct that:

You asked:

Code: Select all

jweinberger: Does an entry also not appear if you just enter "test" as your entry text? 
No it does not work in that case - I tried again just now to be sure.

In answer to your other questions:

Which browser are you using? - IE 6.0
Which serendipity version? Serendipity 1.0-beta2
Which webserver version? Apache 2.0.54
and PHP version are you running? PHP 5.1.2
Which database? MySQL 5.0.19
Did you try to look for your apache/php error file(s)? This I have not - it's not my server, but I will ask the server admin to do so and forward any information we find.

Thank you again for your help!!!

Posted: Fri Apr 21, 2006 5:17 pm
by garvinhicking
Hi!

Hm, that really sounds strange. Would you be able to try the same with a different browser, like firefox or opera?

Did you already install some event plugins maybe? Some of those could cause trouble. An error_logfile should also be helpful in this case...

Regards,
Garvin

Posted: Fri Apr 21, 2006 5:27 pm
by jweinberger
Garvin:

Thanks for the prompt response.

I just installed Firefox and tried again - same result (each time I also used PHPmyAdmin to look at the entries table which has 0 rows).

I did not install anything other than what came in the download package. I simply unzipped the package and dropped it onto the server.

I did the "simple install" and set the fewest possible options - I am just testing to see how this works at this point

It does appear that plugins are installed (calendar, trackback, etc.), so I can only assume it came that way "out of the box"

I will ask for the error logs to see what might be showing up in there.

Thanks for your help

Posted: Fri Apr 21, 2006 6:05 pm
by garvinhicking
Hi!

Okay, I think th eerror logs are the way to go. It seems as if your server fatally dies because of serendipity trying to do socket operations. Please ask your server guys if anything is blocking outgoing HTTP requests.

If so, you could try to edit your serendipity_config_local.inc.php file and insert this:

Code: Select all

$serendipity['noautodiscovery'] = true;
this will disable sending trackbacks, which might be the cause of your fatal error.

Regards,
Garvin

Posted: Fri Apr 21, 2006 6:32 pm
by jweinberger
Garvin:

Thank you again.

I tried the 'noautodsicovery' and it made no difference. My server admin is not in yet, but I'll post anything I find in the logs.

I noticed also when I tried a few other things (create a category, delete a plug-in, etc.) I get this error:

Code: Select all

Your browser did not sent a valid HTTP-Referrer string. This may have either been caused by a misconfigured browser/proxy or by a Cross Site Request Forgery (XSRF) aimed at you. The action you requested could not be completed.
I suspect they are related.

I checked HTTP_REFERER in phpinfo() and it is the URL of the folder within which s9y is installed.

I am less than certain what this means exactly, but if it means anything more to you, I'd appreciate the help.

Thanks again!!

Posted: Fri Apr 21, 2006 8:21 pm
by garvinhicking
Hi!

Ah, this brings us maybe closer to the problem. This can happen if PHP session support through cookies is not enabled!

If you login to the admin panel and do not check the "remember me" button, do you get logged out on subsequent page calls? If yes, it definitely means PHP sessions are not working as they should.

Entry posting also only works with PHP cookie sessions activated! Damn I didn't think of this before. :-/

Best regards,Garvin

Posted: Sat Apr 22, 2006 1:08 am
by jweinberger
Garvin:

So it looks like we've found the problem, but now I can't quite get the solution.

You suggested that if I log in WITHOUT 'remember me' checked, and get logged out on subsequent page calls, it points to a session problem.

I tried it, and that exact thing happened.

I checked the php.ini file, and sessions are enabled with cookies (session.use_cookies = 1).

The cookie is in fact set (I checked my cookies).

But it still seems not to work.

The error logs showed nothing at all related to PHP or MySQL.

I'm lost...do you have any idea?

Thanks!!

Posted: Sat Apr 22, 2006 9:00 pm
by garvinhicking
Hi!

Can you talk to your provider? It can happen that the session write path is not properly configured. A diversity of problems can happen, but all of them point to a wrong setup of your provider.

Regards,
Garvin