Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Getting a blank page after upload


jeeper95

Recommended Posts

Posted

Need help with this one -

I've been working on my oscommerce site for a month now and am getting around to editing some of the information pages. Spent yesterday editing and uploading several pages - all good! This am saw something I wanted to add to the privacy.php page. Added several words to the body of the page - did not touch any of the tags on the page. Uploaded it by FTP and it's now a blank white page with no errors. Cannot find any parsing errors in the error log. Finally gave up and uploaded the original catalog privacy php. file that had no changes. Have uploaded it without any success- just a blank white page. When viewing the source after uploading, it too is blank. Have edited and reloaded several other pages, about us, shipping, etc. but no luck on the privacy php. file. Here's what I'm trying to upload- anyone see a problem? Thanks for any help!

<?php
/*
 $Id: privacy.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $

 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 2002 osCommerce

 Released under the GNU General Public License
*/

define('NAVBAR_TITLE', 'Privacy Notice');
define('HEADING_TITLE', 'Privacy Notice');

define('TEXT_INFORMATION', 'Put here your Privacy Notice information.');
?>

Posted

That's the one from your /catalog/includes/languages/english folder.

 

You didn't upload that one into /catalog by mistake, did you?

:unsure:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

No - I checked that intially to make sure I had uploaded right - it was in the right folder. I thought it was probably a code problem, so I uploaded the original file on that page. Now I can't figure out why it won't show the original file??

Posted

Sometimes even on a "blank page", if you <right-click> and "View source", there is info to be seen that can help trace a problem.

 

That would be the first place I would look.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

I did hit 'view source' when the page first came up blank ( and many times since ) - I see the html result of the page and it's pretty much empty too -

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD>

<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>

<BODY></BODY></HTML>

 

When I right click on properties - the url is correct, but the file size is 0 ( and that is the original privacy file that's currently "uploaded" )- I'm baffled.

Thanks for helping!

Posted

If you want to post your /catalog/privacy.php file (or PM it to me), I have a testing area I can try it in if you want.

 

I don't know what else to try at this point...

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Thank you Jim - germ - for looking into this! In the process of getting ready to paste the code for my catalog/privacy/php file to the forum, I found my error - easy to fix. Both files are uploaded to their respective folders and all is good. My privacy page now shows where it should on my site. Geez, sometimes it's just the simplest thing I've missed. Thanks again for your time and...patience! It's appreciated!

Posted

You did good.

:thumbsup:

 

Most people see their mistake 30 seconds AFTER clicking "Add Reply".

 

Looks like you saw it 30 seconds BEFORE!

:lol:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
You did good.

:thumbsup:

 

Most people see their mistake 30 seconds AFTER clicking "Add Reply".

 

Looks like you saw it 30 seconds BEFORE!

:lol:

 

Ah... not so good! I bet I looked at the error several times today in trying to figure it out :blush:

  • 1 month later...
Posted

I just wanted to top this off with what just worked for me because I didn't actually see the (or A) resolution above. I changed a couple of words in the "catalog/includes/languages/espanol/about_us.php" page on my multi-lingual site. For whatever reason the refresh prevented the information for both the English and Spanish to be show. Instead a blank white page in the browser (checked with two different computers). I'm not sure what caused it but the fix for me was to upload a back-up copy of "catalog/about_us.php".

 

I would have thought maybe I made the mistake that "germ" mentioned early on except I was working through the osC file manager and hadn't uploaded anything and had not touched the catalog/about_us.php file.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...