Jump to content

internal server error in admin page


sakkoulas
 Share

Recommended Posts

hi today i can't login in processwire,
i get intenal server error
every time i restart the server, it works for a while, but then it shows again internal server error
one time in admin area i get  this error...
 
TemplateFile: This request was aborted because it appears to be forged.
#0 /magazine/wire/modules/Inputfield/InputfieldForm.module(55): SessionCSRF->validate()
#1 [internal function]: InputfieldForm->___processInput(Object(WireInputData))
#2 /magazine/wire/core/Wire.php(271): call_user_func_array(Array, Array)
#3 /magazine/wire/core/Wire.php(229): Wire->runHooks('processInput', Array)
#4 /magazine/wire/modules/Process/ProcessLogin/ProcessLogin.module(70): Wire->__call('processInput', Array)
#5 /magazine/wire/modules/Process/ProcessLogin/ProcessLogin.module(70): InputfieldForm->processInput(Object(WireInputData))
#6 [internal function]: ProcessLogin->___execute()
#7 /magazine/wire/core/Wire.php(271): call_user_func_array(Array, Array)
#8 /magazine/wire/core/Wire.php(229): Wire->runHooks('execute', Array)
#9 /magazine/wire/core/ProcessController.php(194): Wire->__call('execute', Array)
#10 /magazine/wire/core/ProcessController.php(194): ProcessLogin->execute()
#11 [internal function]: ProcessController->___execute()
#12 /magazine/wire/core/Wire.php(271): call_user_func_array(Array, Array)
#13 /magazine/wire/core/Wire.php(229): Wire->runHooks('execute', Array)
#14 /magazine/wire/core/admin.php(45): Wire->__call('execute', Array)
#15 /magazine/wire/core/admin.php(45): ProcessController->execute()
#16 /magazine/wire/templates-admin/controller.php(13): require('/var/www/vhosts...')
#17 /magazine/site/templates/admin.php(13): require('/var/www/vhosts...')
#18 /magazine/wire/core/TemplateFile.php(92): require('/var/www/vhosts...')
#19 [internal function]: TemplateFile->___render()
#20 /magazine/wire/core/Wire.php(271): call_user_func_array(Array, Array)
#21 /magazine/wire/core/Wire.php(229): Wire->runHooks('render', Array)
#22 /magazine/wire/modules/PageRender.module(236): Wire->__call('render', Array)
#23 /magazine/wire/modules/PageRender.module(236): TemplateFile->render()
#24 [internal function]: PageRender->___renderPage(Object(HookEvent))
#25 /magazine/wire/core/Wire.php(271): call_user_func_array(Array, Array)
#26 /magazine/wire/core/Wire.php(229): Wire->runHooks('renderPage', Array)
#27 /magazine/wire/core/Wire.php(293): Wire->__call('renderPage', Array)
#28 /magazine/wire/core/Wire.php(293): PageRender->renderPage(Object(HookEvent))
#29 /magazine/wire/core/Wire.php(229): Wire->runHooks('render', Array)
#30 /magazine/wire/modules/Process/ProcessPageView.module(91): Wire->__call('render', Array)
#31 /magazine/wire/modules/Process/ProcessPageView.module(91): Page->render()
#32 [internal function]: ProcessPageView->___execute()
#33 /magazine/wire/core/Wire.php(271): call_user_func_array(Array, Array)
#34 /magazine/wire/core/Wire.php(229): Wire->runHooks('execute', Array)
#35 /magazine/index.php(192): Wire->__call('execute', Array)
#36 /magazine/index.php(192): ProcessPageView->execute()
#37 {main}
 
 
 
i have try the solutions that i found in forum but they didnt work 
 
any idea?
thanks
Link to comment
Share on other sites

Sounds like CSRF protection is coming into play. I'm guessing that something is interfering with your session, perhaps client side (browser plugins?). If you'd like, you can disable CSRF protection in your /site/config.php: 

$config->protectCSRF = false; 

However, I'd check your browser to make sure you don't have some kind of spyware or something messing with cookies. 

Link to comment
Share on other sites

today, until now, works fine. 

Does this mean it's working now? I've read the statement over a few times and can't tell. :) If not, you may want to try $config->sessionFingerprint=false; in your /site/config.php (line should already be there, but needs to be changed to false). 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...