Andromeda100 Posted January 7, 2015 Share Posted January 7, 2015 And another question: Why don't pages load when I turn on 'ajax page load' in the mobile settings? Quote Link to comment Share on other sites More sharing options...
greasemonkey Posted January 7, 2015 Share Posted January 7, 2015 @@raiwa thank you kindly Rainer. I have finally taken time tot update to 7.5.6 today.... and I will test this inside the new deivce list file. On another side note. I have issues with the home button frequently - and I thought updating may help... But it didn't. Have you experienced any issues with the home button in the header either not working, or taking you back 1 page? I'm not sure if its me or not - however, i was thinking code like below would help in mobile/header.php <li>'.tep_button_jquery( TEXT_HOME, $mobile_url, 'a' , '' , 'id="homes" data-icon="custom"' ).'</li> Quote Link to comment Share on other sites More sharing options...
greasemonkey Posted January 7, 2015 Share Posted January 7, 2015 @@raiwa one other small issue... from 7.5.5... in mobile/includes/classes/header_title.php. You are changing to if(sizeof($cart->contents) > 0) { if ( basename($PHP_SELF) != FILENAME_SHOPPING_CART ) { $rightButton = '<a id="shopping_cart" data-role="button" data-icon="custom" href="' . tep_mobile_link(FILENAME_SHOPPING_CART) . '">' . TEXT_SHOPPING_CART . '</a>'; } else { $rightButton = '<a data-role="button" data-icon="arrow-r" href="' . tep_mobile_link(FILENAME_CHECKOUT_SHIPPING) . '">' . HEADER_TITLE_CHECKOUT . '</a>'; } } Which does not include SSL to checkout_shipping.... Shouldn't it be like; if(sizeof($cart->contents) > 0) { if ( basename($PHP_SELF) != FILENAME_SHOPPING_CART ) { $rightButton = '<a id="shopping_cart" data-role="button" data-icon="custom" href="' . tep_mobile_link(FILENAME_SHOPPING_CART) . '">' . TEXT_SHOPPING_CART . '</a>'; } else { $rightButton = '<a data-role="button" data-icon="arrow-r" href="' . tep_mobile_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . HEADER_TITLE_CHECKOUT . '</a>'; } } Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted January 8, 2015 Share Posted January 8, 2015 @@raiwa thank you kindly Rainer. I have finally taken time tot update to 7.5.6 today.... and I will test this inside the new deivce list file. On another side note. I have issues with the home button frequently - and I thought updating may help... But it didn't. Have you experienced any issues with the home button in the header either not working, or taking you back 1 page? I'm not sure if its me or not - however, i was thinking code like below would help in mobile/header.php <li>'.tep_button_jquery( TEXT_HOME, $mobile_url, 'a' , '' , 'id="homes" data-icon="custom"' ).'</li> @@greasemonkey, Yes, I had to modify this also in my store, I added data-ajax="false" to the link: <li>'.tep_button_jquery( TEXT_HOME, tep_mobile_link(FILENAME_DEFAULT), 'a' , '' , 'id="homes" data-icon="custom" data-ajax="false"' ).'</li> However it seems this is due to customizations, on an original unmodified store it works correct. @@raiwa one other small issue... from 7.5.5... in mobile/includes/classes/header_title.php. You are changing to if(sizeof($cart->contents) > 0) { if ( basename($PHP_SELF) != FILENAME_SHOPPING_CART ) { $rightButton = '<a id="shopping_cart" data-role="button" data-icon="custom" href="' . tep_mobile_link(FILENAME_SHOPPING_CART) . '">' . TEXT_SHOPPING_CART . '</a>'; } else { $rightButton = '<a data-role="button" data-icon="arrow-r" href="' . tep_mobile_link(FILENAME_CHECKOUT_SHIPPING) . '">' . HEADER_TITLE_CHECKOUT . '</a>'; } } Which does not include SSL to checkout_shipping.... Shouldn't it be like; if(sizeof($cart->contents) > 0) { if ( basename($PHP_SELF) != FILENAME_SHOPPING_CART ) { $rightButton = '<a id="shopping_cart" data-role="button" data-icon="custom" href="' . tep_mobile_link(FILENAME_SHOPPING_CART) . '">' . TEXT_SHOPPING_CART . '</a>'; } else { $rightButton = '<a data-role="button" data-icon="arrow-r" href="' . tep_mobile_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . HEADER_TITLE_CHECKOUT . '</a>'; } } Yes, this is correct, I'll include this fix in the next update. Thank you Rainer 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...
♥raiwa Posted January 8, 2015 Share Posted January 8, 2015 And another question: Why don't pages load when I turn on 'ajax page load' in the mobile settings? Hello Kira @@Andromeda100, In an unmodified store it should work. Some modifications, usually javascripts which are not jquery mobile compliant or form submissions, produce this error on concrete pages. These pages can be added to the ajax page load exclusion list in mobile/includes/header.php. Another possibility to fix it is to add data-ajax="false" or rel="external" to the page link. For more information please read the file included in the iosc Mobile Add-On Package: "Add-On Support.doc" Chapter 11. And check also: http://view.jquerymobile.com/1.3.2/dist/demos/widgets/links/ regards Rainer 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...
Günther1968 Posted January 8, 2015 Share Posted January 8, 2015 Hello, After installing the mobile and the german market contrib it appears two error messages after creating an account and confirming an order: 'Fatal error: Call to undefined function tep_validate_postcode() in ...' Fatal error: Call to undefined method oscTemplate::getContentmobile/checkout_success.php I don't know how to solve it... Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted January 8, 2015 Share Posted January 8, 2015 (edited) Hello, After installing the mobile and the german market contrib it appears two error messages after creating an account and confirming an order: 'Fatal error: Call to undefined function tep_validate_postcode() in ...' Fatal error: Call to undefined method oscTemplate::getContent mobile/checkout_success.php I don't know how to solve it... Hello @Günther1968, I'm sorry, I do not use this add-on myself and the support was added by another contributer. However I had a look on it and found that the missing function "tep_validate_postcode" is not part of the standard package. So you can fix it just removing this postcode check in all mobile files. Compare with the main store files. For the other error, I believe the mobile support package is not suitable for the newest 2.3.4 osc version and it's content modules. So you would need to place a copy of the modified/added content modules of the checkout_success page to the mobile site (mobile/includes/modules/content/checkout_success/..) Then modify the page module to fit mobile design/layout, buttons etc. Another solution: use the old version of the mobile checkout_success page without content module, included in the package for osc 2.3.3.4. I sent you a private message with the contact of the person who added the support package for further help. Kind regards Rainer Edited January 8, 2015 by raiwa 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...
greasemonkey Posted January 8, 2015 Share Posted January 8, 2015 @@raiwa thank you kindly Rainer Yes, I had to modify this also in my store, I added data-ajax="false" to the link: I notice the link in the header logo also does not work ocasionally. Is there an easy way to add data-ajax="false" to? <div id="headerLogo"><a href="' . tep_mobile_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_HTTP_MOBILE . DIR_MOBILE_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted January 8, 2015 Share Posted January 8, 2015 @@raiwa thank you kindly Rainer I notice the link in the header logo also does not work ocasionally. Is there an easy way to add data-ajax="false" to? <div id="headerLogo"><a href="' . tep_mobile_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_HTTP_MOBILE . DIR_MOBILE_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; Hello Scott @@greasemonkey, Should be like that: <div id="headerLogo"><a href="' . tep_mobile_link(FILENAME_DEFAULT) . '" data-ajax="false">' . tep_image(DIR_WS_HTTP_MOBILE . DIR_MOBILE_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; Have also a look there: http://view.jquerymobile.com/1.3.2/dist/demos/widgets/links/ regards Rainer 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...
bandmans Posted January 10, 2015 Share Posted January 10, 2015 Hello, I am having an error show up when I click on a category on the mobile side. The error reads: Warning: Missing argument 1 for tep_mobile_selection(), called in /home/bandman/public_html/mobile_catalogue.php on line 103 and defined in /home/bandman/public_html/includes/functions/general.php on line 62 Warning: Missing argument 2 for tep_mobile_selection(), called in /home/bandman/public_html/mobile_catalogue.php on line 103 and defined in /home/bandman/public_html/includes/functions/general.php on line 62 Warning: Invalid argument supplied for foreach() in home/bandman/public_html/mobile/includes/functions/general.php on line 66 Please let me know if you have any idea why these errors are occurring. Would it have anything to do with upgrading my PHP? Thanks in advance! Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted January 10, 2015 Share Posted January 10, 2015 (edited) Hello, I am having an error show up when I click on a category on the mobile side. The error reads: Warning: Missing argument 1 for tep_mobile_selection(), called in /home/bandman/public_html/mobile_catalogue.php on line 103 and defined in /home/bandman/public_html/includes/functions/general.php on line 62 Warning: Missing argument 2 for tep_mobile_selection(), called in /home/bandman/public_html/mobile_catalogue.php on line 103 and defined in /home/bandman/public_html/includes/functions/general.php on line 62 Warning: Invalid argument supplied for foreach() in home/bandman/public_html/mobile/includes/functions/general.php on line 66 Please let me know if you have any idea why these errors are occurring. Would it have anything to do with upgrading my PHP? Thanks in advance! Hello Eric @@bandmans, Can you please tell your exact iosc mobile version? Then please post the code you have in mobile_catalogue line 62. And the function "tep_mobile_selection" in the file: mobile/includes/function/general.php around line 66-77 may be helpful too. Which changes did you made when the error appeared? Only PHP version update? From which PHP version to which version? regards Rainer Edited January 10, 2015 by raiwa 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...
bandmans Posted January 11, 2015 Share Posted January 11, 2015 @@raiwa, Thank you for your response. I apologize -- I was incorrect -- I actually didn't upgrade my PHP version. What happened was that I was upgrading my version of Plesk to 10.4. While performing the upgrade, my server crashed, and GoDaddy had to move me over to a new server. They also put me on a server that has cPanel in stead of Plesk now. Somewhere in this transition the issue must have occurred. I believe I am running version iOSC3_5.4rev2 Here are the various snippets of code where the issues are occurring: /home/bandman/public_html/mobile_catalogue.php on line 103 (and some additional lines which might help) if (isset($HTTP_GET_VARS['cPath']) != FALSE) { echo tep_mobile_selection(); if ($specials_count['total'] > 2000 ) { echo tep_mobile_selection(tep_mobile_link(FILENAME_SPECIALS), array(tep_image(DIR_WS_HTTP_CATALOG . DIR_MOBILE_IMAGES . 'specials.png'), BOX_HEADING_SPECIALS)).'<div class="fleche"><img src="' . DIR_WS_HTTP_CATALOG . DIR_MOBILE_IMAGES . 'arrow_select.png" /></div>'; } /home/bandman/public_html/includes/functions/general.php on line 62 (and some additional lines, which also includes the foreach() error on line 66) function tep_mobile_selection($path, $elements) { $ret = '<tr class="categories"'; $ret .= ($path ? ' onclick="window.location.href=\'' . $path .'\'"' : '' ); $ret .= '>'; foreach ($elements as $element) { $ret .= '<td class="categories">' . tep_mobile_path_element($path,$element) . '</td>'; } $ret .= '<td class="categories" align="right">'; //$ret .= ($path) ? '<a href="' . $path .'">' . tep_image(DIR_MOBILE_IMAGES . 'arrow_select.png') . '</a>' : '<input type="image" src="' .DIR_MOBILE_IMAGES . 'arrow_select.png' . '" border="0" alt="">'; return $ret; } Let me know if you need anything else. Thanks! Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted January 11, 2015 Share Posted January 11, 2015 (edited) Hello Eric @@bandmans, It seems you tried to remove the New Products link. Instead of: if (isset($HTTP_GET_VARS['cPath']) != FALSE) { echo tep_mobile_selection(); The unmodified code is: if (isset($HTTP_GET_VARS['cPath']) != TRUE ) { echo tep_mobile_selection(tep_mobile_link(FILENAME_PRODUCTS_NEW), array(tep_image(DIR_MOBILE_IMAGES . 'new.png'), TEXT_MOBILE_PRODUCTS_NEW)).'<div class="fleche"><img src="' . DIR_MOBILE_IMAGES . 'arrow_select.png" /></div>'; If you wish to remove the New Products button, you should remove all line so it should look like this: if (isset($HTTP_GET_VARS['cPath']) != FALSE) { if ($specials_count['total'] > 2000 ) { echo tep_mobile_selection(tep_mobile_link(FILENAME_SPECIALS), array(tep_image(DIR_WS_HTTP_CATALOG . DIR_MOBILE_IMAGES . 'specials.png'), BOX_HEADING_SPECIALS)).'<div class="fleche"><img src="' . DIR_WS_HTTP_CATALOG . DIR_MOBILE_IMAGES . 'arrow_select.png" /></div>'; } The error is produced when you leave the "tep_mobile_selection()" function without the required parameters in place. It seems this trick: if ($specials_count['total'] > 2000 ) { is also used for not to show the specials link button. You should rather remove or comment out all this code block if you do not wish to show these links: <table id="categoriesTable" class="categories" width="100%" cellpadding="0" cellspacing="0"> <?php if (isset($HTTP_GET_VARS['cPath']) != TRUE ) { echo tep_mobile_selection(tep_mobile_link(FILENAME_PRODUCTS_NEW), array(tep_image(DIR_MOBILE_IMAGES . 'new.png'), TEXT_MOBILE_PRODUCTS_NEW)).'<div class="fleche"><img src="' . DIR_MOBILE_IMAGES . 'arrow_select.png" /></div>'; if ($specials_count['total'] > 0 ) { echo tep_mobile_selection(tep_mobile_link(FILENAME_SPECIALS), array(tep_image(DIR_MOBILE_IMAGES . 'specials.png'), MODULE_BOXES_SPECIALS_TITLE)).'<div class="fleche"><img src="' . DIR_MOBILE_IMAGES . 'arrow_select.png" /></div>'; } ?></table><?php } ?> However the change to another hosting could not produce that wrong coding. regards Rainer Edited January 11, 2015 by raiwa 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...
bandmans Posted January 11, 2015 Share Posted January 11, 2015 Rainer @@raiwa, That did the trick! That is so weird -- I haven't edited any of the mobile code since I had it installed and working almost a year ago. Anyhow, obviously it did get edited at some point. Thanks for all of the help! Eric Quote Link to comment Share on other sites More sharing options...
greasemonkey Posted January 17, 2015 Share Posted January 17, 2015 @@raiwa I hope all is well. I'm seeing some strange re-direct behavior since upgrading to 7.5.6 last week (from 7.5.3) When clicking an external link to the classic site (facebook for example) from a mobile device I'm not being re-directed to the mobile site. Example 1; if I click the link from facebook; www.mysite.com/specials.php from my iphone I get... www.mysite.com/specials.php. I SHOULD be getting www.mysite.com/mobile/specials.php Example 2; if I type in the IOS browser; www.mysite.com/specials.php from my iphone all is good... I get redirected to www.mysite.com/mobile/specials.php I have confirmed this behavior by clicking a link from your facebook page - which looks to be running mobile 7.5.5 raiwa 1 Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted January 17, 2015 Share Posted January 17, 2015 Hello Scott @@greasemonkey, Thanks, all ok. Oh yes, this is due to the classic redirect introduced in 7.5.3., I wasn't aware of it until now, thank you. The "redirectCancelled=true" parameter is used for both redirects, mobile and classic and stored as a session parameter. So on mobile site it is stored in sessions in the mobile application_top to avoid redirect to classic if the manual link from classic to mobile is used on a desktop device. When an external link is used the first time from a mobile device, redirect will work. When its used the second time, the "redirectCancelled" parameter is stored in sessions and prevent a new redirect to mobile. The solution should be to use a different parameter for mobile and classic. We'll change only the mobile redirect parameter to "MredirectCancelled", it's less job. Here we go: 1. Change line 62-70 in mobile/includes/classes/mobile_redirect.php to: function isCancelled() { if (tep_session_is_registered('MredirectCancelled')) return true; if(isset($_GET['MredirectCancelled']) && $_GET['MredirectCancelled'] == 'true') { tep_session_register('MredirectCancelled'); return true; } return false; } 2. Change line 2-10 in mobile/includes/classes/classic_redirect.php to: //BEGIN: CLASSIC REDIRECT_SCRIPT $url_replace_from = array('%' . DIR_WS_HTTP_MOBILE .'%', '%' . FILENAME_CATALOG_MB .'%', '%' . FILENAME_SEARCH .'%', '%' . FILENAME_ABOUT .'%', '%credits.php%', '%redirectCancelled=true%', '/-mp-/', '/-mc-/', '/-mm-/', '/-mpr-/', '/-mpri-/', '/-mpi-/', '/-ma-/', '/-mau-/', '/-mby-/', '/-mf-/', '/-mfc-/', '/-mfri-/', '/-mfra-/', '/-mi-/', '/-mlinks-/', '/-mn-/', '/-mnc-/', '/-mnri-/', '/-mnra-/', '/-mpm-/', '/-mpo-/', '/-mt-/'); $url_replace_to = array(DIR_WS_HTTP_CATALOG, FILENAME_DEFAULT, FILENAME_DEFAULT, FILENAME_DEFAULT, FILENAME_DEFAULT, 'MredirectCancelled=true', '-p-', '-c-', '-m-', '-pr-', '-pri-', '-pi-', '-a-', '-au-', '-by-', '-f-', '-fc-', '-fri-', '-fra-', '-i-', '-links-', '-n-', '-nc-', '-nri-', '-nra-', '-pm-', '-po-', '-t-'); $classic_url = (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . preg_replace($url_replace_from, $url_replace_to, htmlspecialchars($_SERVER['REQUEST_URI'])); if(!isset($_GET['MredirectCancelled']) && $_GET['MredirectCancelled'] != 'true' && stripos($classic_url,'MredirectCancelled=true') == 0) { $classic_url .= ((stripos($classic_url,'?') > 0) ? '&' : '?') . "MredirectCancelled=true"; } //END: CLASSIC REDIRECT_SCRIPT 3. Change line 16 in catalog/checkout_success.php AND catalog/checkout_payment.php to: if ( tep_session_is_registered('mobilesession') && !tep_session_is_registered('MredirectCancelled') ) 4. Change line 16 in catalog/shopping_cart.php to: if ( tep_session_is_registered('mobilesession') && !isset($_GET['MredirectCancelled']) && !tep_session_is_registered('MredirectCancelled') ) Please confirm if it works ok. I'll include it then in the next update. Best regards Rainer 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...
greasemonkey Posted January 17, 2015 Share Posted January 17, 2015 @@raiwa Hi Rainer, yep that seems to work.... I'll let you know if I see anything else. Quote Link to comment Share on other sites More sharing options...
whoolieshop Posted January 19, 2015 Share Posted January 19, 2015 (edited) I downloaded this contribution the other day after I switched to Auth net as my processor. I was previously using a reworked version of my web store on a subdomain as mobile. after finding this I would like to use the iOSC as my mobile frontend and have it kinda working.. My problem is that some of the links go back to the desktop site rather than the mobile site, for the most part I have found and fixed these in the source. However; I have one that has halted me. if you go here: http://whoolie.com/mobile_product_info.php?cPath=26&products_id=43 click the add to cart button, it does add the item to the cart but pulls up the web version instead of the mobile version. if you manually change the URL to: http://whoolie.com/mobile_shopping_cart.php the mobile cart comes up. if you need any more info please let me know! I appear to be trying to use version: Release v2.0c according to iOSC Description.txt is there a newer version somewhere I should be working with? My osCommerce version is a modified osCommerce Online Merchant v2.3.3.4 Edited January 19, 2015 by whoolieshop Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted January 19, 2015 Share Posted January 19, 2015 I downloaded this contribution the other day after I switched to Auth net as my processor. I was previously using a reworked version of my web store on a subdomain as mobile. after finding this I would like to use the iOSC as my mobile frontend and have it kinda working.. My problem is that some of the links go back to the desktop site rather than the mobile site, for the most part I have found and fixed these in the source. However; I have one that has halted me. if you go here: http://whoolie.com/mobile_product_info.php?cPath=26&products_id=43 click the add to cart button, it does add the item to the cart but pulls up the web version instead of the mobile version. if you manually change the URL to: http://whoolie.com/mobile_shopping_cart.php the mobile cart comes up. if you need any more info please let me know! Hello shane @@whoolieshop, You installed an old outdated version. You should use the newest 7.5.6 version: http://addons.oscommerce.com/info/8629 regards Rainer 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...
whoolieshop Posted January 19, 2015 Share Posted January 19, 2015 Hello shane @@whoolieshop, You installed an old outdated version. You should use the newest 7.5.6 version: http://addons.oscommerce.com/info/8629 regards Rainer I tried to use the above link once before... This appears to only have the paypal mobile support files in it. Ie the full iosc files are not included on that particular page. Despite it saying full package at the bottom. The download link gives me: PayPalMobileSupport.zip which includes paypal_express.php and paypal_pro_dp.php without all of the other files that were included in the older download. Quote Link to comment Share on other sites More sharing options...
greasemonkey Posted January 19, 2015 Share Posted January 19, 2015 @@whoolieshop click on the history tab - you will find all the previous versions. You will need - Mobile OSC 7.5.6. The most recent versions (in this case... an update/option for the PayPal app) is always linked to the url. So, if you are using the PP App then you would also have to download iosc Mobile support files for Paypal App. Quote Link to comment Share on other sites More sharing options...
whoolieshop Posted January 19, 2015 Share Posted January 19, 2015 @@whoolieshop click on the history tab - you will find all the previous versions. You will need - Mobile OSC 7.5.6. The most recent versions (in this case... an update/option for the PayPal app) is always linked to the url. So, if you are using the PP App then you would also have to download iosc Mobile support files for Paypal App. Ah you're very right, sorry for not looking I just assumed the latest version of the full package was the download link. Next question i've installed the mobile files into my store and now when I go into: www.whoolie.com/mobile/ I get the following error: Warning: require(DIR_WS_INCLUDESfilenames.php) [function.require]: failed to open stream: No such file or directory in /var/www/html/whoolie/includes/application_top.php on line 57 Fatal error: require() [function.require]: Failed opening required 'DIR_WS_INCLUDESfilenames.php' (include_path='.:/php/include;/www/functions:/usr/local/php/include/ZendGdata-1.12.3/library/') in /var/www/html/whoolie/includes/application_top.php on line 57 It LOOKS like the DIR_WS_INCLUDES variable isn't being turned into the proper text by the require statement. It also threw this error on line 41 of application_top.php // require(DIR_WS_FUNCTIONS . '/compatibility.php'); changing the line to this: require('functions/compatibility.php'); let it go on and then throws the error again on line 57. Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted January 19, 2015 Share Posted January 19, 2015 (edited) Ah you're very right, sorry for not looking I just assumed the latest version of the full package was the download link. Next question i've installed the mobile files into my store and now when I go into: www.whoolie.com/mobile/ I get the following error: Warning: require(DIR_WS_INCLUDESfilenames.php) [function.require]: failed to open stream: No such file or directory in /var/www/html/whoolie/includes/application_top.php on line 57 Fatal error: require() [function.require]: Failed opening required 'DIR_WS_INCLUDESfilenames.php' (include_path='.:/php/include;/www/functions:/usr/local/php/include/ZendGdata-1.12.3/library/') in /var/www/html/whoolie/includes/application_top.php on line 57 It LOOKS like the DIR_WS_INCLUDES variable isn't being turned into the proper text by the require statement. It also threw this error on line 41 of application_top.php // require(DIR_WS_FUNCTIONS . '/compatibility.php'); changing the line to this: require('functions/compatibility.php'); let it go on and then throws the error again on line 57. @@whoolieshop, recheck the modifications in: catalog/includes/configure.php and catalog/includes/application_top.php Edited January 19, 2015 by raiwa 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...
whoolieshop Posted January 20, 2015 Share Posted January 20, 2015 @@whoolieshop, recheck the modifications in: catalog/includes/configure.php and catalog/includes/application_top.php Okay, got these sorted out it seems and now i've got another issue. http://whoolie.com/mobile/catalog_mb.php?cPath=1_17_26&osCsid=hukum92cjaectmohktrnq66ds1 when I go to a category and actually pull up an item there is no information shown, do I need to make modifications to my database to get this part to work? I haven't run the db setup php file yet but didn't see that it was required and would rather not modify my database unless its required! Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted January 20, 2015 Share Posted January 20, 2015 (edited) Okay, got these sorted out it seems and now i've got another issue. http://whoolie.com/mobile/catalog_mb.php?cPath=1_17_26&osCsid=hukum92cjaectmohktrnq66ds1 when I go to a category and actually pull up an item there is no information shown, do I need to make modifications to my database to get this part to work? I haven't run the db setup php file yet but didn't see that it was required and would rather not modify my database unless its required! @@whoolieshop, yes sure it's required. Edited January 20, 2015 by raiwa 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...
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.