Support Forums

Mobile Redirect is not working

This is a discussion on Mobile Redirect is not working within the Technical Support forums, part of the Technical Support Forums category; I want to publish 68 classifeids on mobile. I'm not able to do redirect in phone browser. It always say ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

Reply
 
Thread Tools Display Modes
Old 08-04-2011, 04:40 AM   #1
Customer
 
Join Date: May 2011
Posts: 2
Rep Power: 0
eterno is on a distinguished road
Default Mobile Redirect is not working

I want to publish 68 classifeids on mobile. I'm not able to do redirect in phone browser. It always say error as 'unformatted content type'. I've also created separate pages for mobile version. This part throughs error:
(in step3submit.php)
PHP Code:
header("Location: mobusercheckout.php?step=6&category=" $category "&listingid=" $listingid "&productid=" $productid "&source=" $source); 
but for the same code if i write 'cURL' code, it worked. Could anyone help me in this regard.
eterno is offline   Reply With Quote
Old 08-04-2011, 09:58 AM   #2
Staff
 
Join Date: Mar 2006
Location: New Jersey
Posts: 2,187
Rep Power: 70
John Snyder is a jewel in the rough
Default

It would help if you provided the error you are getting.
__________________
John
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
John Snyder is offline   Reply With Quote
Old 08-04-2011, 08:56 PM   #3
Customer
 
Abdulaziz's Avatar
 
Join Date: Sep 2008
Location: Kuwait
Posts: 61
Rep Power: 15
Abdulaziz is on a distinguished road
Default

check this link it will help you
php-mobile-detect - PHP class for mobile device detection - Google Project Hosting
__________________
Developer 4.1.9
Abdulaziz is offline   Reply With Quote
Old 08-05-2011, 01:25 AM   #4
Customer
 
Join Date: May 2011
Posts: 2
Rep Power: 0
eterno is on a distinguished road
Default

Quote:
Originally Posted by John Snyder
A
fter 6 time '302' redirect in emulator, it threw error - 'Unsupported Content'. I dont know what could be the reason. Is behavior of mobile devices could be different. The time it could redirected could also matter.
eterno is offline   Reply With Quote
Old 08-05-2011, 09:22 AM   #5
Staff
 
Join Date: Mar 2006
Location: New Jersey
Posts: 2,187
Rep Power: 70
John Snyder is a jewel in the rough
Default

Try adding exit(); after your header call.
__________________
John
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
John Snyder is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
mobile ready Unregistered Pre Sales Questions 5 09-11-2009 08:48 PM
Redirect from thanks page seymourjames Modules / Plugins / Modifications 2 11-05-2008 05:53 AM


All times are GMT -4. The time now is 09:56 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0