local shop oscommerce conneting...
Posted by: janamdo (---.cm-3-4b.dynamic.ziggo.nl)
Date: January 19, 2011 12:39AM

i must chance the two configurations files on my testshop to connect to the local server WAMP

example of one of them (administration side)
WHAT IS THE PATH OF THE WAMPSERVER TO MY DIRECTORIES ..SEE BELOW
I need only one as example

Note: Finally i loaded the database after having removed a index and now i must connected my existing live shop on the WAMp server, because i need to fix something

<?php
/*
$Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $

osCommerce, Open Source E-Commerce Solutions
[www.oscommerce.com]

Copyright (c) 2002 osCommerce

Released under the GNU General Public License
*/

// define our webserver variables
// FS = Filesystem (physical)
// WS = Webserver (virtual)
define('HTTP_SERVER', 'http://localhost'); // eg, [localhost] or - [localhost] should not be NULL for productive servers
define('HTTP_CATALOG_SERVER', 'http://localhost');
define('HTTPS_CATALOG_SERVER', 'http://localhost');
define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', '/home/jdouma/domains/zerospec.com/public_html/'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
define('DIR_WS_ADMIN', '/admin/');
define('DIR_FS_ADMIN', '/home/jdouma/domains/zerospec.com/public_html/admin/');
define('DIR_WS_CATALOG', '/');
define('DIR_FS_CATALOG', '/home/jdouma/domains/zerospec.com/public_html/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_FLAGS', DIR_WS_IMAGES . 'flags/');//contri
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', '/images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_CATALOG_LANGUAGES', '/includes/languages/');
define('DIR_FS_CATALOG_LANGUAGES', '/home/jdouma/domains/zerospec.com/public_html/includes/languages/');
define('DIR_FS_CATALOG_IMAGES', '/home/jdouma/domains/zerospec.com/public_html/images/');
define('DIR_FS_CATALOG_MODULES', '/home/jdouma/domains/zerospec.com/public_html/includes/modules/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

// define our database connection
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'root');
define('DB_SERVER_PASSWORD', '');
define('DB_DATABASE', 'testzerospecshop');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'mysql');

Options: ReplyQuote
Re: local shop oscommerce conneting...
Posted by: yfastud (Moderator)
Date: January 19, 2011 02:48AM


Options: ReplyQuote
Re: local shop oscommerce conneting...
Posted by: janamdo (---.cm-3-4b.dynamic.ziggo.nl)
Date: January 19, 2011 11:04AM

i don't understand yet...how toget my shop lokal working
I installed WAMP as lokal sever
I installed my shop database
I installed my oscommerce shop


What else do i need more?
DNS? ..a name server to get the same url as my live shop ?
Perhaps i caninstall a serverpanel like myadmin?
backup WAMP?
more ...


1) do i need Acess? -> i only use wamp , so no need for LAN
2DNS -> not possible to get this also local ..i must use ZoneEdit which is one of the most popular Dynamic DNS ?
Well perhaps it is local more difficult to install then?
It seems that that the DNS tutorial is outdated ?... "Add Zones link" is not there anymore?
Probabaly is DNS Zonedit not necessary for me? and only interesting for people who want to see my local site on their computer..?
That is not the case for me.. yet and not possible , because there is a live site outside with a current domainname and adress..if i use zonedit.. i get 2 the same ..or not smiling smiley

Only thing is to chance the localhost : [localhost] in [zerospec.com]
than i can see the shopfiles as i reasoning this.

Is there no more organised information about this ?
Thanks
Jan



Edited 8 time(s). Last edit at 01/19/2011 12:22PM by janamdo.

Options: ReplyQuote


Sorry, only registered users may post in this forum.