Overdog Posted February 10, 2003 Share Posted February 10, 2003 I have a strange issue when in admin tools everyhting works except the payment,shipping and the other module I just get a path and no joy also under catagory I get an catagory/images not found maybe someone can see what I am missing, here is my admin config thanks ! oh also when download enabled I get download dir not found even though its there and the path looks good /catalog/download define('HTTP_SERVER', 'http://www.overdog.com/ecom'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://www.overdog.com/ecom'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // 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', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_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/'); Link to comment Share on other sites More sharing options...
Ajeh Posted February 10, 2003 Share Posted February 10, 2003 Change the $DOCUMENT_ROOT to the real path, turn off Search Engine Friendly URLs and see if any of these help. Make sure: /pub is 777 Link to comment Share on other sites More sharing options...
Overdog Posted February 10, 2003 Author Share Posted February 10, 2003 you can look for your self http://www.overdog.com/ecom/admin Link to comment Share on other sites More sharing options...
Overdog Posted February 10, 2003 Author Share Posted February 10, 2003 Parse error: parse error, unexpected ':' in D:Overdogecomadminincludesconfigure.php on line 20 Warning: main(DIR_WS_FUNCTIONSdatabase.php) [function.main]: failed to create stream: No such file or directory in D:Overdogecomadminincludesapplication_top.php on line 139 Fatal error: main() [function.main]: Failed opening required 'DIR_WS_FUNCTIONSdatabase.php' (include_path='.;c:phpincludes') in D:Overdogecomadminincludesapplication_top.php on line 139 Link to comment Share on other sites More sharing options...
Ajeh Posted February 10, 2003 Share Posted February 10, 2003 See the warning at the top about not finding the /catalog/download directory? That is because your configure.php files have in them things like: define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); Rather than: define('DIR_FS_DOCUMENT_ROOT', '/home/mylinkto/public_html'); Try fixing that for starters. Link to comment Share on other sites More sharing options...
toolcrazy Posted February 10, 2003 Share Posted February 10, 2003 Instead of using http://www.yourdomain.com Try http://localhost instead. You may want to put a entry in the https://localhost too. Steve ------------------------- Link to comment Share on other sites More sharing options...
Overdog Posted February 10, 2003 Author Share Posted February 10, 2003 ' d:yadayada' ' <---- forgot that Link to comment Share on other sites More sharing options...
toolcrazy Posted February 10, 2003 Share Posted February 10, 2003 Those typo's will get you evey time. I've done it so many times, I lost count, but you learn from it. Steve ------------------------- Link to comment Share on other sites More sharing options...
Overdog Posted February 10, 2003 Author Share Posted February 10, 2003 Could you look at admin catalog images Hmm http://www.overdog.com/ecom/admin catalog /products all the images are broken Link to comment Share on other sites More sharing options...
Ajeh Posted February 10, 2003 Share Posted February 10, 2003 http://www.overdog.com/catalog/images/microsoft/imexplorer.gif Shouldn't I be finding these in the ecom directory and not the catalog directory? Link to comment Share on other sites More sharing options...
Ajeh Posted February 10, 2003 Share Posted February 10, 2003 Make that the: /ecom/catalog/ Link to comment Share on other sites More sharing options...
Overdog Posted February 10, 2003 Author Share Posted February 10, 2003 http://www.overdog.com/ecom/catalog/images.../imexplorer.gif look like they are .. hmm Link to comment Share on other sites More sharing options...
Ajeh Posted February 10, 2003 Share Posted February 10, 2003 When in the admin, however, it is calling them from /catalog/ Check the /admin/includes/configure.php file also. Link to comment Share on other sites More sharing options...
Overdog Posted February 10, 2003 Author Share Posted February 10, 2003 Thats where I have the issue am tweeking on it ... Link to comment Share on other sites More sharing options...
Ajeh Posted February 10, 2003 Share Posted February 10, 2003 You have your configure.php set up as: /catalog/ So that is where the Admin is looking for the images when it should be /ecom/catalog/ But you have /ecom/ in the URLs You need to remove that from the URLs and put it in the catalog reference. Link to comment Share on other sites More sharing options...
Ajeh Posted February 10, 2003 Share Posted February 10, 2003 Something like this ... define('HTTP_SERVER', 'http://www.overdog.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://www.overdog.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', PUT_YOUR_ROOT_PATH_HERE); // 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', '/ecom/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/ecom/catalog/'); Link to comment Share on other sites More sharing options...
Overdog Posted February 10, 2003 Author Share Posted February 10, 2003 Thanks that was it !!! Link to comment Share on other sites More sharing options...
Overdog Posted February 10, 2003 Author Share Posted February 10, 2003 I know htis is a permisson thing what's needed ? Warning: move_uploaded_file(d:overdog/ecom/catalog/images/2fire.gif) [function.move-uploaded-file]: failed to create stream: Permission denied in D:Overdogecomadminincludesfunctionsgeneral.php on line 789 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:PHPuploadtempphp3B.tmp' to 'd:overdog/ecom/catalog/images/2fire.gif' in D:Overdogecomadminincludesfunctionsgeneral.php on line 789 Warning: Cannot modify header information - headers already sent by (output started at D:Overdogecomadminincludesfunctionsgeneral.php:789) in D:Overdogecomadminincludesfunctionsgeneral.php on line 18 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.