kalabox Posted August 22, 2010 Report Share Posted August 22, 2010 Errors taads: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\xampp\htdocs\tests2\install\index.php on line 17 if(!extension_loaded('\ionCube Loader\')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='/ioncube/ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}@dl($__ln);}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo(Your hosting provider is missing the required ioncube loader. Please contact your hosting provider and ask them to install ioncube onto your website.);exit(199); Zinu, "monstrs tā 17 rinda" Kaut kur nav slashi, ja saprotu, bet kur?? Lūdzu palīdzību Quote Link to comment Share on other sites More sharing options...
101111 Posted August 22, 2010 Report Share Posted August 22, 2010 Kāpēc vajag tādā stilā kodēt? Baigi grūti ir meklēt kļūdas pēc tam. Pirmais kas nāk prātā - pie tā ifa slešus nevajag if(!extension_loaded('ionCube Loader')) Quote Link to comment Share on other sites More sharing options...
kalabox Posted August 22, 2010 Author Report Share Posted August 22, 2010 (edited) Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\tests2\install\index.php on line 17 Noņemot nost slashus pie ifa Veel mazs jautājums bij man tāda kļūda Deprecated split() Nomainot uz preg_split() neiet, to pashu rāda, bet uz explode() viss iet, kapēc tā?? Vaitad nevajadzēja darboties arī preg_split() ?? Edited August 22, 2010 by kalabox Quote Link to comment Share on other sites More sharing options...
101111 Posted August 22, 2010 Report Share Posted August 22, 2010 Sadali to rindiņu tā, lai tā tas izskatītios pēc cilvēkiem salasāma koda un pats gan jau pamanīsi kur kļūda. http://php.net/manual/en/function.split.php saka, ka funkcija split() kopš php 5.3 ir deprecated. Tur arī ir teikts ka to funkciju var aizvietot ar preg_split() vai explode(). Kāpēc nedarbojas tev preg_split() es nevaru pateikt, jāredz kur tu mēģini to funkciju pielietot. Man pašam nekad vēl nav bijusi vajadzība kādreiz pielietot preg_split(), parasti explode() labi der. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.