Can't add new smileys ~ Internal Server Error 500

Started by bdtcomp, August 31, 2014, 08:20:56 PM

Previous topic - Next topic

bdtcomp

I am starting a new thread on my can't add new smileys. I have an Internal Server Error 500.

Quote
Internal Server Error.
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@mywebsite.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


I changed my forum form Windows to Linux. BUT I also upgraded in patches from 2.0.2 to 2.0.8. So it is possible that the problem aroused from updating, but not sure. I talked to GoDaddy for quite some time, they got on the forum, and we were able to look at the error log.

Quote
Apply Filter: Only show the error messages of this URLhttp://forum.mywebsite.com/index.php?action=admin;area=smileys;sa=addsmiley;cdc2ce3=1be9b863c26643ca1c254f367a68cb64Apply Filter: Only show the errors with the same message8: Undefined offset: 0Apply Filter: Only show the errors from this file File: /home/mydirectory/public_html/mywebsite/Themes/default/ManageSmileys.template.php
Line: 314

I am able to delete smileys. I don't know if this is a configuration because I am now on Linux, or it could have happened with the updates from 2.0.2 to 2.0.8.

Arantor

That error would not generate a 500 Internal Server Error.

I'd ask for the system error log.
No good deed goes unpunished / All helpful urges should be circumvented

I have something to say: it's better to burn out than to fade away. There can be only one.

bdtcomp

Arantor, where do I get the System Error log from?

Arantor

You ask the host for it, they should be able to tell you where it is, since they configured it...
No good deed goes unpunished / All helpful urges should be circumvented

I have something to say: it's better to burn out than to fade away. There can be only one.

bdtcomp


Colin

"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

bdtcomp

I downloaded the server file and it was huge, over 300,000 bytes compressed. The last few lines are from this morning, so I don't think it has the adding smileys on it.

Quote142.136 - - [31/Aug/2014:04:49:43 -0700] "GET /Smileys/default/uc16.gif HTTP/1.1" 304 - "http://forum.bdmoo.com/index.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36"
24.196.142.136 - - [31/Aug/2014:04:49:43 -0700] "GET /Themes/default/images/upshrink2.png HTTP/1.1" 304 - "http://forum.bdmoo.com/index.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36"
50.42.140.200 - - [31/Aug/2014:04:56:38 -0700] "GET /index.php?action=keepalive;time=

bdtcomp

I just added an online store with MySQL database that I worked on back in 2011, and connected the database to. I was able to add an item with no problem. I hadn't touched this program in over two years.

bdtcomp

Colin,

My server updates I believe daily, so I have yesterday's log, and posting the snippet that is represented by a Error 404 which is the error I also get with the Internal Server Error 500. That isn't my forum name, I put in a dummy name.

One more thing, I have an intact forum on my Windows hosting still for at least a week. But I don't have a domain on it. I will call GoDaddy to see if there is a way I can connect to it. The MySQL database is there too, and it's Version 2.0.8. (I may be able to compare Server logs there too.

Note, I checked the add Smileys code in ManageSmileys.tempate.php & didn't see any difference in code.

Quote50.42.140.200 - - [31/Aug/2014:10:33:04 -0700] "GET /Smileys/default/00000549.gif HTTP/1.1" 200 3685 "http://myforum.com/index.php?action=admin;area=smileys;sa=addsmiley;cdc2ce3=1be9b863c26643ca1c254f367a68cb64" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.102 Safari/537.36"
50.42.140.200 - - [31/Aug/2014:10:33:04 -0700] "GET /Themes/default/images/upshrink2.png HTTP/1.1" 304 - "http://myforum.com/index.php?action=admin;area=smileys;sa=addsmiley;cdc2ce3=1be9b863c26643ca1c254f367a68cb64" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.102 Safari/537.36"
50.42.140.200 - - [31/Aug/2014:10:33:20 -0700] "GET /Smileys/default/sleeping-puppy.gif HTTP/1.1" 200 26719 "http://myforum.com/index.php?action=admin;area=smileys;sa=addsmiley;cdc2ce3=1be9b863c26643ca1c254f367a68cb64" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.102 Safari/537.36"
50.42.140.200 - - [31/Aug/2014:10:33:33 -0700] "POST /index.php?action=admin;area=smileys;sa=addsmiley HTTP/1.1" 404 - "http://myforum.com/index.php?action=admin;area=smileys;sa=addsmiley;cdc2ce3=1be9b863c26643ca1c254f367a68cb64" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.102 Safari/537.36"
50.42.140.200 - - [31/Aug/2014:10:33:48 -0700] "POST /index.php?action=admin;area=smileys;sa=addsmiley HTTP/1.1" 404 - "http://myforum.com/index.php?action=admin;area=smileys;sa=addsmiley;cdc2ce3=1be9b863c26643ca1c254f367a68cb64" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.102 Safari/537.36"
86.140.239.187 - - [31/Aug/2014:10:33:51 -0700] "GET /index.php?action=post;topic=308.135;last_msg=23494 HTTP/1.1" 200 30568 "http://myforum.com/index.php?topic=308.135" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36"

Arantor

No good deed goes unpunished / All helpful urges should be circumvented

I have something to say: it's better to burn out than to fade away. There can be only one.

Kindred

nd do note, as you have lreayd been told - this has nothing at all to do with the smf version or the path used to upgrade.

500 error is a server side error - while it can be caused by the scripts, it is most often caused by some sort of confusion in configuration on the server side of things
(e.g. bad htccess, bad permissions, invalid extensions)

the 404 is a red herring.   Basically, the 404 is just telling you that you do not have a specific error page configured to display in cases of a 500 error.
Слова
Украина

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

bdtcomp

Thanks Colin,

I'm going to get a coffee & give GoDaddy a call again.

Kindred, thanks.

bdtcomp

The only thing that GoDaddy could show was an error log of the last 300 errors and there were none showing. So I don't know what I can do. My other database programs work find, I have three MySQL databases that I put up and they work, and I can upload, delete & modify with no problems.

Kindred you mentioned at .htacess file and I created it. It only has a few redirects in it. I removed it, to see if anything and the same. I tried to add mod_security scripts to it but it failed, in fact the whole forum gave an error.

I guess I can add the smileys manually and modify. I don't know what else I can do. I don't see why the upload should fail on the smf forum but is fine on two Wordpress blogs & an Online Store that I am building, started while on a Windows server, built with just PHP code, and transferred beautifully without a hitch, other than perhaps a path change.

Another thing with the smileys, is that seem to refresh more often.

bdtcomp

Is there anyway I can modify my .htaccess for the forum. I wonder if because it's on a subdomain I am having a problem. The subdomain is forum.bdmoo.com while the files are actually in http://bdtprogramming.com/forum_irishstyle/ .

This is different than I had it in Windows, though the subdomain was the same.

bdtcomp

I'm going to get on my treadmill, but want to thank Colin & Kindred for your help. I am also interested in learning more about server issues, first just a general view then more detail. I am stuck with GoDaddy for better or worse, they do have around the clock support, but on a holiday I know that they don't have all the experts on hand.

and...
Happy Labor Day

bdtcomp

As a way to manually put smileys in the directory, mine is default, the only one as I removed all the other ones from the old Windows Hosting. I had found a link to modify the smiley, but haven't been able to do it, outside writing an SQL query to add the record, which I will do if I have to, but I thought there was another way.

bdtcomp

I want to mark this topic closed, but until I can 'Upload smileys without an Internal Error 500 I can't. I upgraded to PHP 5.5, but I don't see that has happened yet at GoDaddy as they may have to reboot or refresh their servers. I uploaded phpinfo.php to check what features are working. I know it has Fast CGI. I tried to slow it down in .htaccess but that didn't work. Other things people have tried, I have tried in .htaccess but had to remove right away as it made my sites error on any page requested.

SO, I am going to call GoDaddy in 5 to 7 hours from now, or when the business day is in full swing in Arizona, so that I can get the best technical help I can.

I want to close this issue in the next couple of days!

Never, never, never give...

bdtcomp

Okay, I talked to GoDaddy, and they mentioned, .htaccess & .user.ini files. Now Kindred, I have read a few of your posts and many others! So I don't need .htaccess. So I have removed it for the forum. I don't have a .user.ini file, been researching it. I went and uploaded phpinfo.php. I had the lady at GoDaddy change my PHP from 5.4 to 5.3, though that did nothing and it wasn't the answer.

I have fast cgi. They said they don't change mod_security. SO before I go overboard on the php, and the fact that GoDaddy says Internal error 500 is a generic term and can be scripting,

I wonder if I need some scripting in the .user.ini or the .htaccess files??

Now, I want the Smileys to upload right. THEY do upload, I had a 2 million byte file upload, and saw the percentage go to 100% and then the Internal 500 error. I can also get smileys uploaded and actually manully loaded a 'sleeppuppy.gif and it is part of the forum.

But I went and created a new forum on another domain of mine on this Linux hosted site.

I got it up and running in an hours time. So I went to my smileys, and had the three sets, and so I tried to upload my 'sleepypuppy.gif' and I get the same doggone Internal 500 error.

So I have something to call back GoDaddy with, and before I threaten to say I want my money back and move to different hosting I am hoping there is a scripting I can add.

Kindred

well, first of all, the statement that they don't remove or re-configure mod_security is BS. We have evidence all over this board that they do so - but only if you scream loud enough and get to at least level 3 support.

As for 500 error being generic...     while it CAN be caused by a script, it is 99% of the time, due to server issues.
Слова
Украина

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

bdtcomp

I will call them again this evening.

I tried this in the forum root, in .htaccess but it didn't work, the forum still worked, but still Internal Error 500.

<IfModule mod_security.c>
   # Turn off mod_security filtering.  SMF is a big boy, it doesn't need its hands held.
   SecFilterEngine Off

   # The below probably isn't needed, but better safe than sorry.
   SecFilterScanPOST Off
</IfModule>

Advertisement: