GetSirius Posted May 5, 2018 Share Posted May 5, 2018 Hello, I just installed a fresh copy of " osCommerce Community Edition. Responsive using Bootstrap. " from https://github.com/gburton/osCommerce-234-bootstrap/archive/master.zip as was recommended to me. When I try to access any of the "INFORMATION" links I get the following error message: Unable to determine connection method on a link! Known methods: NONSSL SSL This error also appears to happen if I try to add and item to the cart. This is a non-SSL site and is set as such in the configure.php files, example from admin: define('HTTP_SERVER', 'http://www.quiltwithjudy.com'); define('HTTPS_SERVER', 'http://www.quiltwithjudy.com'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/shop/admindirectory'); define('HTTPS_COOKIE_PATH', '/shop/admindirectory'); define('HTTP_CATALOG_SERVER', 'http://www.quiltwithjudy.com'); define('HTTPS_CATALOG_SERVER', 'http://www.quiltwithjudy.com'); define('ENABLE_SSL_CATALOG', 'false'); Here is an example to try: http://www.quiltwithjudy.com/shop/privacy.php Can anyone tell me what the problem might be? Thank you! Link to comment Share on other sites More sharing options...
♥raiwa Posted May 5, 2018 Share Posted May 5, 2018 You should post your complete configure.php from the store side which is the relevant one for this issue. Just leave out the database details at the end of the file. 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...
GetSirius Posted May 5, 2018 Author Share Posted May 5, 2018 <?php define('HTTP_SERVER', 'http://www.quiltwithjudy.com'); define('HTTPS_SERVER', 'http://www.quiltwithjudy.com'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/shop/'); define('HTTPS_COOKIE_PATH', '/shop/'); define('DIR_WS_HTTP_CATALOG', '/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); define('DIR_FS_CATALOG', '/home/ekjsyt4f/public_html/shop/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', '---------'); define('DB_SERVER_PASSWORD', '--------'); define('DB_DATABASE', '--------'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); define('CFG_TIME_ZONE', 'America/Chicago'); ?> Link to comment Share on other sites More sharing options...
♥raiwa Posted May 5, 2018 Share Posted May 5, 2018 It looks all good. Meanwhile I'll do a test installation of the latest package, which php version are you running? You executed the installation program on the server and you didn't modify anything? 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...
GetSirius Posted May 5, 2018 Author Share Posted May 5, 2018 Tried installing two times. First time I had changed a few things using the admin section, this install is fresh, nothing at all done to change it. Installed by uploading .zip file, expanded .zip on server, renamed directory to /shop, went to /shop and followed instructions. First install was tested using php 5.6 and 7.0.30. Current install using php version 7.0.30 Link to comment Share on other sites More sharing options...
♥raiwa Posted May 5, 2018 Share Posted May 5, 2018 I have the same error with the last package. @burt, this seems to be a bug in the last package. 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...
GetSirius Posted May 5, 2018 Author Share Posted May 5, 2018 Whew, thank you for that info. I will wait a bit and try it again. Will I need to re-install? Or, just overwrite files? Link to comment Share on other sites More sharing options...
♥raiwa Posted May 5, 2018 Share Posted May 5, 2018 It's the canonical header tag module: admin=> modules=>header tags=> Canonical Header Links swirch it off or remove it or use this one from the before last version: ht_canonical.php 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...
♥raiwa Posted May 5, 2018 Share Posted May 5, 2018 in line 60 must be: $oscTemplate->addBlock('<link rel="canonical" href="' . tep_href_link($PHP_SELF, '', 'NONSSL', false) . '" />' . PHP_EOL, $this->group); instead of: $oscTemplate->addBlock('<link rel="canonical" href="' . tep_href_link($PHP_SELF, 'NONSSL', false) . '" />' . PHP_EOL, $this->group); here is the new fixed one: ht_canonical.php 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...
GetSirius Posted May 5, 2018 Author Share Posted May 5, 2018 Thank you! That appears to have done the trick. But not in admin, this file: /catalog/includes/modules/header_tags/ht_canonical.php Link to comment Share on other sites More sharing options...
♥raiwa Posted May 6, 2018 Share Posted May 6, 2018 9 hours ago, GetSirius said: But not in admin, this file: /catalog/includes/modules/header_tags/ht_canonical.php Sorry, I do not understand. Please explain. 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...
GetSirius Posted May 6, 2018 Author Share Posted May 6, 2018 10 hours ago, raiwa said: Sorry, I do not understand. Please explain. I see I did not fully understand your post below, to simply switch the Canonical Header Links off at admin=> modules=>header tags=> Canonical Header Links My comment was location of ht_canonical.php, to make the change you offered. Sorry for any misunderstanding, and a big thank you for helping me! 21 hours ago, raiwa said: It's the canonical header tag module: admin=> modules=>header tags=> Canonical Header Links swirch it off or remove it or use this one from the before last version: ht_canonical.php Link to comment Share on other sites More sharing options...
♥raiwa Posted May 6, 2018 Share Posted May 6, 2018 you have to upload and replace it via ftp or do the code change in your CPanels file editor. You can't do it in admin. Use the last version I posted here: 21 hours ago, raiwa said: in line 60 must be: $oscTemplate->addBlock('<link rel="canonical" href="' . tep_href_link($PHP_SELF, '', 'NONSSL', false) . '" />' . PHP_EOL, $this->group); instead of: $oscTemplate->addBlock('<link rel="canonical" href="' . tep_href_link($PHP_SELF, 'NONSSL', false) . '" />' . PHP_EOL, $this->group); here is the new fixed one: ht_canonical.php 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...
auzStar Posted May 7, 2018 Share Posted May 7, 2018 I also recently installed latest EDGE version for some other unrelated testing and had the same issue reported here. I can confirm that the fix above by Rainer works. cheers My Add-onsAdvanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download SupportAjax Product Listing for osC 2.3.4 (bootstrap) Download SupportCategory New Products Carousel for osC 2.3.4 (bootstrap) Download SupportCategory Popular Products Carousel for osC 2.3.4 (bootstrap) Download SupportCustomer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportFront Page New Products Carousel for osC 2.3.4 (bootstrap) Download SupportIndex Nested - Product Listing for osC 2.3.4 (bootstrap) Download SupportMatch Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download SupportModular Category Page for osC 2.3.4 (bootstrap) Download SupportNEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download SupportNEW Equal Height Module for osC 2.3.4 (bootstrap) Download SupportProducts Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download SupportTwitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportUpcoming Products Modules for osC 2.3.4 (bootstrap) Download Support Assisted Add-onsScroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support Bootstrap Add-ons created by other membersosCommerce Bootstrap Addons and Code Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.