01-20-2017, 07:52 PM
Slashes come from having something like
$us_url_root.'/
or
<?=$us_url_root?>/
Basically the $us_url_root has the final / in the variable itself, so if somewhere in your code (search the whole project) you have one of the above two instances, every time that is pinged, you're going to add a slash to the url. It's usually in your usersc/scripts/custom_login_script.php
I don't understand the not loading private pages? What's happening?
Is the menu loading and then the page being killed?
If you want to see if it is your own security killing the page, go to one of your pages and change
<?php if (!securePage($_SERVER['PHP_SELF'])){die();} ?>
to
<?php if (!securePage($_SERVER['PHP_SELF'])){die("This page has been killed for security reasons");} ?>
If you get that message, then the securePage is killing the page for some particular reason and we can go from there.
Finally, what version of PHP are you running?
$us_url_root.'/
or
<?=$us_url_root?>/
Basically the $us_url_root has the final / in the variable itself, so if somewhere in your code (search the whole project) you have one of the above two instances, every time that is pinged, you're going to add a slash to the url. It's usually in your usersc/scripts/custom_login_script.php
I don't understand the not loading private pages? What's happening?
Is the menu loading and then the page being killed?
If you want to see if it is your own security killing the page, go to one of your pages and change
<?php if (!securePage($_SERVER['PHP_SELF'])){die();} ?>
to
<?php if (!securePage($_SERVER['PHP_SELF'])){die("This page has been killed for security reasons");} ?>
If you get that message, then the securePage is killing the page for some particular reason and we can go from there.
Finally, what version of PHP are you running?