• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Signup issue

#1
I recently switched my website over to a new host and I thought I would start from scratch but I have a issue when people are trying to sign up it gives this error message
XenForo - Error
A server error occurred. Please try again later.
Does anyone know what the problem is? The thing is my last webhost set it all up for me including the Xenforo installation and I'm trying to learn how to do it myself. Not sure if it's required but just incase my website is zmolahah.com also I'm using Xenforo 1.1.3
 

Chris D

XenForo developer
Staff member
#2
Sorry you're having problems.

Are you able to log into the Admin CP?

If so, go to Tools > Server Error Log.

There should be some errors listed there.

If you copy and paste all of the detail from a few entries hopefully that will tell us what the error is :)
 
#3
Sorry you're having problems.

Are you able to log into the Admin CP?

If so, go to Tools > Server Error Log.

There should be some errors listed there.

If you copy and paste all of the detail from a few entries hopefully that will tell us what the error is :)
Yes I can manage to get into it but the error log is over 10 pages. They all seem to say the same thing though so here it is thanks so much
ErrorException: Use of undefined constant __DIR__ - assumed '__DIR__' - library/XenForo/Captcha/ayah.php:418
Generated By: Unknown Account, 5 minutes ago
Stack Trace​
#0 /home/zmolahah/public_html/library/XenForo/Captcha/ayah.php(418): XenForo_Application::handlePhpError()
#1 /home/zmolahah/public_html/library/XenForo/Captcha/ayah.php(59): AYAH->__load_config_file()
#2 /home/zmolahah/public_html/library/XenForo/Captcha/Captcha.php(34): AYAH->__construct()
#3 /home/zmolahah/public_html/library/XenForo/Captcha/Abstract.php(94): XenForo_Captcha_Captcha->__construct()
#4 /home/zmolahah/public_html/library/XenForo/ControllerPublic/Register.php(99): XenForo_Captcha_Abstract::createDefault(Array, Array)
#5 /home/zmolahah/public_html/library/XenForo/ControllerPublic/Register.php(70): XenForo_ControllerPublic_Register->_getRegisterFormResponse()
#6 /home/zmolahah/public_html/library/XenForo/FrontController.php(310): XenForo_ControllerPublic_Register->actionIndex(Object(XenForo_RouteMatch))
#7 /home/zmolahah/public_html/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch()
#8 /home/zmolahah/public_html/index.php(13): XenForo_FrontController->run()
#9 {main}
Request State​
array(3) {
["url"] => string(41) "http://zmolahah.com/index.php?login/login"
["_GET"] => array(1) {
["login/login"] => string(0) ""
}
["_POST"] => array(5) {
["login"] => string(0) ""
["register"] => string(1) "1"
["cookie_check"] => string(1) "1"
["redirect"] => string(10) "/index.php"
["_xfToken"] => string(0) ""
}
}

 

Chris D

XenForo developer
Staff member
#4
This looks to be an issue with the Are You a Human add-on.

Disable that (from the home page of your Admin CP) and then try again.

If the problem still persists, go back and get the most recent error and paste it here.

If the problem goes away, then the add-on is a problem.

EDIT: Seems as though people are having similar issues with this add-on: http://xenforo.com/community/threads/are-you-a-human.36167/

There are better CAPTCHA methods out there, also free. Maybe use one of them instead.


EDIT: I'd actually recommend this one: http://xenforo.com/community/resources/customimgcaptcha-spam-combat.1161/
 
#5
This looks to be an issue with the Are You a Human add-on.

Disable that (from the home page of your Admin CP) and then try again.

If the problem still persists, go back and get the most recent error and paste it here.

If the problem goes away, then the add-on is a problem.

EDIT: Seems as though people are having similar issues with this add-on: http://xenforo.com/community/threads/are-you-a-human.36167/

There are better CAPTCHA methods out there, also free. Maybe use one of them instead.


EDIT: I'd actually recommend this one: http://xenforo.com/community/resources/customimgcaptcha-spam-combat.1161/
Oh alright I'll use that instead but it used to work fine on my old website
 
#6
This looks to be an issue with the Are You a Human add-on.

Disable that (from the home page of your Admin CP) and then try again.

If the problem still persists, go back and get the most recent error and paste it here.

If the problem goes away, then the add-on is a problem.

EDIT: Seems as though people are having similar issues with this add-on: http://xenforo.com/community/threads/are-you-a-human.36167/

There are better CAPTCHA methods out there, also free. Maybe use one of them instead.


EDIT: I'd actually recommend this one: http://xenforo.com/community/resources/customimgcaptcha-spam-combat.1161/
I just removed the are you a human add-on but I'm having the same errors and the error log seems to say the same thing as before but when I go on my add-ons it says that I have no add-ons yet
Error Info​
ErrorException: Use of undefined constant __DIR__ - assumed '__DIR__' - library/XenForo/Captcha/ayah.php:418
Generated By: Unknown Account, A moment ago
Stack Trace​
#0 /home/zmolahah/public_html/library/XenForo/Captcha/ayah.php(418): XenForo_Application::handlePhpError()
#1 /home/zmolahah/public_html/library/XenForo/Captcha/ayah.php(59): AYAH->__load_config_file()
#2 /home/zmolahah/public_html/library/XenForo/Captcha/Captcha.php(34): AYAH->__construct()
#3 /home/zmolahah/public_html/library/XenForo/Captcha/Abstract.php(94): XenForo_Captcha_Captcha->__construct()
#4 /home/zmolahah/public_html/library/XenForo/ControllerPublic/Register.php(99): XenForo_Captcha_Abstract::createDefault(Array, Array)
#5 /home/zmolahah/public_html/library/XenForo/ControllerPublic/Register.php(70): XenForo_ControllerPublic_Register->_getRegisterFormResponse()
#6 /home/zmolahah/public_html/library/XenForo/FrontController.php(310): XenForo_ControllerPublic_Register->actionIndex(Object(XenForo_RouteMatch))
#7 /home/zmolahah/public_html/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch()
#8 /home/zmolahah/public_html/index.php(13): XenForo_FrontController->run()
#9 {main}
Request State​
array(3) {
["url"] => string(41) "http://zmolahah.com/index.php?login/login"
["_GET"] => array(1) {
["login/login"] => string(0) ""
}
["_POST"] => array(5) {
["login"] => string(9) "Lewis Cam"
["register"] => string(1) "1"
["cookie_check"] => string(1) "1"
["redirect"] => string(10) "/index.php"
["_xfToken"] => string(0) ""
}
}
 

Chris D

XenForo developer
Staff member
#7
How did you remove it? Did you uninstall it from the Admin CP? Just uncheck the box to disable it? Or something else?

You might need to go to where the CAPTCHA options are in the Admin CP and make sure you set it back to reCAPTCHA... maybe it's cached somewhere.

Also, was your previous site a XenForo site? AYAH in general seems like a good solution, I'm just not certain this particular add-on for XenForo works very well.
 
#8
How did you remove it? Did you uninstall it from the Admin CP? Just uncheck the box to disable it? Or something else?

You might need to go to where the CAPTCHA options are in the Admin CP and make sure you set it back to reCAPTCHA... maybe it's cached somewhere.

Also, was your previous site a XenForo site? AYAH in general seems like a good solution, I'm just not certain this particular add-on for XenForo works very well.
I went into the add-ons and pressed the x to delete it. I also changed the CAPTCHA back to reCAPTCHA and yes my previous site was XenForo. And is AYAH the add-on you sent me? I've not installed any extra add-ons I just want the website to be sorted before I carry on with any extra add-ons. I used to only really use Xenporta and the are you a human add-on but I may possibly download or buy some in the future
 
#9
Does anyone know whats wrong..? Sorry to nag but I can't exactly run a website when no-one can sign up :(

[Edit]
I managed to fix it. I completely re-installed Xenforo and it works perfectly now