Since the Wampserver upgrade to 2.2 (Apache 2.4.2; php 5.4.3; MySql 5.5.24) after running the previously written PHP program, always error, do not know how to solve, ask for your guidance. Thanks a lot. The problems encountered this time are:
The folder where the source code is located.
index.php saved in "www/artivisminventory/admin/";
function source global.inc.php and pic_functions.php saved in "www/artivisminventory/admin/includes/"
Class source such as UserTools.class.php and DB.class.php, etc. saved in "www/artivisminventory/admin/classes/"
Part index.php Source:
Getpageid ($modul _name);? >Content Management System
········
Part global.inc.php Source code
Connect ();//initialize usertools object$usertools = new Usertools ();? >
Part UserTools.class.php Source code
This group of programs, such as FTP to remote web host provided by a third party, works fine, but runs under local wampserver with the following error message:
Reply to discussion (solution)
Require_once '. /classes/user.class.php ';
The inclusion of the following classes is also changed to try this
Require_once '. /classes/user.class.php ';
The inclusion of the following classes is also changed to try this
This trial, the mistake becomes:
This diagram is a little clearer
I have also encountered this new version of this newspaper error, as if several functions were canceled in the latest release, after the change will be good
There is a reference to the variable when placed in the function () will also error, the first definition of a separate reference is OK
UserTools.class.php Source
UserTools.class.php
Isn't that obvious? Your program needs to turn on short tag support, while the PHP default configuration is off
Upstairs moderator Mighty. Thank you, knot stickers.