1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

[PHPBB] Error on forum, problem with header files

Discussion in 'PHP' started by pratik, Aug 11, 2009.

  1. #1
    hi there,

    There seems to be some problem with my forum running PHPBB.
    It all happened 3-4 days back, while editing overall_header file from the ACP.
    There are error 2 types of error on the site.
    First is related to cache files... onces that file is deleted from the server .. there is another error

    Below are the error.

    Parse error: syntax error, unexpected T_VARIABLE in /home/bizzu0/public_html/forum4finance/discuss/cache/tpl_prosilver-se_overall_header.html.php on line 201
    Code (markup):
    Parse error: syntax error, unexpected T_VARIABLE in /home/bizzu0/public_html/forum4finance/discuss/includes/template.php(614) : eval()'d code on line 201
    Code (markup):

     
    pratik, Aug 11, 2009 IP
  2. Sky AK47

    Sky AK47 Member

    Messages:
    298
    Likes Received:
    8
    Best Answers:
    1
    Trophy Points:
    45
    #2
    Can you show us the code? It's most likely a 3 seconds fix.
     
    Sky AK47, Aug 11, 2009 IP
    pratik likes this.
  3. InternetTrickster

    InternetTrickster Peon

    Messages:
    53
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Editing the files through the CP can cause problems, you should use notepad ++ instead as ive learned this error myself.

    Sometimes it changed your ' ; : etc slightly making the code not work. If you can revert and do the same changes in notepad ++ and then use a FTP prog like filezilla you shouldnt have any probs
     
    InternetTrickster, Aug 12, 2009 IP
    pratik likes this.
  4. pratik

    pratik Notable Member

    Messages:
    2,305
    Likes Received:
    114
    Best Answers:
    0
    Trophy Points:
    200
    #4
    Thanks guys for the replies.
    The problem is solved. The support system at PHPBB forum is great.

    And yes changing files through ACP is a pain.. I am using Dreamweaver now, and uploading using fireftp.. :)
     
    pratik, Aug 12, 2009 IP
  5. Sky AK47

    Sky AK47 Member

    Messages:
    298
    Likes Received:
    8
    Best Answers:
    1
    Trophy Points:
    45
    #5
    Ok good to know, but you should use Notepad++, it's much better then dreamweaver, IMO.
     
    Sky AK47, Aug 13, 2009 IP