chowe Posted June 3, 2005 Share Posted June 3, 2005 Hi. Brand new to OSCommerce - but having lots of fun! Mustered the courage to do a clean install and then install mo pics, which meant finding out where MyPHPadmin lived, etc..... Anyway, everything looks good with this feature from the admin side. However, when checking it from the "customer" side, the shop will not load. Here are the error messages that are displayed... Warning: main(): Unable to access ../../aarch_biz/www/oscommerce/includes/application_top.php in /home/virtual/site31/fst/var/www/html/cart/product_info.php on line 16 Warning: main(../../aarch_biz/www/oscommerce/includes/application_top.php): failed to open stream: No such file or directory in /home/virtual/site31/fst/var/www/html/cart/product_info.php on line 16 Fatal error: main(): Failed opening required '../../aarch_biz/www/oscommerce/includes/application_top.php' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site31/fst/var/www/html/cart/product_info.php on line 16 I did check to make sure that the application_top.php file was on the server, and it is there, so beyond that, I am totally lost as to what to do.... Of course, I have not a clue what any of this means..... Anyone out there have time to help a newbie?? Thanks so much! Link to comment Share on other sites More sharing options...
Andrew Yuen Posted June 4, 2005 Share Posted June 4, 2005 Sent PM. Got to check /public_html/catalog/includes/configure.php Andrew Yuen osCommerce, Community Team Link to comment Share on other sites More sharing options...
chowe Posted June 4, 2005 Author Share Posted June 4, 2005 Sent PM. Got to check /public_html/catalog/includes/configure.php <{POST_SNAPBACK}> New to the forums, so hope this is correct... here is the code from the /includes/config.php file <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright ? 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://www.cynthiahoweminiatures.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.cynthiahoweminiatures.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.cynthiahoweminiatures.com'); define('HTTPS_COOKIE_DOMAIN', 'www.cynthiahoweminiatures.com'); define('HTTP_COOKIE_PATH', '/cart2'); define('HTTPS_COOKIE_PATH', '/cart2'); define('DIR_WS_HTTP_CATALOG', '/cart2/'); define('DIR_WS_HTTPS_CATALOG', '/cart2/'); 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/virtual/site31/fst/var/www/html/cart2/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'cynthiahoweminiatures_com_-_cart2'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Hope this is what you needed? Thanks! Link to comment Share on other sites More sharing options...
Andrew Yuen Posted June 4, 2005 Share Posted June 4, 2005 I need to chat with you further it looks to me that you have the wrong paths to the files in your catalog. Please check the PM I sent you so we can chat. Andrew Yuen osCommerce, Community Team Link to comment Share on other sites More sharing options...
chowe Posted June 4, 2005 Author Share Posted June 4, 2005 I sent you an email thru this system... perhaps you didn't get it. Anyway, I managed to find the error. Can't believe it, but I did!!! In the contribution that I downloaded, there was a file product_info.php It contained this line require('../../aarch_biz/www/oscommerce/includes/application_top.php'); Finally occured to me that I had no idea what aarch_biz was, so took out the errors in the line, re-uploaded, and believe it or not, it works. I am starting to feel like doing a cart is one long scavenger hunt!! I just need to learn to look at everything carefully! I do wonder if that file in the contribution should be changed, or am I the only dumb one out here?? Anyway I really do appreciate your offer to help! I have a cart that I have done the "artsy" changes to that I now hope to integrate into this new install with the mo-pics. Any pitfalls that I need to look out for? I got the impression that Mo pics needed to come first, before other mods and changes, but I would guess that I can just upload the modified files over the new install, perhaps a bit at a time, so that I can back up and out if necessary? Again thanks! Link to comment Share on other sites More sharing options...
Andrew Yuen Posted June 4, 2005 Share Posted June 4, 2005 If you wish to chat please contact me through MSN. Glad that you could solve your issue. I knew it had to do with the wrong file path and when I was looking at your config file it said "/home/virtual/site31/fst/var/www/html/cart2/" and your error said something different which was fishy. Anyway as for mo pics I don't use that on my site I use basic html and javascript to add extra pics. Andrew Yuen osCommerce, Community Team Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.