Search the Community
Showing results for tags 'base_uri'.
-
I am finalizing the coding from Chapter 3 and cannot get the Account and Admin drop downs to display properly. One possible cause may be that I haven't correctly configured the BASE_URI and BASE_URL settings in the config file. Is there a quick way to check to see that I have configured these properly? Note: I can successfully connect to the DB, and the $_SESSION['user_id'] is set. Thanks!
-
I have been reading through all the URI based posts but I still can’t get the Coffee site example working on my local machine. I have my site located here: C:\apache\htdocs\eCom01\ I have the following setup in my config.php file: define('BASE_URI','C:/apache/htdocs/eCom01/'); define('BASE_URL','http://localhost:8080/ecom01/'); define('MYSQL','includes/mysql.inc.php'); When I view http://localhost:8080/ecom01/shop.php all images display and data is being pulled from the database. Here’s what the relative links look on this shop.php file: require('./includes/config.php'); include('
-
Greetings, I apoligize for jumping in the middle of this conversation but I too am going crazy trying to get the app started. I am running Win 7 Professional SP1, installed xampp (Version 1.8.0) from ApacheFriends many months ago and have been using it for various other projects so I am comfortable w/ the installation. MySQL v 5.5.25a; Apache 2.4.2; PHP 5.4.4. Apache is running as a service on Port 80 and 443. MySQL is running as a service on Port 3306. Therefore, DOCUMENT_ROOT is c:/xampp/htdocs. The first exercise is in a directory under DOCUMENT_ROOT in a directory called /e