Need urgent help

Discussion in 'Site & Server Administration' started by Ibtisam Bangash, Aug 14, 2013.

  1. #1
    I need help I got some problem in my website www.babqatar.com
    when I open my site seeing this error can anyone help mein this ?

    Fatal error: Smarty error: [in index.html line 1]: syntax error: invalid attribute name: 'header.html\' (Smarty_Compiler.class.php, line 1559) in /home/babqatar/public_html/libs/Smarty.class.php on line 1092
     
    Ibtisam Bangash, Aug 14, 2013 IP
  2. Sensei.Design

    Sensei.Design Prominent Member

    Messages:
    3,847
    Likes Received:
    162
    Best Answers:
    0
    Trophy Points:
    310
    Digital Goods:
    1
    #2
    try to turn of magic_quotes_runtime, it could help solving your problem
     
    Sensei.Design, Aug 15, 2013 IP
  3. matt_62

    matt_62 Prominent Member

    Messages:
    1,827
    Likes Received:
    515
    Best Answers:
    14
    Trophy Points:
    350
    #3
    I am not familar with that issue, however, "Smarty error: [in index.html line 1]:" why are you using .html and not .php?
    I would start with that, make sure that you do not have any php code under a .html file.

    Another issue that I have had with smarty templates, is that you cannot put in certain code (or at least not the way you normally can for html / php files). Things such as javascript you need to make use of the tags:
    {literal}
    code goes in here
    {/literal}


    Not saying that this will solve your problems, but give you ideas that you can look into. I would check these things before anything else.
     
    matt_62, Aug 15, 2013 IP