The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
prorecting multiple pages in different folders
#12
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';?>
  Reply


Messages In This Thread
prorecting multiple pages in different folders - by meetmec12 - 01-04-2017, 04:59 AM

Forum Jump:


Users browsing this thread: 6 Guest(s)