Guest Posted August 20, 2016 Share Posted August 20, 2016 going through every setup in admin i got a strange thing when i click modules and then content i get huge fonts and the page starts with the store front main text... where can this happen? as soon i click somewhere else in admin everything is back to normal Link to comment Share on other sites More sharing options...
Guest Posted August 20, 2016 Share Posted August 20, 2016 figured it....language file for cm_i_text_main.php done wrong Link to comment Share on other sites More sharing options...
♥Tsimi Posted August 21, 2016 Share Posted August 21, 2016 @@burt There seems to be another dude that has problems with the shopping cart page functions. What's going on? Is this some latest server security upgrade issue? Or bad server configuration? Cheap server thing? First it was just 1 guy now there are 2 if this becomes more and more then.... well not good. Link to comment Share on other sites More sharing options...
MrPhil Posted August 22, 2016 Share Posted August 22, 2016 this programmer says that 2.4 will be the end of life for the responsive version.... is he right? or would responsive live on and take bits from 2.4? What do you mean by "the responsive version"? Are you referring to 2.3.4BS? If so, when 2.4 officially comes out, there should be some sort of EOL for 2.3.4BS, to encourage everyone to move up to 2.4. osC 2.4 will be responsive, too, with some sort of upgrade path expected from 2.3.4BS. Link to comment Share on other sites More sharing options...
Dan Cole Posted August 22, 2016 Share Posted August 22, 2016 @@burt There seems to be another dude that has problems with the shopping cart page functions. What's going on? Is this some latest server security upgrade issue? Or bad server configuration? Cheap server thing? First it was just 1 guy now there are 2 if this becomes more and more then.... well not good. Lambros...I wondering if it is the same host? One that is trying to tighten their security. Luckily the fix seems pretty simple. Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
radhavallabh Posted August 22, 2016 Share Posted August 22, 2016 Hi all, Sorry had to post here in this topic as the fix was provided here..... Thanks @@ShaGGy for the beautiful fix code update you provided at http://www.oscommerce.com/forums/topic/396152-bootstrap-3-in-234-responsive-from-the-get-go/page-95#entry1746523My remove products function has started working perfectly.But the issue yet lies in the product name link and edit product link on shopping product page. They yet redirect to index.php on click. I use oscommerce 2.3.4 and As I am using SEO URL addon so the URLs change to below for example after I add the fix :- http://www.radhavallabh.com/radhakrishna-store/sparkle-curves-deity-metal-earrings-p-3014%7B2%7D15.html but yet end up redirecting to index.php . If you could shed some more light on how to fix the above too it would be very helpful.....Thanks in advance;Regds/Radhavallabh Link to comment Share on other sites More sharing options...
BrockleyJohn Posted August 22, 2016 Share Posted August 22, 2016 Hi all, Sorry had to post here in this topic as the fix was provided here..... Thanks @@ShaGGy for the beautiful fix code update you provided at http://www.oscommerce.com/forums/topic/396152-bootstrap-3-in-234-responsive-from-the-get-go/page-95#entry1746523 My remove products function has started working perfectly. But the issue yet lies in the product name link and edit product link on shopping product page. They yet redirect to index.php on click. I use oscommerce 2.3.4 and As I am using SEO URL addon so the URLs change to below for example after I add the fix :- http://www.radhavallabh.com/radhakrishna-store/sparkle-curves-deity-metal-earrings-p-3014%7B2%7D15.html but yet end up redirecting to index.php . If you could shed some more light on how to fix the above too it would be very helpful..... Thanks in advance; Regds/ Radhavallabh There doesn't seem to be anything wrong with your fix. You are now encoding the characters but your host is still stripping the query string. Speak to them to see if they can resolve for you. osc is not the only application that uses curly braces in the urls. Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released. Looking for a payment or shipping module? Maybe I've already done it. Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x Link to comment Share on other sites More sharing options...
radhavallabh Posted August 22, 2016 Share Posted August 22, 2016 @@BrockleyJohn Hi, Thank you so much for the reply I further tested this... When I turn off the Ultimate SEO addon the URLS begin to work using this code fix..... :) But I need to get them working with the Ultimate SEO addon set enabled to true :( Please can you guide me further on how can this be worked about; Thank you in advance Regards/ Radhavallabh Link to comment Share on other sites More sharing options...
jjlyman Posted August 22, 2016 Share Posted August 22, 2016 I'm a "dude" that's having these problems. See my posts Can't add products to shopping cart - clean osC v2.3.4 install and Remove product shopping cart.php issue 2.3.4 . Still have questions unanswered in those posts. Here, I'll repeat a question about ShaGGy's fix “the two functions (remove from cart and product link in cart)” -- is that for BS or non-BS v2.3.4 ? I can find his code search strings in either version, in any shopping_cart.php file versions. If I am to consider the BS version, where do I look for add-ons to see if my required mods (QPBPP mainly) have been adapted for BS ? Link to comment Share on other sites More sharing options...
Harald Ponce de Leon Posted August 23, 2016 Share Posted August 23, 2016 @@jjlyman try this solution: in catalog/includes/functions/html_output.php and catalog/admin/includes/functions/html_output.php, in the tep_href_link() function definition: replace: if (tep_not_null($parameters)) { $link .= $page . '?' . tep_output_string($parameters); $separator = '&'; } else { $link .= $page; $separator = '?'; } with: if (tep_not_null($parameters)) { $p = array(); $query = parse_str($parameters, $p); $parameters = http_build_query(filter_var($p, FILTER_CALLBACK, ['options' => 'urlencode'])); $link .= $page . '?' . tep_output_string($parameters); $separator = '&'; } else { $link .= $page; $separator = '?'; } This will apply urlencode() to all url parameters and encode where necessary. , osCommerce Link to comment Share on other sites More sharing options...
radhavallabh Posted August 23, 2016 Share Posted August 23, 2016 @@Harald Ponce de Leon Thanx for the wonderful solution.... But I am not able to use this code as I am using the Ultimate SEO URLS addon hence this part is commented out... can you please suggest how shall I add this to my code please... //// The HTML href link wrapper function //function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true) { // global $request_type, $session_started, $SID; // // $page = tep_output_string($page); // // if (!tep_not_null($page)) { // die('</td></tr></table></td></tr></table><br /><br /><font color="#ff0000"><strong>Error!</strong></font><br /><br /><strong>Unable to determine the page link!<br /><br />'); // } // // if ($connection == 'NONSSL') { // $link = HTTP_SERVER . DIR_WS_HTTP_CATALOG; // } elseif ($connection == 'SSL') { // if (ENABLE_SSL == true) { // $link = HTTPS_SERVER . DIR_WS_HTTPS_CATALOG; // } else { // $link = HTTP_SERVER . DIR_WS_HTTP_CATALOG; // } // } else { // die('</td></tr></table></td></tr></table><br /><br /><font color="#ff0000"><strong>Error!</strong></font><br /><br /><strong>Unable to determine connection method on a link!<br /><br />Known methods: NONSSL SSL</strong><br /><br />'); // } // // if (tep_not_null($parameters)) { // $link .= $page . '?' . tep_output_string($parameters); // $separator = '&'; // } else { // $link .= $page; // $separator = '?'; // } // // while ( (substr($link, -1) == '&') || (substr($link, -1) == '?') ) $link = substr($link, 0, -1); // //// Add the session ID when moving from different HTTP and HTTPS servers, or when SID is defined // if ( ($add_session_id == true) && ($session_started == true) && (SESSION_FORCE_COOKIE_USE == 'False') ) { // if (tep_not_null($SID)) { // $_sid = $SID; // } elseif ( ( ($request_type == 'NONSSL') && ($connection == 'SSL') && (ENABLE_SSL == true) ) || ( ($request_type == 'SSL') && ($connection == 'NONSSL') ) ) { // if (HTTP_COOKIE_DOMAIN != HTTPS_COOKIE_DOMAIN) { // $_sid = tep_session_name() . '=' . tep_session_id(); // } // } // } // // if (isset($_sid)) { // $link .= $separator . tep_output_string($_sid); // } // // while (strstr($link, '&&')) $link = str_replace('&&', '&', $link); // // if ( (SEARCH_ENGINE_FRIENDLY_URLS == 'true') && ($search_engine_safe == true) ) { // $link = str_replace('?', '/', $link); // $link = str_replace('&', '/', $link); // $link = str_replace('=', '/', $link); // } else { // $link = str_replace('&', '&', $link); // } // // return $link; // } // Ultimate SEO URLs v2.2d // The HTML href link wrapper function function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true) { //global $link; // if($page == '') { // $page = basename($_SERVER['PHP_SELF']); // } global $seo_urls; if ( !is_object($seo_urls) ){ if ( !class_exists('SEO_URL') ){ include_once(DIR_WS_CLASSES . 'seo.class.php'); } global $languages_id; $seo_urls = new SEO_URL($languages_id); } return $seo_urls->href_link($page, $parameters, $connection, $add_session_id); } Thanx in advance.. Regds/ Radhavallabh Link to comment Share on other sites More sharing options...
Harald Ponce de Leon Posted August 23, 2016 Share Posted August 23, 2016 @@radhavallabh try this in both catalog/includes/functions/html_output.php and catalog/admin/includes/functions/html_output.php: Directly after the "global $.." line in the tep_href_link() function definition, add the following "if" statement: function tep_href_link(.....) { global $.....; if (tep_not_null($parameters)) { $p = array(); $query = parse_str($parameters, $p); $parameters = http_build_query(filter_var($p, FILTER_CALLBACK, ['options' => 'urlencode'])); } ....... } , osCommerce Link to comment Share on other sites More sharing options...
radhavallabh Posted August 23, 2016 Share Posted August 23, 2016 @@Harald Ponce de Leon Hi, I added the code The product link and image have started to work, They do not redirect to index.php any longer But the remove action still does not work.... What shall be done... Thanx for helping me sort this issue..... Hope to get it working soon Regds/ Radhavallabh Link to comment Share on other sites More sharing options...
radhavallabh Posted August 23, 2016 Share Posted August 23, 2016 @@Harald Ponce de Leon By the product link and images I was referring to those on the added products displaying on shopping_cart.php ... I thought to clarify this in case it may lead to confusion. Link to comment Share on other sites More sharing options...
Harald Ponce de Leon Posted August 23, 2016 Share Posted August 23, 2016 @@radhavallabh Sorry, somebody else will need to look into it. You should ask your hosting provider to allow {} characters in the url. If this can't be fixed with the urlencode() method, the other solution is to replace { } characters however this will need to be done for all the installed add-ons too (eg, Ultimate SEO searches for { characters). , osCommerce Link to comment Share on other sites More sharing options...
radhavallabh Posted August 23, 2016 Share Posted August 23, 2016 @@Harald Ponce de Leon Thanx for all the help and guidance.... will surely right away try speaking to my host to get this working.... :) Regds/ Radhavallabh Link to comment Share on other sites More sharing options...
BrockleyJohn Posted August 23, 2016 Share Posted August 23, 2016 @@Harald Ponce de Leon Hi, I added the code The product link and image have started to work, They do not redirect to index.php any longer But the remove action still does not work.... What shall be done... Thanx for helping me sort this issue..... Hope to get it working soon Regds/ Radhavallabh There is no need to SEO the remove link - if you can get remove working without SEO, use an unmodified function to create the remove link (ie use a copy of the original osc function with a different name). You shouldn't be letting search engine spiders into your shopping cart anyway! Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released. Looking for a payment or shipping module? Maybe I've already done it. Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x Link to comment Share on other sites More sharing options...
radhavallabh Posted August 23, 2016 Share Posted August 23, 2016 Hi, @@BrockleyJohn I am using the default remove function of oscommerce and just the Ultimate SEO addon; I have not SEO ed the action links at all.... Still the remove button refuses to work with the beautiful function Sir @Harald Ponce de Leon provided me :( Still will not give up.... :thumbsup: Right now am in talks with my host and have created a support ticket regarding curly braces... Will get back with reply as soon as they answer me. Regds/ Radhavallabh Link to comment Share on other sites More sharing options...
Guest Posted September 2, 2016 Share Posted September 2, 2016 I am not sure if this is the right thread for my question, I apologize if not and I'll be grateful for a redirect.I installed OsCommerce 2.3.4 BS edge and some modules (Discount_Codes_3.8_BS; KissIT_image_thumbnailer_r26; theme_switcher_1.5.3_1_2 (installed theme is "Slate").Now I'd like to customize the Logo strip in the header giving it a bgimage and adding aside the logo the ResponsiveSlides.js-master, plus a div with some text. Could not find any add-on to modularize that area horizontally.I hoped I found a workaround modifying the file includes/modules/content/header/templates/logo.php this way: <div class="col-sm-12" style="background: url(http://tibowdesign.com/tishopping/images/headerbg.jpg); height:400px; margin-top:-25px;"> <div id="storeLogo" class="col-sm-<?php echo $content_width; ?> storeLogo" style="margin-top:25px;"> <?php echo '<a href="' . tep_href_link('index.php') . '">' . tep_image(DIR_WS_IMAGES . STORE_LOGO, STORE_NAME) . '</a>'; ?> </div> <div id="sliderFrame" class="col-sm-2" style="padding-top:25px; padding-left:0px;"> <ul class="rslides" id="slider1"> <li><img src="ImgSlider/images/CA-0009.jpg" alt=""></li> <li><img src="ImgSlider/images/CA-0010.jpg" alt=""></li> <li><img src="ImgSlider/images/OA-0024.jpg" alt=""></li> </ul> </div> <div id="sliderText" class="col-sm-8" style="padding-top:25px; padding-left:0px;"> <p>Orna il tuo corpo con il metallo che ha portato l'uomo nello spazio!</p> </div> </div> Everything works fine, except that when i resize the browser window the two directories I've added ("sliderFrame" and "sliderText" are not taken into account when changing the elements disposition from horizontal to vertical, so that they overlap the page sections underneath.You can see the effect here:http://www.tibowdesign.com/tishopping/index.php Is there anybody so kind that could suggest me which and where modifications are needed to solve this question?Thank you Link to comment Share on other sites More sharing options...
Guest Posted September 3, 2016 Share Posted September 3, 2016 I found the reason. Was the fixed height of the container div. Once removed, now everything works! Link to comment Share on other sites More sharing options...
burt Posted September 3, 2016 Author Share Posted September 3, 2016 Please do not use this thread for support of self made features or addons. This thread is for discussion of the 2.3.4 Community Edition - core code and updates/changes to core code. Thank You. If you post here you risk losing your question(s) with numerous other issues. Link to comment Share on other sites More sharing options...
burt Posted September 3, 2016 Author Share Posted September 3, 2016 http://www.oscommerce.com/forums/topic/410171-24-series/ 2.4 chat split out. I think I have got them all from this thread and put into the other, if you see any I have missed please let me know. Link to comment Share on other sites More sharing options...
♥raiwa Posted September 24, 2016 Share Posted September 24, 2016 Hello @@burt, Not sure if this has been discussed already. In my opinion the directory constant definitions should stay in the configure files for compatibility with existing add-ons. Or maybe a separate compatibility file should be added. Please see this post: http://www.oscommerce.com/forums/topic/410232-setting-up-oscommerce-234bs-need-help/?p=1747763 rgds Rainer 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 September 24, 2016 Share Posted September 24, 2016 @@burt, same for filenames 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...
Jack_mcs Posted September 24, 2016 Share Posted September 24, 2016 @@raiwa I agree. A simple include statement like what is used for the configure file is all that is needed. I suggested something similar to this previously but it was stated that if old addons are not coded to work with the new core code they should not be used. That severely limits the number of available addons, in my opinion. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.