The following warnings occurred: | ||||||||||||||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
500 Error - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23) +--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26) +--- Thread: 500 Error (/showthread.php?tid=173) Pages:
1
2
|
500 Error - mudmin - 08-24-2016 haha. That is pretty funny. Sorry about your time on that though. I guess we're all going to say namecheap is not recommended. I want to start compiling a list of recommended hosting providers. We've bent over backwards building compatibility with everything from apache to nginx and dozens of providers, but that's just uncalled for. 500 Error - JUG - 03-10-2017 Ok, so I had issues with Error 500. Maybe this helps to someone: I got Error 500 every time I tryed to access any page other than index.php. Error occured when I copyed login.php from users to usersc or when I copyed index.php and renamed it. Only index.php was working correctly. Solution: in every page you create you must have some php code <?php require_once 'users/init.php'; require_once $abs_us_root.$us_url_root.'users/includes/header.php'; require_once $abs_us_root.$us_url_root.'users/includes/navigation.php'; ?> change code above with the one below <?php require_once $_SERVER['DOCUMENT_ROOT'].'/users/init.php'; require_once $abs_us_root.$us_url_root.'users/includes/header.php'; require_once $abs_us_root.$us_url_root.'users/includes/navigation.php'; ?> Note the / before users/init.php! Apache2 on Debian 8 |