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
Moving Languages to Database
#25
@Firestorm

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
</pre>


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();
but it for some reason doesn't know what "DB" is!!! Grr!

Anyone have any ideas? Sad
  Reply


Messages In This Thread
Moving Languages to Database - by Brandin - 11-26-2016, 08:22 PM
Moving Languages to Database - by mudmin - 11-26-2016, 08:46 PM
Moving Languages to Database - by Brandin - 11-26-2016, 10:23 PM
Moving Languages to Database - by winterswolf - 11-29-2016, 06:25 AM
Moving Languages to Database - by Brandin - 11-29-2016, 01:09 PM
Moving Languages to Database - by mudmin - 11-29-2016, 02:02 PM
Moving Languages to Database - by Brandin - 11-29-2016, 02:03 PM
Moving Languages to Database - by mudmin - 11-29-2016, 02:09 PM
Moving Languages to Database - by mudmin - 11-29-2016, 02:12 PM
Moving Languages to Database - by Brandin - 11-29-2016, 02:14 PM
Moving Languages to Database - by mudmin - 11-29-2016, 02:24 PM
Moving Languages to Database - by Brandin - 11-29-2016, 03:17 PM
Moving Languages to Database - by mudmin - 11-29-2016, 03:19 PM
Moving Languages to Database - by Brandin - 02-05-2017, 02:59 PM
Moving Languages to Database - by Brandin - 02-11-2017, 05:09 PM
Moving Languages to Database - by mudmin - 02-11-2017, 10:30 PM
Moving Languages to Database - by Brandin - 02-12-2017, 08:33 PM
Moving Languages to Database - by Brandin - 02-13-2017, 03:02 AM
Moving Languages to Database - by Brandin - 02-13-2017, 03:17 AM
Moving Languages to Database - by Brandin - 07-18-2017, 12:41 AM
Moving Languages to Database - by firestorm - 07-19-2017, 07:17 AM
Moving Languages to Database - by Brandin - 07-19-2017, 12:07 PM
Moving Languages to Database - by karsen - 07-21-2017, 06:39 PM
Moving Languages to Database - by firestorm - 07-21-2017, 07:08 PM
Moving Languages to Database - by Brandin - 07-22-2017, 10:08 PM
Moving Languages to Database - by karsen - 07-22-2017, 11:41 PM
Moving Languages to Database - by Brandin - 07-23-2017, 05:46 PM
Moving Languages to Database - by firestorm - 07-23-2017, 09:26 PM
Moving Languages to Database - by Brandin - 07-24-2017, 12:17 AM

Forum Jump:


Users browsing this thread: 12 Guest(s)