videod Posted June 28, 2013 Share Posted June 28, 2013 Hello, I am installing the 6.0_r3 version of Mobile, and have a couple of questions. I couldn't find the following in the install package file /catalog/mobile/includes/languages/english.php - 1. In catalog/mobile/includes/languages/[Your language(s)].php ***FIND: define('TEXT_WELCOME', 'Welcome at our mobile shop!'); ***EDIT "Welcome at our mobile shop!" with your own promotional/presentation text ------------------------------------ So I added it. Is that ok? Also, I am at the configure part of the install process. The website is hosted on a Godaddy shared server.. so I am guessing I should use the domain part of the unix install? Thanks!! Vid Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted June 29, 2013 Share Posted June 29, 2013 Are you sure I need to edit the product_listing.php and products.php (mobile) for the shopping cart to work? Are these files connected to the shopping cart? This depends if you modified these files in the standard store. If yes, then you should apply the same modifications to the mobile files. Always if it affects funtionality, like stock control etc. Of course you don't have to apply design/layout modifications. 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 June 29, 2013 Share Posted June 29, 2013 Hello, I am installing the 6.0_r3 version of Mobile, and have a couple of questions. I couldn't find the following in the install package file /catalog/mobile/includes/languages/english.php - 1. In catalog/mobile/includes/languages/[Your language(s)].php ***FIND: define('TEXT_WELCOME', 'Welcome at our mobile shop!'); ***EDIT "Welcome at our mobile shop!" with your own promotional/presentation text ------------------------------------ So I added it. Is that ok? Also, I am at the configure part of the install process. The website is hosted on a Godaddy shared server.. so I am guessing I should use the domain part of the unix install? Thanks!! Vid Hello Vid, For the Text: yes it is perfect. This got lost in the update between version 5.2 and 5.3. I'll fix this in the next update. For the configuration: If you are not sure if your server is UNIX: Open the file: includes/configure.php Find this line: define('DIR_FS_CATALOG', '/web/htdocs/www.mystoreurl.com/home/'); If the absolute path begins like this: "'/web/htdocs/www." it is UNIX If it begins like this: "'C:/web/htdocs/www." (or another letter), it is Windows Kind 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...
ltaa09 Posted July 1, 2013 Share Posted July 1, 2013 Ok so i followed the whole installation guide on how to do this. Ive reread and done it twice now to see if i messed up. Nope when i try to go to the store on a regular computer this is what i get: Warning: require(/web/htdocs/www.mystoreurl.com/home/mobile/includes/classes/mobile_redirect.php) [function.require]: failed to open stream: No such file or directory in /home/content/04/9587604/html/buy/catalog/includes/application_top.php on line 523 Fatal error: require() [function.require]: Failed opening required '/web/htdocs/www.mystoreurl.com/home/mobile/includes/classes/mobile_redirect.php' (include_path='.:/usr/local/php5_3/lib/php') in /home/content/04/9587604/html/buy/catalog/includes/application_top.php on line 523 By the way the way i have godaddy linux hosting. And the store is on a subdomain. Quote Link to comment Share on other sites More sharing options...
ltaa09 Posted July 1, 2013 Share Posted July 1, 2013 Ok so i followed the whole installation guide on how to do this. Ive reread and done it twice now to see if i messed up. Nope when i try to go to the store on a regular computer this is what i get: Warning: require(/web/htdocs/www.mystoreurl.com/home/mobile/includes/classes/mobile_redirect.php) [function.require]: failed to open stream: No such file or directory in /home/content/04/9587604/html/buy/catalog/includes/application_top.php on line 523 Fatal error: require() [function.require]: Failed opening required '/web/htdocs/www.mystoreurl.com/home/mobile/includes/classes/mobile_redirect.php' (include_path='.:/usr/local/php5_3/lib/php') in /home/content/04/9587604/html/buy/catalog/includes/application_top.php on line 523 By the way the way i have godaddy linux hosting. And the store is on a subdomain. Also as a side note ive noticed in my main store directory i dont have a mobile_index.php file there Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted July 1, 2013 Share Posted July 1, 2013 Also as a side note ive noticed in my main store directory i dont have a mobile_index.php file there Hello, I can see in the error message that the configuration is not done. Please follow the instructions in: Configure_unix_subdomain.doc Kind 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...
♥raiwa Posted July 1, 2013 Share Posted July 1, 2013 (edited) Also as a side note ive noticed in my main store directory i dont have a mobile_index.php file there The mobile_index.php file doesn't exist any more. It is replaced by /mobile/index.php or the index.php in your mobile subdomain Edited July 1, 2013 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...
ltaa09 Posted July 1, 2013 Share Posted July 1, 2013 Ok let me do the first thing you wanted, and also im not installing it on a mobile subdomain its on the same subdomain as my store Quote Link to comment Share on other sites More sharing options...
ltaa09 Posted July 1, 2013 Share Posted July 1, 2013 The mobile_index.php file doesn't exist any more. It is replaced by /mobile/index.php or the index.php in your mobile subdomain Ok im doing the configuration now and i cant seem to find this: 2) catalog/includes/application_top.php find: // include server parameters require((defined('MOBILE_SESSION') ? 'web/htdocs/www.mystoreurl.com/home/includes/configure.php' : 'includes/configure.php')); change: 'web/htdocs/www.mystoreurl.com/home/ to the absolute path from: catalog/includes/configure.php: define('DIR_FS_CATALOG', '/web/htdocs/www.mystoreurl.com/home/includes/configure.php'); Make sure to leave in place '/includes/configure.php' Quote Link to comment Share on other sites More sharing options...
ltaa09 Posted July 1, 2013 Share Posted July 1, 2013 The mobile_index.php file doesn't exist any more. It is replaced by /mobile/index.php or the index.php in your mobile subdomain I think i might just restore my whole thing to my backup i made a try it again, to the point in thinking i messed up all the files. Ill ask you again if i need help. Also does the addon discount code work with this? Quote Link to comment Share on other sites More sharing options...
videod Posted July 1, 2013 Share Posted July 1, 2013 (edited) My development store did the same thing then corrected itself before I started the configuration part! I am also hosted on Godaddy...I think it's Godaddy? Even though my admin part of the store still worked. Just bizarre. Edited July 1, 2013 by videod Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted July 1, 2013 Share Posted July 1, 2013 I think i might just restore my whole thing to my backup i made a try it again, to the point in thinking i messed up all the files. Ill ask you again if i need help. Also does the addon discount code work with this? Make sure to use the correct install file. OSC 2.2. code varies from OSC2.3. 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 July 1, 2013 Share Posted July 1, 2013 (edited) Ok im doing the configuration now and i cant seem to find this: 2) catalog/includes/application_top.php find: // include server parameters require((defined('MOBILE_SESSION') ? 'web/htdocs/www.mystoreurl.com/home/includes/configure.php' : 'includes/configure.php')); change: 'web/htdocs/www.mystoreurl.com/home/ to the absolute path from: catalog/includes/configure.php: define('DIR_FS_CATALOG', '/web/htdocs/www.mystoreurl.com/home/includes/configure.php'); Make sure to leave in place '/includes/configure.php' Ok this is a fault, the code is different in OSC2.3. so don't include the comment line in the search. Search only for: require((defined('MOBILE_SESSION') ? 'web/htdocs/www.mystoreurl.com/home/includes/configure.php' : 'includes/configure.php')); I'll fix this in the next update. Edited July 1, 2013 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...
ltaa09 Posted July 1, 2013 Share Posted July 1, 2013 Im installing this on 2.3.3 Quote Link to comment Share on other sites More sharing options...
ltaa09 Posted July 1, 2013 Share Posted July 1, 2013 Im going to start installing it again now Quote Link to comment Share on other sites More sharing options...
ltaa09 Posted July 1, 2013 Share Posted July 1, 2013 im going to run the SQl script last this time as i want to do everything on my computer then upload all the files after i finish to save some time, will this be a problem? Quote Link to comment Share on other sites More sharing options...
ltaa09 Posted July 1, 2013 Share Posted July 1, 2013 So about this but i want to make sure im doing this right, last time i did this and even this time i get confused at this part: A) To install the mobile pages in the mobile subdirectory: Copy the mobile directoriy (incl. all content) to the root directory of your shop. Upload this directory: 3. common files/catalog/mobile/….. Add the files of this directory 4. for_OSC_2.3.3/catalog/mobile/….. OR B) To install the mobile pages in your mobile subdomain: Copy the content of the mobile directoriy to the mobile subdomain directory of your shop. Am i uploading this to the main directory of my shop before the catalog part or am i doing it inside catalog and after i drag the mobile from common files do i take the files from 2.3.3 from mobile and add them to the one from common files Quote Link to comment Share on other sites More sharing options...
ltaa09 Posted July 1, 2013 Share Posted July 1, 2013 And if this might help or not my shop was originally on a subdomain Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted July 1, 2013 Share Posted July 1, 2013 So about this but i want to make sure im doing this right, last time i did this and even this time i get confused at this part: A) To install the mobile pages in the mobile subdirectory: Copy the mobile directoriy (incl. all content) to the root directory of your shop. Upload this directory: 3. common files/catalog/mobile/….. Add the files of this directory 4. for_OSC_2.3.3/catalog/mobile/….. OR B) To install the mobile pages in your mobile subdomain: Copy the content of the mobile directoriy to the mobile subdomain directory of your shop. And if this might help or not my shop was originally on a subdomain Am i uploading this to the main directory of my shop before the catalog part or am i doing it inside catalog and after i drag the mobile from common files do i take the files from 2.3.3 from mobile and add them to the one from common files Inside catalog, this is what I mean when I say root directory of your shop. The mobile folder should remain on the same level as the images or includes folder. If your shop is, or was installed under a subdomain, this doesn't matter. Configuration is only different if you install the mobile files under a mobile-subdomain. 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 July 1, 2013 Share Posted July 1, 2013 (edited) im going to run the SQl script last this time as i want to do everything on my computer then upload all the files after i finish to save some time, will this be a problem? This is no problem. Only if you run the test-installation under a php server software like "xampp" under windows, then the configuration (includes/configure.php and both application_top's) is different. Edited July 1, 2013 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...
♥raiwa Posted July 1, 2013 Share Posted July 1, 2013 Im installing this on 2.3.3 So do what I said here: Ok this is a fault, the code is different in OSC2.3. so don't include the comment line in the search. Search only for: require((defined('MOBILE_SESSION') ? 'web/htdocs/www.mystoreurl.com/home/includes/configure.php' : 'includes/configure.php')); The code with the comment line is for OSC 2.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...
ltaa09 Posted July 1, 2013 Share Posted July 1, 2013 Ok thanks, when i enter the code i need to for the mobile links in the footer dream weaver tells me theres a error in the line below it Quote Link to comment Share on other sites More sharing options...
ltaa09 Posted July 1, 2013 Share Posted July 1, 2013 ok never mind this was my fault i didnt read the page below in the instructions Quote Link to comment Share on other sites More sharing options...
ltaa09 Posted July 1, 2013 Share Posted July 1, 2013 So im at the configuration part and i see this: 1d) catalog/includes/configure.php Find: define('DIR_FS_MOBILE', DIR_FS_CATALOG . 'mobile/'); Change to the absolute path of your mobile subdomain: Example: define('DIR_FS_MOBILE', 'web/htdocs/www.mystoreurl.com/home/m/'); NOTE: This should be the same path like “DIR_FS_CATALOG“ adding your mobile subdomain directory name at the end. 2) catalog/includes/application_top.php find: // include server parameters require((defined('MOBILE_SESSION') ? 'web/htdocs/www.mystoreurl.com/home/includes/configure.php' : 'includes/configure.php')); change: 'web/htdocs/www.mystoreurl.com/home/ to the absolute path from: catalog/includes/configure.php: define('DIR_FS_CATALOG', '/web/htdocs/www.mystoreurl.com/home/includes/configure.php'); Make sure to leave in place '/includes/configure.php' 3) catalog/mobile/includes/application_top.php find: require('web/htdocs/www.mystoreurl.com/home/includes/application_top.php'); change: 'web/htdocs/www.mystoreurl.com/home/ to the absolute path from: catalog/includes/configure.php: define('DIR_FS_CATALOG', '/web/htdocs/www.mystoreurl.com/home/'); Make sure to leave in place '/includes/configure.php' When it says to change to a absolute path of the mobile store for instance would i change it to 'web/htdocs/buy.mystore.net/catalog/molbile/' or would it be different? Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted July 1, 2013 Share Posted July 1, 2013 (edited) So im at the configuration part and i see this: When it says to change to a absolute path of the mobile store for instance would i change it to 'web/htdocs/buy.mystore.net/catalog/molbile/' or would it be different? yes it's this, just mobile instead of molbile But didn't you say that you do NOT install the mobile files under a subdomain? Then you are using the wrong configuration instructions. Edited July 1, 2013 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.