Cannot Save Entries

Found a bug? Tell us!!
Post Reply
bradly
Posts: 3
Joined: Wed Apr 11, 2007 11:28 pm

Cannot Save Entries

Post 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
bradly
Posts: 3
Joined: Wed Apr 11, 2007 11:28 pm

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

Post 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
# 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/
bradly
Posts: 3
Joined: Wed Apr 11, 2007 11:28 pm

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

Post 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
# 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/
Post Reply