Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
blank page of PHP script

blank page of PHP script

2007-05-16       - By aix tiger

 Back
Reply:     1     2     3     4  

Guys
 
 I am using latest version of mysql, PHP and Apache 2 on RHEL 4.
 
 Every thing is working fine , even simple php pages are being displayed
correctly , howvere , when i load some PHP script files , page remain blank and
nothing being executed on server side.
 
 Here is the code of php file :
 
 <?php
//define("PB_CRYPT_LINKS" , 1);
define("_LIBPATH","./lib/");
require_once _LIBPATH . "site.php";
 $site = new CSite("./site.xml",true);
$site->Run();
?>

 No errors appear in access logs or error logs of httpd server.Only blank page
appears although i was expecting to execute some configuration execution for a
software ( a help desk software).
 
 Instead , if i put following PHP file , i get expected outcome while
accessing that file through my browser.
 
 <?php
$Cat = "Spot";
$Dog = "Clif";
Print "My cat " . $Cat . " and my dog " . $Dog . " like to play together.";
?>

 Can anybody help me on this issue ; as i beleive that there is nothing wrong
in the code itself as same problem happening to another open source
configuration installtaion script ( which is also based on php).
 
 Regards
 
 Khurram
 
 
 


-- ---- ---- ---- ---- ---- -----
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list