Nanci Posted April 20, 2006 Posted April 20, 2006 osCommerce is designed to be a fully functioning site. If you install it to the default "catalog" folder, it can coexist with the main site and you can put a link to it in the main site's menubar (i.e. "Merchandise" or "Our Store", etc.). I have read posts in which a couple of people have mentioned using osCommerce as a backend and writing code in the main site to utilize it's funcitons. But I am reasonably certain that would require significant PHP knowledge. You may want to look into these contributions: Basic Template Structure v0.9 Simple Template System (STS) I haven't used them personally but they are quite popular. One word of caution, template systems can make adding other contributions more complicated. If you are doing website development as more than a hobby, you may want to take some time to add PHP to your repretoire of skills. Since you already know html, you are half way there. hth I too am new to this and having a terrible time with it I'm sorry to say. I know HTML but PHP has me stumped. I was on the quick and easy install thread and finally gave up on that...(which I'm sure thrilled them). I am going through an hosting company that offers NetCommerce and I made one change to the index.php page....just some text, nothing else..and now I already have a parse error that I can't figure out. I did post it and am waiting for someone to help...but man I'm lost :(
♥peterpil19 Posted April 22, 2006 Posted April 22, 2006 Nancy, the error message usually tells you the line on which the error is found. Open an untouched index.php (you can download oscommerce in zip format from oscommerce.com or see top menu of forum under Solutions-Downloads). Then using a file compare program, or manually doing it, replace the error line or area with what was there before. If you haven't made any significant changes to index.php just upload a new one and replace the one on your server:) --Peter CE PHOENIX SUPPORTER Support the Project, go PRO and get access to certified add ons Full-time I am a C-suite executive of a large retail company in Australia. In my spare time, I enjoying learning about web-design. Download the latest version of CE Phoenix from gitHub here
Nanci Posted April 24, 2006 Author Posted April 24, 2006 Nancy, the error message usually tells you the line on which the error is found. Open an untouched index.php (you can download oscommerce in zip format from oscommerce.com or see top menu of forum under Solutions-Downloads). Then using a file compare program, or manually doing it, replace the error line or area with what was there before. If you haven't made any significant changes to index.php just upload a new one and replace the one on your server:) --Peter Peter, THANKS!!! The strange part in all of this is that my hosting company gave me a starting index.php that had errors on it from the beginning. That is why when I changed just "This" to "Hello" at the top of the page..so it should have gone from 'This is the' to 'Hello is the'...and I only changed one word just to see if I could do it or not. FINALLY after calling them, they realized there was an error on my page and fixed it. Now I'm starting with a shell or beginning index.php page and I'm scared to death. But I'm going to have at it and try to relax. Can you tell me how or where to get the 'file compare program' you are talking about and what it is called?? I find alot of this so hard!!! Even getting Filezilla....I went to that site to download it and found that there are several versions....on is as a file and one is as a server. But they don't explain what the difference is and I didn't know which one...but then I saw the problems people are having with it and decided against it. I'm going to try to do it through the File Manager supplied from my hosing company. And if I could ask one more question....(sorry) when I'm in the file manager and I get to the file I want, say index.php, and to the left of that file is a download clickable. But when I click on it I get an error message saying that Internet Explorer can't do that. Should I be able to do that? My host says I should. All these little problems that have me at a snails pace...:(
Nanci Posted April 24, 2006 Author Posted April 24, 2006 Nancy, the error message usually tells you the line on which the error is found. Open an untouched index.php (you can download oscommerce in zip format from oscommerce.com or see top menu of forum under Solutions-Downloads). Then using a file compare program, or manually doing it, replace the error line or area with what was there before. If you haven't made any significant changes to index.php just upload a new one and replace the one on your server:) --Peter Hi Peter. Well, I thought I would be on the right tract by now. But, alas, foiled again. Here is my message to my hosting company: <b>Okay...frustrated again and STILL!! Here it today's Parse Error: Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /mnt/web_l/d11/s24/b027c9a0/www/lamps/nfoscomm/catalog/includes/languages/english/index.php on line 33 I spoke to Diane on Friday. Her message follows: Hello Nancy, Thank you for contacting Netfirms. Please note that we have corrected your installation of http://xxx.netfirms.com/lamps/nfoscomm/catalog/, and have also created a new installation of http://xxx.netfirms.com/lamp/nfoscomm/catalog/. Please feel free to use any one of these stores. Tutorials, demos, and answers to over 90% of your questions may also be found immediately at our Self-Help Support Centre: http://support.netfirms.com Regards, Diane Netfirms Inc. PLEASE FIX THIS OR tell me what the problem is, because I really am just so frustrated!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Today 4/24, I went into the File Manager. Went to includes/languages/enlish/index.php and I noticed that in this original set-up page from Net Firms, with NO change from me. There is a statment that says: "Let's see...." Now since you keep telling me that I need a \ before any ' and yet that statement does NOT have it like that. So I decided to NOT MAKE ANY changes but saved that file. Of course I got a parse error. So then I went to that file again and added that \ and saved the file again. Still have parse error. So then I went to a backup file I had made, before I did any of this. Restored that file, but still have Parse error. So would you please tell me what is going on??? Would you please tell me why you say I can use your file manager but each time I change one thing or nothing at all, I still get that parse error. And when I try to do a restore of back-up, it says it restored and yet the parse error is still there. Is there something wrong with your coding from the beginning?? Why am I having all of this trouble?? Are others having trouble too?? WHAT IS HAPPENING????? Would someone please help me. I am about to throw this computer thru the windown, and since I"m at work that's not a good thing!!!!!</b> Can you tell I'm a bit furstrated?? As if this is not difficult enough, but then I've had 5 or 6 of you wonderful and helpful forum people tell me that, of course, I need the slash "\" before an " ' " and yet their start page doesn't have it like that. Since I'm using a hosting company I'm not sure how much changing or what I can do to the shell part they provide me with. And since each time, an mind you this is going on since 4/14, I make one change, one word, one anything..I keep getting parse errors. If I give you the untouched, brand new index.php file that they provide, can you tell me if there are obvious errors??? As they keep telling me that I can download and start a new store any time I want. But I've already done this 5 times and I can't figure out what is wrong....:(
Recommended Posts
Archived
This topic is now archived and is closed to further replies.