Quote Originally Posted by linuxguy2 View Post
Norber

I take it the previous admin has done some mods to the installation so maybe this isn't an option for you but rather than try to figure out what the previous admin did would starting over be an option?

BACKUP the current CATALOG and DATABASE and be sure to get the products images.

You have already done some of this but as a test:

1:
Do an out of the box install of ZC, FEC & zencart-mobile into a new TEST folder on the server.
If that works install any other plugins he installed and retest.
2:
In the TEST database you just created, using PHP Admin DROP all the tables.
3:
Using PHP Admin import the current production database into the TEST database.
4:
Copy all your product images to the TEST installation images folder.
4:
If that works you would have a clean slate to work from.
5:
Of course you will have to redo the logos etc..
Thanks guys.
The problem i have is that the previous developer did a lot of changes in the theme that i think that i will do from the scratch and i dont know if the site owner has the money to pay that amount of hours.

I was thinking; if the problem is the damn redirection; it will not be easy (and dirty, i know) to look after the redirection file and put a conditional that ignores that redirection that FEC uses if the case is that the device is a mobile one?

I managed to isolate the variable that manages the user agent, a global one.
Its name is $deviceType

if i could find where the redirection takes place, i could do something like:

if ($deviceType=="phone"){
//do nothing
}else{
//do FEC redirection
}

Do you have any faintest idea where that redirection is done?
I checked every single file and i cannot find anything. I can see that the onepagecheckout is an option in the admin, but i dont know where to look for.

Thx.
Norberto