Search the Community
Showing results for tags 'config'.
-
Hi, I bought this book effortless ecommecre 2nd edition and downloaded the source code from this website. The first pdf example worked but the coffee ecommerce script isn't working properly. First, I am using xampp and the directory i stored the code for coffee ecom is at "c:/xampp/htdocs/ullman". what should be my base uri and base url. I did "define('BASE_URI', 'c:/xampp/htdocs/ullman/'), define('BASE_URL', 'localhost/ullman/');" which made the site work partially. For instance, the Home, Coffee, Goodies, Sales, Wish List, Cart works but the css for pages having url "http://localhost
-
Please see below: I am copying the information from the book, but for some reason I keep getting errors for the following 2 lines. Any suggestions? ** Error on this line** - function my_error_handler($e_number, $e_message, $e_file, –$e_line, $e_vars){ $message = "An error occurred in script '$e_file' on line $e_line:\n$e_message\n"; $message .= "<pre>" .print_r(debug_backtrace(), 1) . "</pre>\n"; if (!LIVE){ echo 'div class="alert alert-danger">' .nl2br($message) . '/div'; }else{ error_log($message, 1, CONTACT_EMAIL, ** Error on this line** – 'From:admin@exampl
-
Hi, On page 49 instructions are given for the setting up of the BASE_URI constant for both a development environment and a production environment. In my production site, I have access to a folder named httpdocs within which is the opening index.php script. To get to this httpdocs folder I use the site IP address or to start the website I use the www.... site URL. Can you please advise exactly what I need to put in the production BASE_URI constant? Many thanks in anticipation.