Guest Posted November 13, 2005 Share Posted November 13, 2005 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 Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted November 13, 2005 Share Posted November 13, 2005 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. Quote Link to comment Share on other sites More sharing options...
Guest Posted November 14, 2005 Share Posted November 14, 2005 thank you for the help I have posted more questions to More questions thank you again Once I get this done and anyone wants this please contact me and I wiill zip it up and send it to you noppie Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.