MoonLight_Dream
Dec 6 2008, 04:30 AM
Alright, I am not a Php coder. I have found this lovely little tutorial on the net about how to make your own online store. It's written in Php on Php files, ya know, "index.php"
So i copy/paste my way to glorious free shopping cart code.
it doesnt work.
I check my code, and a great deal of it is missing, mainly those lovely little things that say,
<?php
require_once 'library/config.php';
require_once 'library/cart-functions.php';
require_once 'library/checkout-functions.php';
?>
every time i save the file, all of that gets deleted. So ... what is wrong, what am I missing? Are we not allowed php files? do I need to re-write it somehow? I am planning to open up a little side home business of selling tie dye shirts and this would greatly help me!
thanks in advance for everyone's helpful and sage advice,
-MoonLight
Quick Edit // Um, if this is all going to be wash ... can someone point me towards an acceptable shopping cart/shop coding that will work?
MoonLight_Dream
Dec 8 2008, 10:53 PM
no help?
swordz
Dec 8 2008, 11:27 PM
Try using filezilla rather than the control panel.
swordz
Jon P.
Dec 9 2008, 12:57 AM
Just to be clear, swordz is recommending you create the files on your PC and use FTP to transmit them to the server. Filezilla is a great FTP utility that makes transferring files and complete directories easily. FTP would also work but is not convienient.
As for your problem, you are using the editor. It defaults to displayed text being entered. This causes HTML to be translated so that it can be displayed instead of actually being true HTML. If you must use the web interface, then click on the SOURCE button which will stop the translation.
I also recommend using FTP to copy the files instead of using the web interface.
MoonLight_Dream
Dec 9 2008, 10:46 PM
@swordz, that is where i got the coding, I tried uploading the file directly from my computer as well as creating a php file and then copy/paste
@jon, i always write in the source
Andrew
Dec 9 2008, 11:15 PM
We're saying don't use the control panel at all. Try uploading the php files from your computer directly through FTP.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.