Jump to content



Latest News: (loading..)

- - - - -

Please Please Help! White Screens in Site?

white sreens

This topic has been archived. This means that you cannot reply to this topic.
6 replies to this topic

#1   Shelea Newson-Roberts

Shelea Newson-Roberts
  • Members
  • 4 posts

Posted 28 February 2012 - 02:14 PM

I did some editing to customize my site from multimixer.gr for custom buttons
I added this and it worked fine for me but now when I click the remove or update or continue buttons I get a white screen.

I've tried the refresh button but still get the same white screen so then the only way I get back to the cart is to click the back button or go back to the home page where it does show the item removed or updated but I don't want that for my customers- PLEASE HELP!

I need to get my site back right and remove the white screen when these buttons are clicked but don't know what I did or how to fix this?

My site is: www.mizzleea.com/BuyMZL/
PLEASE tell me what to do......

Thanks for your Help!

Edited by Jan Zonjee, 28 February 2012 - 04:22 PM.


#2   multimixer

multimixer

    Lemons or Melons ?

  • Partner
  • 4,387 posts

Posted 28 February 2012 - 02:59 PM

You did something wrong when doing the modifications, best advice is, to restore your original file and try one more time.

#3   Shelea Newson-Roberts

Shelea Newson-Roberts
  • Members
  • 4 posts

Posted 28 February 2012 - 08:14 PM

Thanks im new and its just too much work maybe someone knows how to fix common white screens i was hoping.

#4   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,720 posts

Posted 28 February 2012 - 08:16 PM

@Shelea Newson-Roberts

'White screens' are usually the by-product of 'white-space' left before and after the PHP tags.

Check the file in question(s) for white space.


Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)

#5   Shelea Newson-Roberts

Shelea Newson-Roberts
  • Members
  • 4 posts

Posted 28 February 2012 - 08:41 PM

@DunWeb

Thanks im sorry can you post an example or do you mean like a blank line ?

Edited by Shelea Newson-Roberts, 28 February 2012 - 08:50 PM.


#6   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,720 posts

Posted 28 February 2012 - 08:54 PM

@Shelea Newson-Roberts

Actually, no.  It varies for each file.  The 'white-space' could even be hidden, depending on the editor used to open and save the file.

This is one example:

{there could be a space or return character here}<?php
/*
  $Id: account.php 1739 2007-12-20 00:52:16Z hpdl $

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright © 2007 osCommerce

  Released under the GNU General Public License
*/

  require('includes/application_top.php');

  if (!tep_session_is_registered('customer_id')) {
    $navigation->set_snapshot();
    tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
  }

  require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ACCOUNT);

  $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_ACCOUNT, '', 'SSL'));
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>



Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)

#7   marrrecki

marrrecki
  • Members
  • 159 posts

Posted 04 March 2012 - 08:34 PM

get notepad++ application from http://notepad-plus-plus.org/.
Download it and install. Open your php file in notepad++ and run:
format->convert to utf8 without bom
Need help? Please contact me: