News:

Join the Facebook Fan Page.

Main Menu

500 error

Started by blunted, October 05, 2016, 05:40:29 PM

Previous topic - Next topic

blunted

getting 500 error on new posts, uploads etc,
i know this error is returned by server but could something be off in script causing it?

Illori

ask your host what is causing it. they should be able to tell you, then you can tell us the error and we can see about fixing it.

blunted

is there anything that controls posts, pms, thread starting etc as those are the issues.
1 item perhaps?

Illori

it is not that easy to figure out without you finding out from your host the cause of the error.

blunted

dedicated server and trying to get management to tell me

blunted

Your script is eating all server resources. I have contact VB and I will update you as soon I will hear from them.

what they said i reminded them its smf

Sir Osis of Liver

What's in your error log?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

blunted


Sir Osis of Liver

Look first in SMF log.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Illori

Quote from: Sir Osis of Liver on October 05, 2016, 11:56:52 PM
Look first in SMF log.


500 errors are not recorded in the SMF error log. the 500 is making it not load SMF at all, so it cant record any error that may have occurred

blunted

restored site all was good. added a few plugins back same error
removed plugins error persists'
could package manager be broke messing up permissions?

vbgamer45

Check your apache error log might give clues.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

d3vcho

Hello!

Please, take a look at this. Maybe the permissions of your directories and files are not supported by your host: How do I chmod? / what is chmod?

Regards :)
"Greeting Death as an old friend, they departed this life as equals"

blunted

dedicated server, this just happened in past day.
been running smf on this server for years

Sir Osis of Liver

Quote from: Illori on October 06, 2016, 05:08:09 AM
Quote from: Sir Osis of Liver on October 05, 2016, 11:56:52 PM
Look first in SMF log.


500 errors are not recorded in the SMF error log. the 500 is making it not load SMF at all, so it cant record any error that may have occurred

Yes, I know.  Have worked several forums that were consuming excessive server resources because they were busy continuously logging errors, usually from bad mod installs.  That's why I asked, and this does appear to be a mod problem.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

blunted

got it fixed but still get 500 when trying to search admin tasks...

what should i try uninstalling each mod and see if fixed?

Sir Osis of Liver

A simple code error can cause server to throw a 500.  It's most likely one of your mods.  Anything in your forum error log?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

blunted

 Undefined index: links_directory

lots similiar to this cleared log out and tried admin search again

Sir Osis of Liver

Post the complete error message.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

blunted

could i pm you the first page?

Sir Osis of Liver

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Sir Osis of Liver

LinksDirBasics.php in your forum root is a mod file.  Don't recognize it, nothing from search.  Can you attach the file?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

blunted


Sir Osis of Liver

The file belongs to SMF Links Directory v2.1.5, which may be an earlier version of this mod.  Not seeing that file in the package, but you can ask in the support topic
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

blunted

i actually installed the paid one, dynamic directory i think.
i did ask, was referred here

blunted

that plugin not even installed....

any idea how its still being called

Sir Osis of Liver

If you can uninstall the mod without errors, that file should be deleted, and those errors should stop.  Try it, if that's what happens, it's a problem with the mod, not SMF core code.  SMFHacks will have to fix it.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Sir Osis of Liver

It was installed, must not have uninstalled completely.  You would have to clean it up manually, or do a clean install.  It's not on the mod site here, so can't help you with the code.

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

blunted

actually its to a different plugin than u listed.

reinstalled, still get error so that error log might be 4 something else

LiroyvH

Are the 500 errors logged in the error_log you've accessed?
If not, you may have to look at the global error log, which can be found in the "logs" directory of Apache itself.
((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

blunted

just got 3 errors running the admin search, no ohers in log all point to who.php
looking at apache log

Sir Osis of Liver

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

blunted

was an error in managepermissions
its fixed

blunted

IDK whats going on. Now this returned to Featuresettings in admin.
I can do anything else, cant access feature settings.

The only thing I did was remove a defunct code left over from adk buttons I had uninstalled a long time ago from manage permissions

blunted

restored a few day backup of file, working now..
this issue just started when php was upgraded
never had this issue before
been running smf for years

Advertisement: