01-04-2017, 04:59 AM
1. I didnt modify helpers.php or us_helpers.php
2 account.php have the “user” permission group assigned to it?
3 yes i did modifed the top of the page of my redirecting page. am sure the issue started when i created a new folder. my index.php is in another folder : here is the index page am redirecting to. <?php
//require users/init.php in users folder . cc is my app root
require_once $_SERVER['DOCUMENT_ROOT'].'/cc/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';
?>
<?php if (!securePage($_SERVER['PHP_SELF'])){die();}
//will be using theses variables on the page
$get_info_fname = $user->data()->fname;
$get_info_lname = $user->data()->lname;
$get_info_id = $user->data()->id;
$get_info_email = $user->data()->email;
$get_info_username = $user->data()->username;
echo 'Welcome moderator';?>
2 account.php have the “user” permission group assigned to it?
3 yes i did modifed the top of the page of my redirecting page. am sure the issue started when i created a new folder. my index.php is in another folder : here is the index page am redirecting to. <?php
//require users/init.php in users folder . cc is my app root
require_once $_SERVER['DOCUMENT_ROOT'].'/cc/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';
?>
<?php if (!securePage($_SERVER['PHP_SELF'])){die();}
//will be using theses variables on the page
$get_info_fname = $user->data()->fname;
$get_info_lname = $user->data()->lname;
$get_info_id = $user->data()->id;
$get_info_email = $user->data()->email;
$get_info_username = $user->data()->username;
echo 'Welcome moderator';?>