Earth2Luke
Member
I've been tinkering with the built-in Xenforo 2.0 "Payment Profiles" and "User Upgrades" however, I'm running into a small problem... At least when going through the process via PayPal.
The goal: The goal is to have a $5.00 monthly subscription to allow the members to become a donor, which in-tern already successfully gives them a [donor] role/tag on the forums, until canceled/terminated. They go through the process, log into their PayPal accounts, and can successfully achieve this without problem. However, on the Paypal page, after they've finished the subscription process, they are given the option to return to my website. However, when they click on that option they end up at a blank page with a small text error simply saying "An unexpected database error occurred. Please try again later."
I've asked a user to send me the URL of the page where they get this message. It appeared differently for me, perhaps because I have different permission than they do. It read as followed...
If someone can help me resolve this issue, I would be extremely grateful. I've attached screenshots of how my Payment Profiles and User Upgrades pages are set up just in-case there was something I missed or had done incorrectly.
The goal: The goal is to have a $5.00 monthly subscription to allow the members to become a donor, which in-tern already successfully gives them a [donor] role/tag on the forums, until canceled/terminated. They go through the process, log into their PayPal accounts, and can successfully achieve this without problem. However, on the Paypal page, after they've finished the subscription process, they are given the option to return to my website. However, when they click on that option they end up at a blank page with a small text error simply saying "An unexpected database error occurred. Please try again later."
I've asked a user to send me the URL of the page where they get this message. It appeared differently for me, perhaps because I have different permission than they do. It read as followed...
Code:
An exception occurred: [XF\Db\Exception] MySQL query error [1406]: Data too long for column 'location' at row 1 in src/XF/Db/AbstractStatement.php on line 212
XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 78
XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 79
XF\Db\AbstractAdapter->query() in src/addons/Andy/UserAgent/Listener.php at line 67
Andy\UserAgent\Listener::appPubRenderPage()
call_user_func_array() in src/XF/Extension.php at line 67
XF\Extension->fire() in src/XF/App.php at line 2350
XF\App->fire() in src/XF/Pub/App.php at line 447
XF\Pub\App->renderPageHtml() in src/XF/App.php at line 1724
XF\App->renderPage() in src/XF/Mvc/Dispatcher.php at line 310
XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 44
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1889
XF\App->run() in src/XF.php at line 328
XF::runApp() in index.php at line 13
If someone can help me resolve this issue, I would be extremely grateful. I've attached screenshots of how my Payment Profiles and User Upgrades pages are set up just in-case there was something I missed or had done incorrectly.