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
PDO newbie loop question
#5
Get all the classes from 3.2 or 4.1 and copy them into the models folder.

Then edit the config.php file in the models folder and after
require_once("funcs.php");

Add these lines...
require_once("classes/Config.php");
require_once("classes/Cookie.php");
require_once("classes/DB.php");
require_once("classes/Hash.php");
require_once("classes/Input.php");
require_once("classes/Redirect.php");
require_once("classes/Session.php");
require_once("classes/Token.php");
require_once("classes/Validate.php");

Primarily you'll want to use the db class and the input class. You may want to implement the token class.

Just to be sure...if you want to TRY to install 3.2 on your server to see if it works, you can go into the install/install.php file and delete lines 58-64 of the install file and see if it works. It's 50/50 if it will, but it might be worth a 5 minute test.
  Reply


Messages In This Thread
PDO newbie loop question - by palmeros - 11-10-2016, 06:24 AM
PDO newbie loop question - by palmeros - 11-10-2016, 10:24 AM
PDO newbie loop question - by mudmin - 11-10-2016, 01:07 PM
PDO newbie loop question - by palmeros - 11-10-2016, 01:14 PM
PDO newbie loop question - by mudmin - 11-12-2016, 12:08 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)