Click to See Complete Forum and Search --> : Apache + SSL + PHP: pages blank?


Anon
10-26-2001, 12:56 PM
I've finally gotten PHP, Apache, and SSL running on RH. But...when I
try to open a script that has mixed php and html, IE displays a blank
screen and Netscape gives a popup error that the page contains no
data. View source shows only the html code. If I run a straight php
script <?php echo phpinfo() ?> it works fine.

PHP is compiled as a static module as that's the only way we could get
it working. Does anyone have any suggestions?

TIA,
Sheila

amcgrath
10-26-2001, 02:07 PM
paste the code from the script having the problem....

Anon
10-26-2001, 02:32 PM
In the name of 'quick and dirty testing' I had recompiled php without oci8 support. My scripts all have an include which makes the connection. Once I reconfigured php --with-oci8 everything works fine.

sorry to waste time...
-s-

Anon
07-07-2002, 08:27 PM
<?php // $Revision: 1.5 $

/************************************************************************/
/* phpAdsNew 2 */
/* =========== */
/* */
/* Copyright (c) 2001 by the phpAdsNew developers */
/* http://sourceforge.net/projects/phpadsnew */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/



// Include required files
require ("config.php");


// Security check
phpAds_checkAccess(phpAds_Admin+phpAds_Client);



/*********************************************************/
/* Main code */
/*********************************************************/

if (phpAds_isUser(phpAds_Admin))
{
Header("Location: $phpAds_url_prefix/admin/stats-index.php");
exit;
}

if (phpAds_isUser(phpAds_Client))
{
Header("Location: $phpAds_url_prefix/admin/stats-index.php");
exit;
}

?>