Admin Error

Started by woolly bugger, October 23, 2019, 11:47:31 PM

Previous topic - Next topic

woolly bugger

Today I noticed a lot of errors accumulating in the log (27,000+) I logged in and looked at the errors most of them were from the ezportal that I had seen before but never in this large amount.

I disabled error logging and hit save. Then I got this;

"array(6){
  • => array(3) { ["file"]=> string(50) "/home/public_html/forum/Sources/Errors.php" ["line"]=> int(290) ["function"]=> string(9) "log_error" } [1]=> array(3) { ["file"]=> string(57) "/home/public_html/forum/Sources/EzPortalHooks.php" ["line"]=> int(124) ["function"]=> string(17) "smf_error_handler" } [2]=> array(3) { ["file"]=> string(48) "/home/public_html/forum/Sources/Subs.php" ["line"]=> int(4854) ["function"]=> string(19) "ezphook_admin_areas" } [3]=> array(3) { ["file"]=> string(53) "/home//public_html/forum/Sources/Subs-Menu.php" ["line"]=> int(75) ["function"]=> string(21) "call_integration_hook" } [4]=> array(3) { ["file"]=> string(49) "/home/public_html/forum/Sources/Admin.php" ["line"]=> int(458) ["function"]=> string(10) "createMenu" } [5]=> array(3) { ["file"]=> string(41) "/home/public_html/forum/index.php" ["line"]=> int(153) ["function"]=> string(9) "AdminMain" } } Error loop.

    this is all i see now when logging in as admin... the rest of the board appears to be functioning ...

    PLEASE ADVISE

    thansk

Sir Osis of Liver

If you can't get into admin, you'll have to fix the setting in your database.  Look for enableErrorLogging in smf_settings, set it to 1.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

vbgamer45

Looks like these two might be related different errors though but same issue? https://www.simplemachines.org/community/index.php?topic=570249.0;topicseen
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

L2Scarlet

Yes, only the fckin admin is affected. It is something weird with the crappy SMF logs :(
Suddenly got broken without any changes. :)

Arantor

And what version is the OP running? 2.1 what?
Holder of controversial views, all of which my own.

L2Scarlet

...and guess what? I have enableErrorLogging 1 (enabled), that's why crashed I think.

In my post I said that I use latest version of 2.1 so that means it's 2.1 RC2 :)
https://www.simplemachines.org/community/index.php?topic=570249.0

m4z

That is the latest Release Candidate version, but since this is a development branch, the "latest version" is ambiguous (and probably more often than not refers to the current Github version).

(I'm happy to report that I haven't seen these errors (yet?) on any of my PostgreSQL forums.)
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!

woolly bugger

Quote from: Sir Osis of Liver on October 23, 2019, 11:58:19 PM
If you can't get into admin, you'll have to fix the setting in your database.  Look for enableErrorLogging in smf_settings, set it to 1.


that fixed me up and the latest ezportal upgrade fixed the massive error count

L2Scarlet

For me it's working with enableErrorLogging = 0 (in PhPMyAdmin). ;) Ty

vbgamer45

Quote from: L2Scarlet on October 24, 2019, 09:55:19 AM
For me it's working with enableErrorLogging = 0 (in PhPMyAdmin). ;) Ty
I guess the next part we need to figure why does having error logging enabled disable parts of the site.
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

Sir Osis of Liver

Seems to be related to ezportal, doesn't happen in clean install.  Have you had any similar reports in your support topic?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

vbgamer45

No, that would be the first one but again it is for 2.1 He said new version fixed the error being logged.
But still odd how the site would crash in the admin error even if a minor error was thrown.
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

L2Scarlet

It can be from mod_security ON ;) If there is an error, or anything like ..<S<D..s,?!() adwwr
(I mean weird things in error log) you know what I mean :)


Advertisement: