TRB Posted January 29, 2008 Share Posted January 29, 2008 The code is for a password protected section of our website. Instead all that keeps coming up is blank pages. This just started happening within the last 3-4 days, prior to that everything worked fine. Here is the code: <?php session_cache_limiter('private, must-revalidate'); session_start(); define('PEAR_DB_PATH','/home/cust1/user1079862/html/oss/lib/PEAR/DB.php'); require_once '/home/cust1/user1079862/html/oss/lib/userValidator.class.php'; $authClass=new userValidator(101); $authClass->validateRequest(); ?> Any help would be much appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/88297-help-with-code-errors-in-php-script/ Share on other sites More sharing options...
valtido Posted January 29, 2008 Share Posted January 29, 2008 <?php session_cache_limiter('private', 'must-revalidate'); session_start(); define('PEAR_DB_PATH','/home/cust1/user1079862/html/oss/lib/PEAR/DB.php'); require_once ('/home/cust1/user1079862/html/oss/lib/userValidator.class.php'); $authClass=new userValidator(101); $authClass->validateRequest(); ?> try and replace your code with that a couple of minor errors with speach marks and () ps Quote Link to comment https://forums.phpfreaks.com/topic/88297-help-with-code-errors-in-php-script/#findComment-451846 Share on other sites More sharing options...
TRB Posted January 29, 2008 Author Share Posted January 29, 2008 Still had the same result. Showing it as a blank page. Quote Link to comment https://forums.phpfreaks.com/topic/88297-help-with-code-errors-in-php-script/#findComment-451990 Share on other sites More sharing options...
PFMaBiSmAd Posted January 29, 2008 Share Posted January 29, 2008 Blank php pages are usually caused by fatal parse or fatal runtime errors. Check your web server log. Also, code does not just stop running on its own (unless it is poorly written and a condition occurs that it does not test for and properly handle and recover from) unless something changed on the server. Check if your host upgraded anything or changed settings at about the time the code stopped working. Quote Link to comment https://forums.phpfreaks.com/topic/88297-help-with-code-errors-in-php-script/#findComment-452006 Share on other sites More sharing options...
TRB Posted January 29, 2008 Author Share Posted January 29, 2008 They keep saying it's a script error. The scripts have worked perfectly for a very long time and suddenly nothing. The error log doesn't show any of it. The pages show up blank and the source code is empty. Here's a link for an example: http://www.preproundball.com/texasroundball/team.php Quote Link to comment https://forums.phpfreaks.com/topic/88297-help-with-code-errors-in-php-script/#findComment-452035 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.