Jump to content

Blank Page - please help.


vanyok

Recommended Posts

Hi guys :) I'm confused.. very confused and hope that someone will know what's going on. I have a very simple school homework project that's coming up as a blank page. I dont understand why. Here is the script of index.php:<?php session_start();if (!$_SESSION['userEmail'] && !$_SESSION['userPassword']){include 'hdr.php';include 'content/'.$page.'.php';}else{include 'ProfileResults.php';exit;}include 'ftr.php'; ?>it's located at:http://www.shopperstart.com/vanyok/phphomework/group/I tried on 4 different computer and the web site coming up as a blank page in Interenet Explorer but works fine in Firefox. The problem started after I added sessions so I assume that's the problem. Please help.Thank you in advance.

Link to comment
Share on other sites

when i view it im seeing a few errors. do you have "session_start();" in one of the includes? it's saying:Notice: A session had already been started - ignoring session_start() in /home/shopp/public_html/vanyok/phphomework/group/hdr.php on line 2

Link to comment
Share on other sites

Yup.. thats because I added error_reporting(E_ALL); just right now to see if that will help me figure out what's going on.That warrning means that I'm including another php file that has session_start() function as well but it shouldn't cause a problem, should it ?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...