Halloween's Posted On: 2012-01-22 12:08:54 And another problem or two's
Haven't used this for month's. Wanted to use it on a live site, so it seemed a good idea to post an article or two to refresh my memory on how it all works and hangs together
Shock and Horror #1: When I came to upload this picture I got a "file too big" error. (It's 3,8Mb in original form). Reduced it to 50kB and uploads OK. The maximum size you can upload is set in php.ini and on a shared server you can't twiddle it yourself. I've EMailed my host asking what value they use by default and if they will make it bigger.
I'm sure I went through all of this a couple of years ago on the same host - but it's too long ago to remember what happened.
More news later when I have heard from my hosting company. Ah - here it is... I remembered what the fix is just after I posted them a help ticket....run the site using phpFast CGI which you can install yourself.
Shock and Horror #2. Then I came to another problem which was a bit trickier . Whenever I came to save something which had an image in it, the modsecurity module on my host's Apache server kicked in, denying me access and locking me out for an hour. This made it hard to troubleshoot. I'm sure it didn't do this when I first installed this editor.
The clue was in the server logfile - it was the contents of the form field which contains all this stuff which had spooked it - probably the border width=1 parameter in the image tag. I passed the info to my hosting company and they did two things for me (1) Helped me carry on with the development by putting my IP on a white list until the problem was resolved , and (2) Asking the company which provides the security module to adjust their rules. This is still going on at the moment (27 Jan 12) but I'm certain it will get resolved.
So many thanks my host 34sp.com for sorting this out. They are the bees knees in my opinion.
|