Page 1 of 1

Cannot Save Entries

Posted: Wed Apr 11, 2007 11:33 pm
by bradly
I just installed Serendipity for the first time and I am having trouble saving entries.

When I click save it diplays a preview of the administration home page and displays the message "Serendipity is now saving your entry, creating trackbacks and performing possible XML-RPC calls. This may take a while.."

I tried in IE and Firefox and both had the same result. The server is Apache with PostgreSQL running on FreeBSD

Any help would be greatly appreciated. Thanks.

-Bradly

Posted: Wed Apr 11, 2007 11:40 pm
by bradly
Here are the apache log entries for when I click the save button:

999.999.999.999 - - [11/Apr/2007:14:35:42 -0700] "POST /blog/serendipity_admin.php? HTTP/1.1" 200 24013 "http://www.mydomain.com/blog/serendipity_admin.php?" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3"

999.999.999.999 - - [11/Apr/2007:14:35:42 -0700] "GET /blog/serendipity_define.js.php HTTP/1.1" 200 177 "http://www.mydomain.com/blog/serendipity_admin.php?" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3"

999.999.999.999 - - [11/Apr/2007:14:35:45 -0700] "GET /blog/serendipity_admin.php?serendipity[is_iframe]=true&serendipity[iframe_mode]=save HTTP/1.1" 200 7670 "http://www.mydomain.com/blog/serendipity_admin.php?" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3"

Posted: Thu Apr 12, 2007 11:24 am
by garvinhicking
Hi!

Which serendipity version are you using?

If you logout of the backend, and login again WITHOUT checking the "Remember login" checkbox below, do you get kicked out of the panel when klicking on links?

Does your browser accept cookies? Does your PHP generate session files in the path configured in the session.save_path directive?

Best regards,
Garvin

Posted: Thu Apr 12, 2007 6:13 pm
by bradly
garvinhicking wrote:Which serendipity version are you using?
1.1.2

garvinhicking wrote:If you logout of the backend, and login again WITHOUT checking the "Remember login" checkbox below, do you get kicked out of the panel when klicking on links?
In Foxfox nothing different happens. In IE when I click save the same message comes up, but the preview box shows the log in page.
garvinhicking wrote:Does your browser accept cookies?
Yes
garvinhicking wrote:Does your PHP generate session files in the path configured in the session.save_path directive?
Hmm. I'm not sure about this one. Where can I see what the session.save_path is set to?

Thanks Gavin for your help with this.

-Bradly


*Edit*

I'll PM you our phpinfo()

Posted: Fri Apr 13, 2007 10:59 am
by garvinhicking
Hi!

Thanks for the answers. Are you maybe logging into the backend with a different URL than you configured? Like if you configured to use "http://myblog.com", you should not use "http://www.myblog.com" to login. This could cause different cookie problems.
Hmm. I'm not sure about this one. Where can I see what the session.save_path is set to?
Phpinfo() was the right clue, yes. According to your output, you have "session.use_cookies" set to "Off" with a "local value". So either in your vhost or your .htaccess you disable this setting! This must be revoked for the blog to work.

Your save path is "/tmp"!

HTH,
Garvin