Login Page works on localhost but not on hosted server. Page loads but turns blank.
There are files like: https://www.graphic.com.gh/ghelections/js/jquery-3.4.1.slim.min.js missing on your server. Make sure to upload everything.
I have uploaded that and page loads. But Cannot login although db credentials are ok.
I get this under the COnsole–Preview Tab of Chrome
1. code: 0,…}
1. code: 0
2. file: "/home/customer/www/graphic.com.gh/public_html/ghelections/dmxConnectLib/lib/db/Connection.php"
3. line: 24
4. message: "Trying to get property 'options' of non-object"
5. trace: "#0 /home/customer/www/graphic.com.gh/public_html/ghelections/dmxConnectLib/lib/db/Connection.php(24): exception_error_handler(8, 'Trying to get p...', '/home/customer/...', 24, Array)↵#1 /home/customer/www/graphic.com.gh/public_html/ghelections/dmxConnectLib/lib/auth/DatabaseProvider.php(21): lib\db\Connection::get(Object(lib\App), 'conn1')↵#2 /home/customer/www/graphic.com.gh/public_html/ghelections/dmxConnectLib/lib/auth/Provider.php(75): lib\auth\DatabaseProvider->__construct(Object(lib\App), Object(stdClass))↵#3 /home/customer/www/graphic.com.gh/public_html/ghelections/dmxConnectLib/modules/auth.php(11): lib\auth\Provider->__construct(Object(lib\App), Object(stdClass), 'siteSecurity')↵#4 /home/customer/www/graphic.com.gh/public_html/ghelections/dmxConnectLib/lib/App.php(193): modules\auth->provider(Object(stdClass), 'siteSecurity')↵#5 /home/customer/www/graphic.com.gh/public_html/ghelections/dmxConnectLib/lib/App.php(157): lib\App->execSteps(Object(stdClass))↵#6 /home/customer/www/graphic.com.gh/public_html/ghelections/dmxConnectLib/lib/App.php(127): lib\App->execSteps(Array)↵#7 /home/customer/www/graphic.com.gh/public_html/ghelections/dmxConnectLib/lib/App.php(94): lib\App->exec(Array)↵#8 /home/customer/www/graphic.com.gh/public_html/ghelections/dmxConnect/api/system/login.php(8): lib\App->define(Array)↵#9 {main}"
Console
top
Well … are you sure your database connection is correctly setup for your target?
Also - please double check how is the security provider set up!
This is the login page. It has no restrictions. It is just setup to redirect to another page after login.
It works when tested local host Xampp. But not when I upload. db connection has the right parameters.
I am referring to the Security Provider - open its options make sure everything is selected correctly there and save it.