Jump to content

lor411

New Members
  • Posts

    4
  • Joined

  • Last visited

lor411's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Well, I'm really in over my head here. I have managed to style my shopping cart and all the elements are working in this cart. But the design is so complex between PHP and xml that I cannot edit this on my own. The shopping cart allows customers to add items to the cart as they shop. They can add items individually and load up the cart until submitting the contents and checking out with PayPal which is great. The xml catalog has the products, items, description, and price which is fine. BUT what I need is a few input text boxes that will send the string to the cart (customer ID and other text info) and another input text box that will send a PAYMENT that the customer types in (like a payment to an account). I need to add this so that all of the products and items and input text and input price will add to the cart. Please help
  2. Thanks! Well I kind of knew it was a file directory problem, I finally solved it. I placed all the files "as is" in a folder named "cart" which is on the root of the site. I did NOT pull out the index.php, i left it in the html folder where it was originally. So when I typed the url as follows: http://www.mydomain/cart/html/index.php, I am able to view the template and it works. For some reason I thought the index.php needed to be on the root of the site. I now realize that the links to all the directories and pages are within the code. Of course I should have looked for it first! Basically the problem was I tried to set up my local host as is suggested in the video just so I can go along and learn, but there is a real problem with MAMP for the Mac on Leopard. So I went and tried to upload to the server to learn...unfortunately I had to look a little further before I could even do that. Thanks for you help!!
  3. Hi, and thanks for your reply. I replaced the actual domain name with "domain" for the purposes of posting here on the forum. I don't see any other instructions regarding uploading on the server but I assume that the file directory would be the same on the web server as it would be on my localhost using MAMP. The tutorial explains where he places the index.php file which is in the root directory of the site. I have watched the tutorial videos but most of it was coding the shopping cart and editing. Perhaps I missed something. In the meantime, I'll go back and check it out. Thanks
  4. I recently purchased the PayPal Shopping Cart tutorial which is awesome and exactly what I needed. However, there are some issues with Mac OS 10.5 and the MAMP application. I have been unable to view any files locally other than the Index directory listing. And on that listing the PHP files show question marks on the page icons. I have never had any trouble with MAMP on Mac OS 10.4 (Tiger), so there is obviously bugs in the application. At any rate, I want to upload the source files from the video onto a web server and try to work from there, but I am also having issues. Once again I am unable to view anything on a web page except an error or the same the Index directory listing showing question marks on the file icons *Warning*: require_once(http://www.johnashbey.com/onlineorders/functions/functions.php) [function.require-once ]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in*/home2/user/public_html/domain/site_flash/onlineorders/index.php* on line *2* *Fatal error*: require_once() [function.require ]: Failed opening required 'http://www.domain.com/onlineorders/functions/functions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in*/home2/user/public_html/domain/site_flash/onlineorders/index.php* on line *2* Can you please help? As far as uploading the files, I have tried uploading the source files "as is" in their original directories, I have also tried placing the index.php file in the sites root directory but I keep getting this error. Thanks
×
×
  • Create New...