04-26-2019, 01:57 PM
I've got some working code, except for the $users structure.. it's not being respected on new page loads. I'm stumped.
<?php
require_once '../users/init.php';
require_once $abs_us_root.$us_url_root.'users/includes/template/prep.php';
if(isset($user) && $user->isLoggedIn()){
echo "hokay";
die;
}
This is the top of the page inside users/wall.php
This is what is at the top of most user-facing pages in users folder
I noticed when saving a wall post and inserting a row into the wall table, this doesn't exist: $user->data()->id
Any suggestions helpful.
<?php
require_once '../users/init.php';
require_once $abs_us_root.$us_url_root.'users/includes/template/prep.php';
if(isset($user) && $user->isLoggedIn()){
echo "hokay";
die;
}
This is the top of the page inside users/wall.php
This is what is at the top of most user-facing pages in users folder
I noticed when saving a wall post and inserting a row into the wall table, this doesn't exist: $user->data()->id
Any suggestions helpful.