• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Meta element makes view load twice

#1
[eluser]Unknown[/eluser]
Hi everyone!

I have been reading a lot about the "view loading twice" problem, but I haven't found a solution yet. As many others I have the problem, that a view is loaded twice. The view includes the html header and is called on almost every page of the website by the following line in each controller:

Code:
$this->load->view('kopf',$data);

After I spent a lot of time with "trial and error" I found out that the line

Code:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

causes the Problem in the view. When I delete the line, the view only loads once. If I add it again, the view loads twice again.

This is the address of the website:

http://www.gruppenfahrt.de

Does anybody have an idea why this line causes this problem? And how can I solve it?


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.