Internal Server Err...
 
Notifications
Clear all

Internal Server Error when uploading stories (ok with txt file)

14 Posts
3 Users
0 Reactions
1,603 Views
(@guest6307)
Posts: 0
 

URL to your eFiction: http://horrifictales.graemereynolds.com
Version of eFiction:3.5
Have you bridged eFiction, if so with what?:no
Version of PHP: 5.2.8
Version of MySQL: 4.1.20
Have you searched for your problem: (yes/no) Yes
If so, what terms did you try: internal server error
State the nature of your problem: Attempting to post a new story on the site causes a 500 internal server error, however it works when I use a text file instead of the text editor in the upload area. Story is only 970 words so probably not the length issue reported in other posts.
Do you have a test account for us?test


 
Posted : 09/03/2009 5:04 pm
(@guest6307)
Posts: 0
 

sorry, hit submit before I finished - test account: Username = test, password = test

Have also checked the CHMOD value of the stories folder and the config.php file and they are set to 777. Modified them to 755 with no change


 
Posted : 09/03/2009 5:07 pm
(@babaca)
Posts: 722
Member Moderator
 

I can see your story. I put a test story as a test. Try validating it and seeing it if appears without the error. I didn't see an error at any point when I was putting a test story up.


******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3

 
Posted : 09/03/2009 5:26 pm
(@guest6307)
Posts: 0
 

hmm - your test story worked fine, and I was able to go and create a test story myself with 2 sentences in the text editor.

Tried pasting a shorter story in (around 500 words) and had the internal server error again


 
Posted : 09/03/2009 5:30 pm
(@babaca)
Posts: 722
Member Moderator
 

Did the story you try to upload have the word "curl" in it?


******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3

 
Posted : 09/03/2009 5:46 pm
(@lyndsie)
Posts: 1263
Member Moderator
 

See this in the wiki: https://efiction.org/wiki/index.php5?title=Server_Errors_and_CURL


 
Posted : 09/03/2009 5:48 pm
(@guest6307)
Posts: 0
 

afraid not 🙂

both stories are currently posted on the site from txt files - even did a quick text search to see if it had crept in there anywhere, but nothing there - both tales officially curl free


 
Posted : 09/03/2009 5:50 pm
(@babaca)
Posts: 722
Member Moderator
 

Other problem words are lynx and python (are those present?)

Have you tried just uploading the txt file instead of cutting and pasting into the editor? (I just did it as a test a miniute ago on my test site and that worked out way better than I hoped.


******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3

 
Posted : 09/03/2009 6:00 pm
(@guest6307)
Posts: 0
 

neither of those are present in these stories. If I point it at a text file, it uploads fine - it just dies when the inbuilt editor is used


 
Posted : 09/03/2009 6:02 pm
(@guest6307)
Posts: 0
 

infact I was just able to submit the following using the text editor "the lynx curled out a large python" and it worked fine, so it does not look like thats the issue


 
Posted : 09/03/2009 6:06 pm
(@guest6307)
Posts: 0
 

OK, I think I may have found the problem word (or one of them) - it does not seem to like the word "From" for some strange reason.

Which is a bit of a pain really, as thats a word that tends to get used more than "lynx" or "curl"

Any suggestions as to how to get around this (other than manually putting a ! in every time I come across it, because thats OK if its me having to do it, but basically stops the site from being used by others)

In the event of that not behaving itself - can I turn off the option to use the text editor so that it does not even appear in the submission page?


 
Posted : 09/03/2009 6:32 pm
(@lyndsie)
Posts: 1263
Member Moderator
 

Is it TinyMCE that's the problem? That can be easily turned off in the settings.  Or do you mean just the text box itself?


 
Posted : 09/03/2009 6:34 pm
(@guest6307)
Posts: 0
 

turning off tinymce does not seem to make any difference - any instance of the word "from" causes the internal server error - I really need to remove the text field all together I think - is that just a case of manually editing the php script and commenting out the text box?


 
Posted : 09/03/2009 6:38 pm
(@guest6307)
Posts: 0
 

Problem Solved

Apparently the script was bypassing the mod security rule that had been set up by the webhost - a quick chat with the technical support desk and they turned the rule off for my domain


 
Posted : 09/03/2009 6:55 pm
Share: