Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Blank Pages


ThoroughWeb

Recommended Posts

Posted

Hi, just me again, ready to tear my hair out.

 

I started trying to configure OSCommerce a couple of days ago. I'm slowly getting a handle on how things are put together but I have run into a very frustrating problem and need help.

 

Occassionally, when I make a change to a .php file, I ended up with blank screens on every page of my store instead of the store.

 

I had this problem when I first tried to edit the /languages/english/index.php file so I am now in the habit of always copying the working file (cut paste to notepad) before I make any changes. It's worked fine so far, but I just tried to make another change and it created the "blank pages" problem.

 

I pasted the working copy back and saved it but I still get blank pages. The only solution I have found for this is a total reinstall which is quite frustrating. Does anyone have any idea why this is happening?

 

Thanks for any help you can give me

 

Robin

Posted

Don't use the online File Manager to edit your files. Download the file via FTP, take a backup (just in case), and then edit the file in a plain text editor, like Notepad - though Text Pad is better (free download). Don't use Word, Wordpad or FrontPage to edit files - they are not plain text editors and apply text formatting.

 

When you add words/text to a file then any apostrophies you use in text must be 'escaped' with a preceeding backslash, as in:

Let's = wrong

Let\'s = right

 

Vger

Posted

Thanks, this seems to be working much better, and you're right text pad is a very nice application.

 

I appreciate your help, cross your fingers that this is the last install :)

 

Rob

Archived

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

×
×
  • Create New...