Page 1 of 2

Problems with entry saving

Posted: Fri Jun 16, 2006 1:52 am
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

Posted: Fri Jun 16, 2006 3:38 am
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.

Posted: Fri Jun 16, 2006 8:44 am
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

Posted: Fri Jun 16, 2006 9:43 am
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

Posted: Fri Jun 16, 2006 10:13 am
by NuLL
What about saving ??

My sessions work fine - Im PHP programmer and my server is well configured :)

Posted: Fri Jun 16, 2006 10:50 am
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

Posted: Fri Jun 16, 2006 11:01 am
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 :?:

Posted: Fri Jun 16, 2006 11:19 am
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

Posted: Fri Jun 16, 2006 11:25 am
by NuLL
Thanks for your help :)

My phpinfo is aviable here -> http://www.null.avx.pl/stuff/phpinfo.htm

Posted: Fri Jun 16, 2006 11:32 am
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

Posted: Fri Jun 16, 2006 11:46 am
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 ;)

Posted: Fri Jun 16, 2006 12:38 pm
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?

Posted: Sun Jul 02, 2006 9:59 pm
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.

Posted: Sun Jul 02, 2006 10:08 pm
by Jelfa
LiveHTTP Header is giving me this,

[CUT]

Posted: Sun Jul 02, 2006 10:38 pm
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