AndrewJayAdler Posted December 7, 2013 Share Posted December 7, 2013 I have been reading this very useful book on Safari Books Online but I am having a hard time using the sample code. I downloaded the examples on your web site for the second edition and only found the source code for ex1, the first example. Also, I am finding discrepancies between what I have downloaded and what is in the book. For example, right after figure 3.8 you describe creating the header. I see no <div> tag with a class of col-9. Can you assist? Link to comment Share on other sites More sharing options...
Larry Posted December 8, 2013 Share Posted December 8, 2013 Sorry about that. I'll get it fixed tomorrow. Thanks for the interest in the book! Link to comment Share on other sites More sharing options...
tokoto Posted December 8, 2013 Share Posted December 8, 2013 hi this is the link for the complete code http://www.larryullman.com/downloads/effortless_ecommerce_2nd.zip Link to comment Share on other sites More sharing options...
AndrewJayAdler Posted December 8, 2013 Author Share Posted December 8, 2013 Thanks for your quick response. Link to comment Share on other sites More sharing options...
Larry Posted December 8, 2013 Share Posted December 8, 2013 Yeah, so, it turns out I just posted the wrong link in one place, the right link in another. But the code was already correct online. I've fixed the wrong link now. Should be fine. Apologies again for the mishap! Link to comment Share on other sites More sharing options...
gmorton01451 Posted October 15, 2014 Share Posted October 15, 2014 In the downloaded code for example 1, there was some test code (I assume) near the top of page.php that set some $_SESSION variables which then caused you to be "logged in" even if you hadn't logged in. When I commented those out, the issue resolved. This only applies to the downloaded code. The book did not have this test code in it. Link to comment Share on other sites More sharing options...
Larry Posted October 15, 2014 Share Posted October 15, 2014 Sorry about the confusion, but thanks for chiming in here! Link to comment Share on other sites More sharing options...
Recommended Posts