Problems with entry saving

Found a bug? Tell us!!
NuLL
Regular
Posts: 6
Joined: Fri Jun 16, 2006 1:42 am

Problems with entry saving

Post by NuLL »

Hey,

I downloaded s9y and installed it on my localhost :) I have created category and tried to save post. Ive filled form with simple entry, clicked 'Save' button and beatifiul message appeared
Serendipity is now saving your entry, creating trackbacks and performing possible XML-RPC calls. This may take a while..
but nothing is going out there. Also I dont have Advanced Options in Entry posting form :( Also page showed in Preview Iframe looks like after logging in administration panel :(

Im tried Opera 9 Beta and Firefox 1.5. My PHP version is 5.1.4 :)

Regards, Paul
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Garvin will probably be able to answer this in a second.

But, since he's in Germany and probably asleep by now, I'll take a shot in the dark: have you set the blog URL to the real URL, not something that will be redirected in the .htaccess? Have you tried with trackbacks and pings off?

If your URL is correct, and no trackbacks/pings doesn't help, then we'll probably need to know what version of Serendipity you're using.
Judebert
---
Website | Wishlist | PayPal
NuLL
Regular
Posts: 6
Joined: Fri Jun 16, 2006 1:42 am

Post by NuLL »

Im using Serendipity 1.0 & MySQL 5.0.x ( if thats matter ) Which url might be wrong ?? I decided to use easy installation mode and despite that posting bug everything works fine :)

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

Post by garvinhicking »

Hi!

To me your problem sounds as if PHP sessions are not properly enabled. Especially if you get the login screen on the preview it means that no session has been activated.

Please check your PHP installation and especially that session.use_cookies are enabled and the session.save_path is properly set. Also make sure your browser has cookies enabled.

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/
NuLL
Regular
Posts: 6
Joined: Fri Jun 16, 2006 1:42 am

Post by NuLL »

What about saving ??

My sessions work fine - Im PHP programmer and my server is well configured :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Please check your PHP error_log, and check the output of the HTML code of the admin interface for extended options if there are error outputs? And which s9y event plugins are you using? Is your server firewalled for outgoing connections on port 80 maybe?

If your sessions really work, try this:

1. Log out of the serendipity admin interface
2. Log into your admin interface. Make sure NOT to check the "remember me " feature
3. In the admin interface now click on "Create new entry". Does that work, or does it forward you to the login screen?

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/
NuLL
Regular
Posts: 6
Joined: Fri Jun 16, 2006 1:42 am

Post by NuLL »

1. Log out of the serendipity admin interface
2. Log into your admin interface. Make sure NOT to check the "remember me " feature
3. In the admin interface now click on "Create new entry". Does that work, or does it forward you to the login screen?
No :o Im forwarded to login screen.

My session save path exists. Cookies are enabled for session handling in php.ini and in my browsers. In my own projects sessions work fine :)

What is my problem :?:
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

If you're forwarded to the login screen, your PHP sessions are definitely not properly initialized or your browser is rejecting cookies. Trust me on this. :)

Did you try another browser, just to try it out?

Please put a php script with phpinfo() into your s9y directory, call it, and show me the output of it, please. Then I can try to investigate. But it's definetily a PHP session issue. :-)

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/
NuLL
Regular
Posts: 6
Joined: Fri Jun 16, 2006 1:42 am

Post by NuLL »

Thanks for your help :)

My phpinfo is aviable here -> http://www.null.avx.pl/stuff/phpinfo.htm
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Thanks for that. Could you answer also my other questions? :)

And check if there are files in your c:\wamp\tmp directory? And also check the error log ion c:\wamp\logs\php_error.log

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/
NuLL
Regular
Posts: 6
Joined: Fri Jun 16, 2006 1:42 am

Post by NuLL »

So ;)

I've tried Opera 9 Beta and Firefox 1.5

In php_error.log file there is no issues connected with Serendipity

In my session dir there is few files so its OK. I also have found files connected with Serendipity and tried to unserialize them but print_r() shows nothing :?

phpinfo() is from my personal computer - on my webhost everything is fine :D but I still have no idea why s9y doesnt work on my localhost ;)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

When you use Firefox 1.5, could you please try to install the LiveHTTP HEader extension and see what cookies are passed from and to the browser? Maybe the session id gets changed every time, and maybe the problem is that your browsers do not properly take "localhost" cookies in that case?
# 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/
Jelfa
Regular
Posts: 7
Joined: Wed Jun 21, 2006 8:27 pm

Post by Jelfa »

garvinhicking wrote:When you use Firefox 1.5, could you please try to install the LiveHTTP HEader extension and see what cookies are passed from and to the browser? Maybe the session id gets changed every time, and maybe the problem is that your browsers do not properly take "localhost" cookies in that case?
I am having this exact problem as well. However, upon installation, I made a first post and everything was fine. I logged out and logged back in later (and checked "remember password") and since cannot post a new entry. Like the OP, oin the preview pane, I see the "welcome **** to the admin panel". I'll try to install the LiveHTTP HEader extension and see what cookies are passed from and to the browser.
Jelfa
Regular
Posts: 7
Joined: Wed Jun 21, 2006 8:27 pm

Post by Jelfa »

LiveHTTP Header is giving me this,

[CUT]
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

(I cut your full posting here because it both screws up formatting and would allow other people to log into your blog :)

When you logout and login again WITHOUT checking the "remember me" option, does going to a page like "personal configuratioN" etc. work, or are you directed to the login screen again?

Did you remove/edit any files in the serendipity screen after it first worked?

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