Subject: Cannot create posts in fresh install?
Hi,
On my production server (UNB 20090606-dev, PHP 5.2.11, Apache 2.2.10, OpenSuse 11.1, MySQL 14.12 distrib 5.0.67), the board works just well.
I installed a LAMP environment on my notebook (latest unb, PHP 5.3.1, Apache 2.2.13, OpenSuse 11.2, MySQL 14.14 distrib 5.1.36) for testing purposes. Everything works well (after applying the patch for PHP 5.3 I sent you in the other thread) and I run the installation of the board with success. I create a (sub-)forum, that works too. Creating anything of type "Post" (i.e. a new thread, but also an announcement) does not work:
Preview works, but posting it doesnt, no error message, just the form that comes back all empty. I tried to debug it and recognized that it is because UnbUrlCheckKey returns false. Cookies are enabled in my browser and I use exactly the same one as for visiting the production server, so it's not the browser's fault.
In fact, I then realized that everytime I Click on post again, my session_id has changed! Thus it's not the same than in the hidden "key" form element.
I have absolutely no clue why this is. May it be because of some change in the new php version? Or is it the LAMP env on my notebook that is misconfigured? (although I compared both php.ini files' session settings!) Any help whatsoever is appreciated.
On my production server (UNB 20090606-dev, PHP 5.2.11, Apache 2.2.10, OpenSuse 11.1, MySQL 14.12 distrib 5.0.67), the board works just well.
I installed a LAMP environment on my notebook (latest unb, PHP 5.3.1, Apache 2.2.13, OpenSuse 11.2, MySQL 14.14 distrib 5.1.36) for testing purposes. Everything works well (after applying the patch for PHP 5.3 I sent you in the other thread) and I run the installation of the board with success. I create a (sub-)forum, that works too. Creating anything of type "Post" (i.e. a new thread, but also an announcement) does not work:
Preview works, but posting it doesnt, no error message, just the form that comes back all empty. I tried to debug it and recognized that it is because UnbUrlCheckKey returns false. Cookies are enabled in my browser and I use exactly the same one as for visiting the production server, so it's not the browser's fault.
In fact, I then realized that everytime I Click on post again, my session_id has changed! Thus it's not the same than in the hidden "key" form element.
I have absolutely no clue why this is. May it be because of some change in the new php version? Or is it the LAMP env on my notebook that is misconfigured? (although I compared both php.ini files' session settings!) Any help whatsoever is appreciated.

Pompei2
Show profile
Link to this post
That would be the quick and dirty way. Maybe I can come up with something else. Maybe not.