s9y_0.8 beta6 - Creating new entries problem?

Found a bug? Tell us!!
Post Reply
bigmix

s9y_0.8 beta6 - Creating new entries problem?

Post by bigmix »

Hi all,

I've had 0.7 (workable) but removed it completely and installed 0.8beta5. Ever since I'm not able to create new entry. Whenever I click on Save button, upper preview window shows me Front Page of the Administration Suite and above it there's a status message saying "Serendipity is now saving your entry, creating trackbacks and performing possible XML-RPC calls. This may take a while.."

Well, this really *takes a while*. At the end it doesn't create anything. I've installed trackback event plugin and tried to explicitly switch off trackbacks in hope to solve the problem - but without success. :(

I upgraded beta5 to beta6 today - with the same results.

Is there anything I can try to prevent this problem? I simply want to create an entry. Is there any additional system configuration that I have to follow?

Any help?

Thanks,
BM.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: s9y_0.8 beta6 - Creating new entries problem?

Post by garvinhicking »

Which browser are you using? Serendipity posts to an iframe, and you need Cookies activated (for the sessions) and your browser must support iframes.

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/
bigmix

Post by bigmix »

I'm using FireFox 1.0.2

Well, it all worked well with version 0.7 and I'm not aware if anything of PHP requirements has changed in the meantime. BTW, I have PHP 5.0.4.

Should I check cookies parameters in PHP.INI?

Thanks,
BM.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Yes, the way of posting has much changed in Serendipity 0.8, but you're the first to report problems.

Can you please see if navigating through your Admin panel creates links with PHPSESSID=... added to the links? If that is so, it means that Cookies are disabled either in your browser or PHP.

If you get the admin properly working without the PHPSESSID links, it seems to work well. Can you post a screenshot of how your error look like? The best thing would be if I could get an temporary to your Blog so I could check it out with my browser.

I definitely want to find out the cause for this!

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/
bigmix

Post by bigmix »

Navigation through Admin panel doesn't add session value (PHPSESSID) to the URL neither to the links.

Although I have to have checkbox "Save Information" in the login page checked to be able to proceed with all options in Admin panel. The situation was exactly the same in the version 0.7.

I checked PHP configuration and it does not have cookies enabled (session.use_cookies = 0). BTW this is how we had to set up the server because of production requirements of some websites running on it.

Any idea?

Thanks,
BM.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Okay, then it's the missing session cookie support that breaks up things for you. You'll have to activate session.use_cookies for your Serendipity directory then, you can put

Code: Select all

php_value session.use_cookies 1
into either your apache virtualhost or your .htaccess file.

If that still doesn't work, this applies what I wrote earlier:
Can you post a screenshot of how your error look like? The best thing would be if I could get an temporary to your Blog so I could check it out with my browser.
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/
bigmix
Regular
Posts: 5
Joined: Tue Apr 12, 2005 4:25 pm

Post by bigmix »

I enabled the cookies in .htaccess file but no luck. :(

As I mentioned earlier, I cannot enable cookies on global level because of the already functional websites that require cookies to be off.

Instead of posting screenshots and if you are interested to check on my blog directly, I'll contact you privately. When we find the solution, I'll post it in this thread so others will be aware of it.

Regards,
BM.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

bigmix, if you could not enable the cookies via .htacces, did you make sure your VirtualHost has AllowOverride set for your directory? Because else the php_value assignment will fail.

Enabling this per-host should be no problem for your provider, as this should not interfere with other projects.

Of course you can give me the access to your blog privately, I'm waiting for your message and will post back :)

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/
bigmix
Regular
Posts: 5
Joined: Tue Apr 12, 2005 4:25 pm

Post by bigmix »

Yes, that was it. :) Setting up VirtualHost by adding Directory with AllowOverride All directive seem to work. IFRAME now shows "Your entry has been saved."

Although this was more Apache configuration issue than s9y, I think it might be helpfull to anybody with similar situation:

Code: Select all

<VirtualHost www.mydomain.com>
...
  <Directory "/full/path/to/serendipity_directory/">
    AllowOverride All
  </Directory>
...
</VirtualHost>
And of course this included changes in .htaccess file in serendipity directory as well, just as per garvinhicking's suggestion:

Code: Select all

php_value session.use_cookies 1
garvinhicking, thanks for your help! I've learned something new today and still can enjoy s9y features.

Regards,
BM.
Post Reply