You are here:  » Mobile version of PT

Support Forum



Mobile version of PT

Submitted by bat on Fri, 2012-08-03 19:59 in

Hi David
I know there's two other topics outlining Mobile versions of our PT installations but I cannot seem to get anywhere with them.

I made a subdomain of m.example.com and ftp'd over the Mobile files that you made available in the download section (html folder and index.php).
These are the only files I have in my subdomain folder. What do I do next?

Many thanks

Submitted by support on Sat, 2012-08-04 08:25

Hello bat,

You do need a "full" copy of Price Tapestry in your m. subdomain. What I would suggest is as follows:

1) Upload a full copy of Price Tapestry to m.example.com

2) Delete the /feeds/ and /admin/ folders

3) Overwrite index.php and the html/ folder with the Mobile versions

4) Edit config.php as required; making sure that $config_databaseUsername, $config_databasePassword, $config_databaseName and $config_databaseTablePrefix are identical to the settings in www.example.com/config.php

That should do it! You continue to manage / administer the site via www.example.com/admin/ of course...

Cheers,
David.
--
PriceTapestry.com

Submitted by bat on Sat, 2012-08-04 09:09

I've tried insert copies of my installation files and fresh ones from the download but this is what I get.
{link saved}

It's like some application or something?

Submitted by support on Sat, 2012-08-04 09:25

Hi Bat,

It's trying to serve the .php files for download so it looks like your web server, at least for the m. sub-domain is not configured to execute .php.

If it's not a server wide configuration check in your www.example.com/.htaccess look for any AddType or AddHandler lines, and add the same to m.example.com/.htaccess - that should be all it is!

Cheers,
David.
--
PriceTapestry.com

Submitted by bat on Sat, 2012-08-04 09:39

Cheers David. I hadn't activated PHP support. Doh! Working lovely now. :)