This code works in Apache but breaks when I switch to Litespeed

#1
Code:
  while (!empty($theNextUp)) {

                //echo HTMLLine("Looking for Dad of ". $theNextUp);

                $myDadURL=findParentURL($theNextUp);

                $myDadURI=makeURI($myDadURL);

                //$myDadName=findTitle($myDadURI);

                $pathToMe[]=array("URI"=>$myDadURI, "URL"=>$myDadURL);

                $theNextUp=$myDadURL;

        }
Once I switch to Litespeed the following error message is generated:

Call to undefined function findParentURL()

Any ideas?
 

mistwang

LiteSpeed Staff
#2
Maybe some include files was missing with LiteSpeed. check PHP error_log.
make sure you are using the same version of PHP with Apache and LiteSpeed.
compare the PHPINFO output for differences.
 
#3
This is what appears in the PHP error_log:

Call to undefined function findParentURL()

All the include files are there. As soon as I switch to Litespeed the site displays a blank white page. How do I compare the phpinfo output? Where is the php.ini file for Litespeed?
 
Top