mhsuffolk Posted August 30, 2019 Share Posted August 30, 2019 Phoenix 1.0.2.2 PHP 7.3 Works fine but in the server log is. PHP Warning: Use of undefined constant MODULE_HEADER_TAGS_STORE_MODE_ALLOWED_IPS - assumed 'MODULE_HEADER_TAGS_STORE_MODE_ALLOWED_IPS' (this will throw an Error in a future version of PHP) in D:\\*******\\htdocs\\includes\\modules\\header_tags\\ht_store_mode.php on line 523, referer: http://localhost/*********admin/modules.php?set=header_tags&list=new&module=ht_store_mode Quote Live shop Phoenix 1.0.8.4 on PHP 7.4 Working my way up the versions. Link to comment Share on other sites More sharing options...
♥raiwa Posted August 31, 2019 Author Share Posted August 31, 2019 Thank You, it's on my to do list. mhsuffolk 1 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
mhsuffolk Posted August 31, 2019 Share Posted August 31, 2019 Thanks @raiwa for your great contributions. On a finer point: In includes/languages/english/modules/content/header/cm_header_store_mode.php line 24 you have "Sorry, you have tried to access a temporary closed area" In my opinion temporarily is the correct word. English heh, what a language! define('MODULE_CONTENT_HEADER_STORE_MODE_CUSTOM_MESSAGE_SHORT', 'Sorry, you have tried to access a temporarily closed area.'); raiwa 1 Quote Live shop Phoenix 1.0.8.4 on PHP 7.4 Working my way up the versions. Link to comment Share on other sites More sharing options...
♥raiwa Posted November 1, 2019 Author Share Posted November 1, 2019 Updated for Phoenix: Store Mode Phoenix 1.3.1. Changes 1.3.1: - fixed typo in header module english language file. Thanks to @mhsuffolk - fixed undefined error message. Thanks to @mhsuffolk Changes 1.3.0: - header module updated for Phoenix BS 4 - Updated header module message to show correct offline time if 2h auto setting is used - Updated admin header module message for 2h auto setting Omar_one and Stephan Gebbers 2 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥Stephan Gebbers Posted November 1, 2019 Share Posted November 1, 2019 just a little hint. nothing serious, but.. /includes/modules/content/header/cm_header_store_mode.php still contains "Version 1.2.1" in the install function. raiwa 1 Quote Link to comment Share on other sites More sharing options...
mhsuffolk Posted November 1, 2019 Share Posted November 1, 2019 I cannot get the MODULE_CONTENT_HEADER_STORE_MODE_CHECKOUT_MESSAGE to show on index.php and checkout pages. Only the admin message " The store is actually in CHECKOUT Mode. Don't forget to switch it back to Online Mode once you finished" shows. Phoenix 1.3.0.0 Quote Live shop Phoenix 1.0.8.4 on PHP 7.4 Working my way up the versions. Link to comment Share on other sites More sharing options...
♥raiwa Posted November 1, 2019 Author Share Posted November 1, 2019 You installed the header content module? Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
mhsuffolk Posted November 2, 2019 Share Posted November 2, 2019 14 hours ago, raiwa said: You installed the header content module? Yes. I upgraded from 1.2.1 which worked correctly. I have uninstalled and reinstalled both modules but no change. Quote Live shop Phoenix 1.0.8.4 on PHP 7.4 Working my way up the versions. Link to comment Share on other sites More sharing options...
mhsuffolk Posted November 2, 2019 Share Posted November 2, 2019 Cancel that, brain failure has occurred. I was looking at it in normal mode rather than test mode. All OK now. raiwa 1 Quote Live shop Phoenix 1.0.8.4 on PHP 7.4 Working my way up the versions. Link to comment Share on other sites More sharing options...
♥raiwa Posted February 11, 2020 Author Share Posted February 11, 2020 Updated: Store Mode Phoenix 1.3.2. Changes 1.3.2: - fixed code reference in .htaccess offline mod script valquiria23 1 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥14steve14 Posted November 4, 2020 Share Posted November 4, 2020 I think this question may be a bit of a silly one. Am I correct in my thinking that selecting 'Checkout' will disable the checkout. If so does it just stop the checkout system but will allow things to be added into the customers cart or will it also prevent anything being added to the cart. I dont want customers to be able to add items to their cart whilst stor eis closed but still want then to be able to look around the site and see whats available. Quote REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
♥raiwa Posted November 4, 2020 Author Share Posted November 4, 2020 Hi Steve, Avoid adding items to cart is not included in the module. Even you could add a redirect to the shopping cart page, they could still add items. So this would need to be coded for the "add product" and "buy now" actions. When I find time I may add it in the next update. Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥14steve14 Posted November 4, 2020 Share Posted November 4, 2020 Rainer. I was hoping to keep the site open but think it may be best to just close it for maintenance straight away. I want a bit of time to have a break and the UK covid lockdown seems like a good time to get the new site finished and uploaded and then tested fully before making it live. If I stay open I dont get the time to do anything. Quote REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
♥raiwa Posted November 4, 2020 Author Share Posted November 4, 2020 If you want to close for maintenance, it doesn't disturb that hey can add items to the cart? If you use paypal express checkout button, you could just switch it temporary off in the PayPal App. Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥14steve14 Posted November 4, 2020 Share Posted November 4, 2020 Turning off the payment modules may be an easier way. With a message on all the pages in the header may stop emails and calls. More to think about. Quote REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
♥ecartz Posted November 4, 2020 Share Posted November 4, 2020 28 minutes ago, 14steve14 said: Turning off the payment modules may be an easier way. I think that if you do that, it assumes that you want to allow paymentless checkout. I.e. that enables checkout rather than blocking it. Quote Always back up before making changes. Link to comment Share on other sites More sharing options...
♥14steve14 Posted November 4, 2020 Share Posted November 4, 2020 That's not good then. Quote REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
♥raiwa Posted December 4, 2020 Author Share Posted December 4, 2020 Updated: Store Mode Phoenix 1.4.0 Compatibility: OSCOM Phoenix 1.0.7.3+ PHP: 7.0 - 7.4 Tested with Phoenix 1.0.7.11 Changes 1.4.0: - updated for Phoenix 1.0.7.3+ - moved redirects to system hook - changed header tag module to store module - updated modules to abstarct executable modules - added admin siteWide hook to display mode message - updated language files to const - general code cleanup and modernization to match core code Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥14steve14 Posted December 4, 2020 Share Posted December 4, 2020 I was looking for some form of upgrade instructions but I could not find any. What is the best way to upgrade from the last version to this version. Quote REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
♥raiwa Posted December 4, 2020 Author Share Posted December 4, 2020 Uninstall all modules, delete everything from the old version. Then follow the installation instructions. Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥14steve14 Posted December 6, 2020 Share Posted December 6, 2020 On 12/4/2020 at 12:08 PM, raiwa said: Uninstall all modules, delete everything from the old version. Then follow the installation instructions. I was hoping that you we not going to say that. Cheers Quote REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
♥raiwa Posted December 6, 2020 Author Share Posted December 6, 2020 The header content module could be just replaced, but there are so many changes, moved files etc that it's not worth writing more specific update instructions. Sorry 😉 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
Philo2005 Posted December 19, 2020 Share Posted December 19, 2020 I downloaded store mode version 1 0 4 0 and in the root directory of the download is a file called storeMode.php (same directory as Documentation.pdf is). Is this correct and where should it go correctly ? Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted December 19, 2020 Author Share Posted December 19, 2020 HI David @Philo2005, This file is there by error. Just ignore it. All required files are in the "new files" directory. See also the "New Files" list in the instructions. Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
vmn Posted February 2, 2021 Share Posted February 2, 2021 Hello, I just installed the version 1.4.0 (in Phoenix 1.0.7.14) and found a bug preventing adding 'Required ip': in includes/modules/store/st_store_mode.php in the function htaccess_backup the line: if ( defined('MODULE_STORE_MODE_ALLOWED_IPS ') && tep_not_null(MODULE_STORE_MODE_ALLOWED_IPS) ) { contains an extra space before the closing apostrophe and should be if ( defined('MODULE_STORE_MODE_ALLOWED_IPS') && tep_not_null(MODULE_STORE_MODE_ALLOWED_IPS) ) { raiwa 1 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.