Newbie question: require_once() is not working
Posted: Tue May 01, 2007 12:46 pm
Hello,
I have a very strange problem. The require_once() function doesn't seem to be working, it works fine on my other servers, but not on another.
I've deployed all the packages like SOAP/pear, restarted Apache, but I just get a blank screen when trying to use require_once(). I even researched for error-handling but I still get a blank page, with no error messages at all, nothing, here's my code, hope somebody could help me with this one:
everything is just blank. When I try to get the actual printout of SOAP response, the page gets blank too. It also gets blank when I try to directly access Client.php file, but I get an error on another server (as it should) where require_once() is working.
Please help,
Thank you,
Victor.
I have a very strange problem. The require_once() function doesn't seem to be working, it works fine on my other servers, but not on another.
I've deployed all the packages like SOAP/pear, restarted Apache, but I just get a blank screen when trying to use require_once(). I even researched for error-handling but I still get a blank page, with no error messages at all, nothing, here's my code, hope somebody could help me with this one:
Code: Select all
<?php
/*
this file is for getting data using SOAP requests
*/
try
{
require_once('SOAP/Client.php');// or die ("problems");
}
catch Exception ($e)
{
echo $e->getMessage();
//also tried $e->getMessage();
}Please help,
Thank you,
Victor.