POV Posted April 7, 2005 Share Posted April 7, 2005 I tried as much of the search engine, as I could... On my "no-yet-live" store: My Online Store When a "customer" wishes to edit their address on the "MY PERSONAL ADDRESS BOOK" page, I recieve the following error when attempting to edit the existing address or add an additional address: --------------------------------------------------------------------- Warning: main(DIR_WS_TEMPLATESTEMPLATENAME_MAIN_PAGE): failed to open stream: No such file or directory in /home/pistolan/public_html/ecommerce/os/catalog/address_book_process.php on line 245 Warning: main(DIR_WS_TEMPLATESTEMPLATENAME_MAIN_PAGE): failed to open stream: No such file or directory in /home/pistolan/public_html/ecommerce/os/catalog/address_book_process.php on line 245 Fatal error: main(): Failed opening required 'DIR_WS_TEMPLATESTEMPLATENAME_MAIN_PAGE' (include_path='.:/usr/local/lib/php') in /home/pistolan/public_html/ecommerce/os/catalog/address_book_process.php on line 245 --------------------------------------- Here is line 245 from address_book_process.php require(DIR_WS_TEMPLATES . TEMPLATENAME_MAIN_PAGE); I noticed that templatename_main_page might need to have ' on each side to "designate" the file. However, when I tried that, I still received the same error.... Thank you so much for reading my question, and I deeply appreciate the board's assisance.. Rob ------------------------------- Rob Huntsville, AL Link to comment Share on other sites More sharing options...
♥Vger Posted April 8, 2005 Share Posted April 8, 2005 You're trying to run all of the site on https, using a shared ssl cert - so you're going to have problems anyway. Set the http_server and http_catalog_server to the correct domain address and just use the shared ssl for the https address and to secure 'admin'. With regard to the templat error you are getting check the pathway because it looks all wrong to me. Vger Link to comment Share on other sites More sharing options...
Baxis Posted April 24, 2005 Share Posted April 24, 2005 I followed fix recommended by "Patch" at (http://www.unitedforums.co.uk/vb/showthread.php?t=5948) then made small corrections and tyhe errors are resolved. What you need are the following steps: 1. Ensure that you have a /templates directory under your main catalog directory 2. Install the template file /templates/osc/all_products.tpl.php into this /templates directory 3. Add a line to your config.php: define('DIR_WS_TEMPLATES', DIR_FS_CATALOG . 'templates/'); 4. In catalog/allproducts.php, replace the code require(DIR_WS_TEMPLATES . TEMPLATENAME_MAIN_PAGE); by require(DIR_WS_TEMPLATES . 'all_products.tpl.php'); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.