Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting randomly logged out when using ckeditor in cakephp 1.2

I have an old cakephp-1.2 application in production. This system has a screen where html content can be edited using ckeditor 3.2. The problem is that almost every time when I try to edit some html content I got logged out when submitting the form, the content is not saved when this happens.

Interesting enough I go to edit some html content and make no changes at all in ckeditor then hitting submit sometimes I got logged out and sometimes it works as expected.

like image 594
Frederico Schardong Avatar asked Mar 22 '13 19:03

Frederico Schardong


1 Answers

I encounter the same problem before just cleaned up the entire code and made sure there wasn't any unnecessary whitespace or unused methods such as debug or php close tag. can you check all your Model.php and remove all php close tags? Hope it solves your problem too. It works fine with me.

like image 196
MuntingInsekto Avatar answered Oct 26 '22 19:10

MuntingInsekto