Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PLEASE PLEASE PLEASE HELP ME


Guest

Recommended Posts

OK.

I downloaded oscpro (free verison) I have hosting to sell. and I needed the subscription mod they had with this OScommerce store.. and I needed to seperate price per customer , ok the free oscpro was an older verison of oscommerce. so I spent the day yesterday and up graded the file to the lasted verison of osc.. and I got the admin to work..

but I can't get the index file on the catalog side to work I get this error when you go to the link below

 

My Webpage

Parse error: parse error, unexpected T_STRING in /home/ellehost/public_html/catalog/index.php on line 177

 

so to save space here I uploaded the files to my site under http://ellehosting.com/help_me

 

the first one is the original index file

Original index

 

this is what I want to merger

what I want to merger

 

and this file is the one that is in oscommerce and not working.

 

index file that is giving me the error.

 

and after I get this fixed I would be glad to give it to anyone that needs it too.

thank you

Noppie

Link to comment
Share on other sites

Noppie,

I needed the subscription mod they had with this OScommerce store..
The error is simply that you forgot to put a brace in line177, so it should have been:

if ($status_product_prices_table == true)	{	 $listing_sql = "select " . $

But I notice a lot more things are dead wrong.

 

IMHO the original file is a plain, vanilla, standard osC index.php file. The only thing that has changed is that in 4 queries there is added: su.price_period, su.oneday_price, su.days_as_period, su.pay_period_type, and " . TABLE_SUBSCRIPTIONS ." su, " .

I would suggest to take the index.php that came with SPPC and add those things (in blue) in the 8 queries (instead of 4) where they should be inserted now. That will save you a lot of headaches.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...