Guest Posted April 7, 2004 Posted April 7, 2004 I haw just installed my webshop but i cant surf on it.. All graphic and pages are not avaliabel =( http://student.gamemaker.nu/~heneng030/catalog/ Do any one no whats the problem is? Please help me :blink:
Guest Posted April 7, 2004 Posted April 7, 2004 for example the os commerce logo image at the top left has a link of http://student.gamemaker.nu/~heneng030/images/oscommerce.gif and it should be http://student.gamemaker.nu/~heneng030/cat.../oscommerce.gif
Guest Posted April 7, 2004 Posted April 7, 2004 i dont know why it cut that link short but click on the link and you will see the real URL
241 Posted April 7, 2004 Posted April 7, 2004 check your paths in admin and catalog includes/configure.php files check that the images directory, sub directories and files are chmod 777 No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Guest Posted April 7, 2004 Posted April 7, 2004 hmm, i haw chmod 777 open on my config. I can get in to admin/index.php, but i cant get in to my admin config page. I haw problems whit the links but i dont now haw to solv it.. Can i haw installed my shop wrong? Shold i Re-install my shop? I can say that im am not use to work whit php, am a 3D game designer.. u no monkey prof
Guest Posted April 7, 2004 Posted April 7, 2004 i got some images to work by changing images/ to catalog/images/ in my config file.
phethean Posted April 7, 2004 Posted April 7, 2004 Check your configure.php. I had a similar problem corrected by changing these lines to: define('HTTP_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); Instead of specifying full path. Pete.
241 Posted April 7, 2004 Posted April 7, 2004 This is what I think your configure.php files should look like catalog/includes/configure.php <?php /* ?osCommerce, Open Source E-Commerce Solutions ?http://www.oscommerce.com ?Copyright (c) 2003 osCommerce ?Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) ?define('HTTP_SERVER', 'http://student.gamemaker.nu'); ?define('HTTPS_SERVER', ''); ?define('ENABLE_SSL', false); ?define('HTTP_COOKIE_DOMAIN', 'student.gamemaker.nu'); ?define('HTTPS_COOKIE_DOMAIN', ''); ?define('HTTP_COOKIE_PATH', '/catalog/'); ?define('HTTPS_COOKIE_PATH', ''); ?define('DIR_WS_HTTP_CATALOG', '/catalog/'); ?define('DIR_WS_HTTPS_CATALOG', ''); ?define('DIR_WS_IMAGES', 'images/'); ?define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); ?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_DOWNLOAD_PUBLIC', 'pub/'); ?define('DIR_FS_CATALOG', '/home/heneng030/public_html/catalog/'); ?define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); ?define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); I have left out your database information for security. catalog/admin/includes/configure.php <?php /* ?osCommerce, Open Source E-Commerce Solutions ?http://www.oscommerce.com ?Copyright (c) 2003 osCommerce ?Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) ?define('HTTP_SERVER', 'http://student.gamemaker.nu'); ?define('HTTP_CATALOG_SERVER', 'http://student.gamemaker.nu'); ?define('HTTPS_CATALOG_SERVER', ''); ?define('ENABLE_SSL_CATALOG', 'false'); ?define('DIR_FS_DOCUMENT_ROOT', '/home/heneng030/public_html/catalog/'); ?define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required ?define('DIR_FS_ADMIN', '/home/heneng030/public_html/catalog/admin/'); ?define('DIR_WS_CATALOG', '/catalog/'); // absolute path required ?define('DIR_FS_CATALOG', '/home/heneng030/public_html/catalog/'); ?define('DIR_WS_IMAGES', 'images/'); ?define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); ?define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . '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', DIR_WS_CATALOG . 'includes/languages/'); ?define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); ?define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); ?define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); ?define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); I have left out your database information for security. No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Guest Posted April 7, 2004 Posted April 7, 2004 Thanks for the help, but it did not work. I hawe changed my 2 config files. Do you haw some other ideas?
Guest Posted April 7, 2004 Posted April 7, 2004 YESSS it works :P :D I changed : define('HTTP_SERVER', 'http://student.gamemaker.nu/'); to define('HTTP_SERVER', 'http://student.gamemaker.nu/~heneng030'); Your guys are the best :lol:
241 Posted April 7, 2004 Posted April 7, 2004 My mistake I forgot the ~heneng030 catalog/includes/configure.php <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://student.gamemaker.nu'); define('HTTPS_SERVER', ''); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'student.gamemaker.nu'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/~heneng030/catalog/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/~heneng030/catalog/'); define('DIR_WS_HTTPS_CATALOG', ''); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); 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_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/heneng030/public_html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); I have left out your database information for security. catalog/admin/includes/configure.php <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://student.gamemaker.nu'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://student.gamemaker.nu'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/heneng030/public_html/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/~heneng030/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/heneng030/public_html/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/~heneng030/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/heneng030/public_html/catalog/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . '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', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); I have left out your database information for security. I have been into both the catalog and the admin No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Guest Posted April 7, 2004 Posted April 7, 2004 lol.. I think that all my webshop is setuped to work =) :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.