Can't post entries - preview mode previews the admin page

Having trouble installing serendipity?
Post Reply
Eric Thomas

Can't post entries - preview mode previews the admin page

Post by Eric Thomas »

I've just set up a new Serendipity, and all is well, except that I can't post entries at all. When I hit 'Save', I'm told the entry has been saved, but it doesn't show up on the front page.

When I hit 'Preview', the preview shows the main Admin screen.

Has anyone run into this before?
Superteddy
Regular
Posts: 13
Joined: Thu Apr 28, 2005 1:02 am

Post by Superteddy »

Are you saving them as drafts ? or mabye future dates..
Eric Thomas

Post by Eric Thomas »

Superteddy wrote:Are you saving them as drafts ?
No, I'm trying to publish to the front page. If I save as a draft, it saves ok, then I get the same odd behavior when I try to actually publish.

Even if I were saving as a draft - the fact that the preview frame shows the admin page instead of my post is really weird.
Eric Thomas

Post by Eric Thomas »

Superteddy wrote:Are you saving them as drafts ? or mabye future dates..
I've also checked the date and it's current.
Eric Thomas

Post by Eric Thomas »

Follow-up: turning off iframes solved the problem.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Eric, which Browser are you using?

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/
AnimalMachine
Posts: 1
Joined: Sat Jun 11, 2005 11:14 pm
Location: Milwaukee, WI USA
Contact:

Post by AnimalMachine »

I just ran into the same problem. Eric's solution worked for me as well:

serendipity_config.inc.php:

Code: Select all

$serendipity['use_iframe'] = false;
I was using Mac OS X 10.4.1 Safari to view. I'm hosting s9y on my own OpenBSD server, and was using lynx there as well to try and create a post, but that didn't work either.

Creating and saving a draft to the database was fine (though the preview still just showed my empty admin page). But when I went back in and changed it to publish, and then clicked save, the "Serendipity is now saving your entry, creating trackbacks and performing possible XML-RPC calls. This may take a while.." message was above the preview, and the preview was the same empty admin page.

Let me know if you have any other questions or want me to try something out. I'm somewhat knowledgeable about mysql, and php.

[edit: forgot to mention I was using the latest stable s9y package 0.8.1, OpenBSD's httpd, mysql 4.0.x, php 5.0.4]
Post Reply