07-22-2017, 10:08 PM
@Firestorm
Unfortunately migrating to the Auto Loader did this and we die:
<pre></pre>
Definitely want to migrate to this though if I can get it working. I put this file in classes...that is right, correct?
And @karen that's what I am thinking!!! I do not get why it cannot find the DB class...it has NO problem in every other script and this is formatted JUST like the rest of them...I call init and that is it...I don't get it.
I am calling init...I am immediately trying to go to but it for some reason doesn't know what "DB" is!!! Grr!
Anyone have any ideas?
Unfortunately migrating to the Auto Loader did this and we die:
<pre>
Code:
Warning: require_once(/classes/class.autoloader.php): failed to open stream: No such file or directory in /home/aircentralized/public_html/mydash/users/init.php on line 2
Code:
Fatal error: require_once(): Failed opening required '/classes/class.autoloader.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aircentralized/public_html/mydash/users/init.php on line 2
Definitely want to migrate to this though if I can get it working. I put this file in classes...that is right, correct?
And @karen that's what I am thinking!!! I do not get why it cannot find the DB class...it has NO problem in every other script and this is formatted JUST like the rest of them...I call init and that is it...I don't get it.
I am calling init...I am immediately trying to go to
Code:
$db = DB::getInstance();
Anyone have any ideas?