skase98 Posted October 14, 2005 Share Posted October 14, 2005 I had everything working except for an annoyance with the admin page re: modules. Then I decided that PayPal IPN was just the perfect thing to add. Now I'm broken more than ever :( On the module page, I get: Warning: main(/home/skase98/public_html/ACDcalincludes/languages/english/modules/payment/authorizenet.php): failed to open stream: No such file or directory in /home/skase98/public_html/ACDcal/acdmin/modules.php on line 128 (there is one of these for every payment module - same on shipping and order totals) But I can still configure the modules. All the tags look like this: MODULE_PAYMENT_AUTHORIZENET_TEXT_TITLE (the IPN settings are nightmarish - only the usual PayPal headings show up in the edit box and then there are a bunch of unmarked textboxes. I tried to guess what went into each of them based on the configuration instructions. I think I failed) Now, on my store index post-IPN, I no longer have a pretty thing. I have a bunch of this: Warning: main(includes//modules/FILENAME_UPCOMING_PRODUCTS): failed to open stream: No such file or directory in /home/skase98/public_html/ACDcal/index.php on line 316 (and two more) Warning: main(): Failed opening 'includes//modules/FILENAME_NEW_PRODUCTS' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/skase98/public_html/ACDcal/index.php on line 313 (and two similar to above as well) I don't use the 'upcoming products' thing so if it went away, I wouldn't be sad at all. I'm just out of my mind and my league in trying to figure out what I've done wrong. I added a / in front of 'includes/' in both my config.php files and then everything totally broke so I think that's not the answer. And I have no idea what to do with IPN. Whimper whimper whimper Thanks for any assistance - I am so grateful! Quote Link to comment Share on other sites More sharing options...
safoo Posted October 14, 2005 Share Posted October 14, 2005 Doesn't seem like anything major. Post your configure.php (without database settings!) Quote Link to comment Share on other sites More sharing options...
skase98 Posted October 14, 2005 Author Share Posted October 14, 2005 (edited) Thanks, safoo! Here's what I have: (catalog config) define('HTTP_SERVER', 'http://www.purplefriends.com/ACDcal'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.purplefriends.com/ACDcal'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.purplefriends.com'); define('HTTPS_COOKIE_DOMAIN', 'www.purplefriends.com'); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/');//tried adding / here 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/skase98/public_html/ACDcal/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); (admin) define('HTTP_SERVER', 'http://www.purplefriends.com/ACDcal'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', ''); 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', '/ACDcal'); 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/');//tried adding / here 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/'); When I tried the / noted above, the admin page broke at the index with a warning related to application_top.php. I didn't look at the store at that point but I figured I better put it back to where I could at least launch the admin page. Edited October 14, 2005 by skase98 Quote Link to comment Share on other sites More sharing options...
skase98 Posted October 16, 2005 Author Share Posted October 16, 2005 Just a little more info - my catalog has errors, too, although the categories box shows all the correct information. Clicking in there brings this: Warning: main(includes/modules/FILENAME_PRODUCT_LISTING): failed to open stream: No such file or directory in /home/skase98/public_html/ACDcal/index.php on line 280 Clicking 'shopping cart' or using the search box brings up 404 File not found errors. I'm pretty sure IPN is worth the trouble but it sure is depressing to go from something that was working very well to... not :( Thanks again for any help! I hope it still seems pretty simple even with this extra bit of news! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.