- Posts: 10
- Thank you received: 0
Template just show the sourcecode on iphone
-
aliwin
Inactive member - Topic Author
- New Member
Less
More
12 years 8 months ago #17666
by aliwin
Template just show the sourcecode on iphone was created 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
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.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 8 months ago #17667
by ivan.milic
Replied by ivan.milic on topic Re: Template just show the sourcecode on iphone
open templates\hot_restaurant\css\template_css.php
delete this line?:
header("Content-type: text/css");
delete this line?:
header("Content-type: text/css");
Please Log in to join the conversation.
-
aliwin
Inactive member - Topic Author
- New Member
Less
More
- Posts: 10
- Thank you received: 0
12 years 8 months ago #17669
by aliwin
Replied by aliwin on topic Re: Template just show the sourcecode on iphone
Have deleted the line at the top of the file, sorry, but no effect
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 8 months ago #17677
by ivan.milic
Replied by ivan.milic on topic Re: Template just show the sourcecode on iphone
give us link
Please Log in to join the conversation.
-
aliwin
Inactive member - Topic Author
- New Member
Less
More
- Posts: 10
- Thank you received: 0
12 years 8 months ago - 12 years 8 months ago #17694
by aliwin
Replied by aliwin on topic Re: Template just show the sourcecode on iphone
Sorry about late reply, but here is the link
www.mediabyraninorr.se/kifas
Only showing the source code also appears on my Ipad3.
www.mediabyraninorr.se/kifas
Only showing the source code also appears on my Ipad3.
Last edit: 12 years 8 months ago by aliwin.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 8 months ago - 12 years 8 months ago #17699
by ivan.milic
Replied by ivan.milic on topic Re: Template just show the sourcecode on iphone
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.
- 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 8 months ago by ivan.milic.
Please Log in to join the conversation.
Time to create page: 0.178 seconds