Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

index.php


facasplaca

Recommended Posts

I am trying (unsuccesfully) to change index.php, and people really I know that this is the file in/includes/language/english/index.php but WHATEVER I do this error comes up:

Parse error: parse error in /catalog/includes/languages/english/index.php on line 13

 

Now, I reinstalled index.php, deleted ONLY one word in text, and again same error.

Who can help me?

And I have to say, I have experience with scripts.......but this is something beyond

my knowledge....

Link to comment
Share on other sites

You are probably editing using the osCommerce file manager - this strips out backslashes on some installations, causing parse errors. Use a text editor on a fresh copy of the file, save then upload the changed file to your server.

 

Matti

Link to comment
Share on other sites

I'm having the same problem. Here's the error message I receive:

 

index.php: parse error, expecting `'('' on line 13
require('includes/application.php');

 

and here's how it shows in the file:

 

  require('includes/application.php');

 

It looks the same to me -- what am I missing??

 

Thanks in advance for any help!

 

Terry K

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...