[Contribution] iOSC - mobile version of OSC on your iPhone
#241
Posted 05 August 2009 - 02:50 PM
Previous version of iOSC had to many compatibility problems because mobile files where located in separate subdirectory.
This is different approach and all mobile files are located on the same catalog.
Please , give it a try and let me know about any issues.
#242
Posted 05 August 2009 - 04:43 PM
it will go to catalog/mobile_index.php??
running catalog/mobile_index.php show blank page with up menu
Edit for blank page using "domxml-php4-to-php5.php" comment previusly for another partner in this forum solve the problem
Bye!!
Edited by PiLLaO, 05 August 2009 - 04:49 PM.
#243
Posted 06 August 2009 - 03:08 PM
- mobile_index.php only shows the header, but nothing in the body, no category links present at all.
- mobile_advanced_search_result.php link at the bottom does not function to "view more products". However if I can't get this to solve, I'll just set the sql query to be a lot higher to compensate, 100 should be sufficient, but if this also is a problem, then I'll set it up to 400.
#244
Posted 06 August 2009 - 04:29 PM
jholdersatx, on Aug 6 2009, 05:08 PM, said:
- mobile_index.php only shows the header, but nothing in the body, no category links present at all.
- mobile_advanced_search_result.php link at the bottom does not function to "view more products". However if I can't get this to solve, I'll just set the sql query to be a lot higher to compensate, 100 should be sufficient, but if this also is a problem, then I'll set it up to 400.
To solve mobile_index.php problem, use this: http://forums.oscommerce.com/index.php?s=&...t&p=1415893
Bye!
#245
Posted 06 August 2009 - 04:58 PM
Also, fyi: there's a hiccup in the code in mobile_products.php for the "PC SITE" link. Just omit:
"DIR_MAIN_HTTP_CATALOG . " from line 28.
#246
Posted 06 August 2009 - 07:20 PM
Thank you.
Changes in v2.0c
This is Release v2.0c(beta) of iOSC - mobile version of OSCommerce for iPhone.
More errors in AJAX part resolved. Ajax i disable by default right now.
To initialize AJAX go to catalog/mobile/includes/configure.php
and replace last line with
define ('AJAX_ENABLED', false);
Bad link in PC Site button corrected.
http://addons.oscommerce.com/info/6529
#247
Posted 06 August 2009 - 10:22 PM
index.php, editing configure.php uncomment //define ('FILENAME_DEFAULT', 'mobile_index.php');
account, it will be changing in header.php <?php echo tep_mobile_link(FILENAME_ACCOUNT);?>'"> to <?php echo tep_mobile_link(FILENAME_MOBILE_ACCOUNT);?>'"> ???
When I click on a category, it's redirect to "pc site"
Bye!!
#248
Posted 06 August 2009 - 10:56 PM
#249
Posted 07 August 2009 - 01:34 AM
Logic is in mobile/includes/classes/mobile_redirect.php
If you want to suppress redirect you call any page with
$_GET['redirectCancelled'] == 'true'
#250
Posted 07 August 2009 - 02:13 PM
#251
Posted 07 August 2009 - 10:20 PM
Also header.php is linking to FILENAME_ACCOUNT instead of FILENAME_MOBILE_ACCOUNT, or the other way around, for uniformity's sake.
#252
Posted 07 August 2009 - 10:53 PM
jholdersatx, on Aug 8 2009, 12:20 AM, said:
Also header.php is linking to FILENAME_ACCOUNT instead of FILENAME_MOBILE_ACCOUNT, or the other way around, for uniformity's sake.
#253
Posted 07 August 2009 - 11:31 PM
Well I've got it completely installed to the fullest of my satisfaction, and there it will stay. If anyone else wants to demo it, it should be fully compatible with all browsers, mobile, and pc alike.
http://www.steam-brite.com/mobile
Now it IS a live site, so any orders placed will be treated as real, be warned!
#254
Posted 13 August 2009 - 07:10 AM
I 've installed version iOSC v2.0c- (latest) following the intructions (placed all the mobile_* files in / directory and then copied the mobile folder).
When i point to my site www.mysite.com/mobile the url is redirected to http://www.rmysite.com/mobile/mobile_index.php i get the following message:
The requested URL /mobile/mobile_index.php was not found on this server
I have changed anything in /mobile/includes/configuration.php
any ideas?
Thanks a lot!
#255
Posted 13 August 2009 - 09:13 AM
stelaras1, on Aug 13 2009, 09:10 AM, said:
I 've installed version iOSC v2.0c- (latest) following the intructions (placed all the mobile_* files in / directory and then copied the mobile folder).
When i point to my site www.mysite.com/mobile the url is redirected to http://www.rmysite.com/mobile/mobile_index.php i get the following message:
The requested URL /mobile/mobile_index.php was not found on this server
I have changed anything in /mobile/includes/configuration.php
any ideas?
Thanks a lot!
bye!
#256
Posted 13 August 2009 - 05:55 PM
PiLLaO, on Aug 13 2009, 12:13 PM, said:
Finallyyyy it worked...
after several tries i 've changed the configuration.php by adding " define('DIR_WS_HTTP_CATALOG', '/'); " and now seems to work just fine..
but now i have another question/problem to deal with.
My site has 4 level of menus
For example: PC-> Storage -> Hard Disk - EIDE/SATA - products
I see that i can acess the 3 level of menuw (PC, Hard Disk - SATA) but when i choose SATA i can't get the products
i'm using FF and i get the following message: "Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked."
is there a limitation in the levels of menu that the iOSC can support?
i'll try to enable the debug mode
any ideas please..
Edited by stelaras1, 13 August 2009 - 06:06 PM.
#257
Posted 13 August 2009 - 06:14 PM
I tried with a category that has one level and then products (for instance Motherboards) but nothing happened
#258
Posted 14 August 2009 - 07:35 AM
So when i touch a category on my iphone, i'm taken to the pc version.
If i search, i do get results in mobile form, but i'm taken to the product_info.php instead of mobile_product_info.php
Why?
Has Che
Actually I have the same problems trying from a PC and accessing either our store or yours! i don't get it!
I'm on a Mac using FireFox and an iPhone with OS2.2.1 and in both cases I get redirected many times to the pc versions of the files, not the mobile ones.
Ideas?
Thansk!
#259
Posted 14 August 2009 - 07:57 AM
jholdersatx, on Aug 8 2009, 01:31 AM, said:
Well I've got it completely installed to the fullest of my satisfaction, and there it will stay. If anyone else wants to demo it, it should be fully compatible with all browsers, mobile, and pc alike.
http://www.steam-brite.com/mobile
Now it IS a live site, so any orders placed will be treated as real, be warned!
I managed to click on your link with Firefox on a Mac and i could see your store for a while.
Then closed the browser window.
Then clicked again, and your site is blank :?
Now, mind sharing all the improvements you applied to 2.0c?
#260
Posted 16 August 2009 - 07:50 PM
bolsoncerrado, on Aug 14 2009, 10:57 AM, said:
Then closed the browser window.
Then clicked again, and your site is blank :?
Now, mind sharing all the improvements you applied to 2.0c?
Obviously the contribution has not been standardized yet.
Although its a very flexible and handy add-on it has some strange behaviour :/ like the example you mention..
my issue is that it does not display products..
Edited by stelaras1, 16 August 2009 - 07:51 PM.









