Template just show the sourcecode on iphone

  • aliwin
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 3 weeks ago #17666 by aliwin
Using the template in Joomla 2.5 and have cracked the index.php(as advised in this forum) to remove the mobile version and disabled mobile menu as well as all mobile modules.
In my HTC Android phone the template turns up as expected but in my Iphone 4, it turns up showing the sourcecode.

Please help a.s.a.p

Please Log in to join the conversation.

More
12 years 3 weeks ago #17667 by ivan.milic
open templates\hot_restaurant\css\template_css.php

delete this line?:

header("Content-type: text/css");

Please Log in to join the conversation.

  • aliwin
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 3 weeks ago #17669 by aliwin
Have deleted the line at the top of the file, sorry, but no effect

Please Log in to join the conversation.

More
12 years 3 weeks ago #17677 by ivan.milic

Please Log in to join the conversation.

  • aliwin
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 3 weeks ago - 12 years 3 weeks ago #17694 by aliwin
Sorry about late reply, but here is the link

www.mediabyraninorr.se/kifas

Only showing the source code also appears on my Ipad3.
Last edit: 12 years 3 weeks ago by aliwin.

Please Log in to join the conversation.

More
12 years 3 weeks ago - 12 years 3 weeks ago #17699 by ivan.milic
It is hard to find problems like this. Some error happens, apache imediately send header if output is detected and content is not given mime type HTML so browser shows it like text.

- Did you had some changes in code
- Enable debugging in joomla, some messages will appear in source on error places
- Language php files can create this is edited in notepad or few other text editors because thy insert invisible character.This is only if you have such thing. try to disable it to see it that.
Last edit: 12 years 3 weeks ago by ivan.milic.

Please Log in to join the conversation.

Time to create page: 0.310 seconds
Powered by Kunena Forum