osCmax v2.5 User Manual
Results 1 to 2 of 2

configure.php HELP PLEASE

This is a discussion on configure.php HELP PLEASE within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; How do I fill This Out I've tried but I still get the error can't connect to the database. can ...

      
  1. #1
    New Member
    Join Date
    Sep 2007
    Location
    phoenix
    Posts
    5
    Rep Power
    0


    Default configure.php HELP PLEASE

    How do I fill This Out I've tried but I still get the error can't connect to the database. can someone send my an example of this.


    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)

    // add your database and website details to the variables below
    define('DB_SERVER_USERNAME', '');
    // your username that you use to log into your web server
    define('DB_SERVER_PASSWORD', '');
    // your password that you use to log into your web server
    define('DB_DATABASE', '');
    // your database
    define('DIR_FS_CATALOG', '/home/username/public_html/');

    define('HTTP_SERVER', 'http://www.yoursite.com');
    define('HTTP_COOKIE_DOMAIN', '.yoursite.com');
    // do not include the www
    define('DB_SERVER', 'localhost');

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: configure.php HELP PLEASE

    Use the installer and enter in the correct information when it asks, like the correct database name that you are using (you have to create it or have your host do it for you). Enter in the username and password that you set up as well.

    There is no example to send really, but it would look something like this:

    PHP Code:
      // add your database and website details to the variables below
    define('DB_SERVER_USERNAME''my_username');
        
    // your username that you use to log into your web server
    define('DB_SERVER_PASSWORD''yourpassword');
       
    // your password that you use to log into your web server
    define('DB_DATABASE''your_databasename');
              
    // your database 
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. Configure.php???
    By ltldoc in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 03-20-2006, 08:58 PM
  2. configure.php problems...ugh
    By sili2213 in forum osCMax v1.7 Installation
    Replies: 3
    Last Post: 12-04-2004, 09:54 PM
  3. Help configure SSL
    By paulchow2k in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 10-18-2004, 07:06 PM
  4. How to configure SSL?
    By brucek in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 03-31-2004, 01:30 PM
  5. Configure.php and SSL
    By judoka in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 05-29-2003, 09:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •