Control Web Panel
WebPanel => Updates => Topic started by: tokar86a on March 18, 2019, 12:10:32 PM
-
When i try to run the cwp_version script i end up whit this error
[root@vmi240766 scripts]# sh ./cwp_version
./cwp_version: line 2: ?php: No such file or directory
./cwp_version: line 3: //: Is a directory
./cwp_version: line 4: //: Is a directory
./cwp_version: line 5: syntax error near unexpected token 'ionCube Loader'' ./cwp_version: line 5:if(!extension_loaded('ionCube Loader')){$oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__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;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE ." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('No Loader is installed, please try to run this command or contact support: sh /scripts/update_ioncube');exit(199);'
I have try to run the sh /scripts/update_ioncube but it dont seems to help.
so something seems to be wrong whit the file?
-
it's php script
php /scripts/cwp_version
-
[root@vmi240766 scripts]# php /scripts/cwp_version
No Loader is installed, please try to run this command or contact support: sh /scripts/update_ioncube[
-
Helllo.
Try the command: sh /scripts/update_ioncube
Seems like your CWP is broken and must be checked by a system administrator or you can contact CWP support.
-
Hello,
Same issue here!
[root@srv scripts]# sh ./cwp_version
./cwp_version: line 2: ?php: No such file or directory
./cwp_version: line 3: //: Is a directory
./cwp_version: line 4: //: Is a directory
./cwp_version: line 5: syntax error near unexpected token `'ionCube Loader''
./cwp_version: line 5: `if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__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;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('No Loader is installed, please try to run this command or contact support: sh /scripts/update_ioncube');exit(199);'
[root@srv scripts]#
-
yeah, sorry :)
I meant try
/usr/local/cwp/php71/bin/php /scripts/cwp_version