GameCP error Apache
#1
buenas, alguien que sepa trabajar con Gamecp que sea tan amable de ayudarme Genius

Acabo de instalar ( versión nulled A ysi ) pero al momento de ingresar a la pagina de logueo (webroot) me tira "La página ip.***.**.*** no puede procesar esta solicitud ahora." HTTP ERROR 500

Alguna idea de porque no logra acceder?

de igual forma dejo los log del apache:
Código:
[Thu May 25 06:25:04.163961 2017] [mpm_prefork:notice] [pid 16784] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Thu May 25 06:25:04.164010 2017] [core:notice] [pid 16784] AH00094: Command line: '/usr/sbin/apache2'
[Thu May 25 18:25:46.096533 2017] [:error] [pid 16653] [client 201.53.26.75:35458] script '/var/www/html/command.php' not found or unable to stat
[Fri May 26 00:24:09.950807 2017] [:error] [pid 16653] [client 191.112.166.202:56418] PHP Fatal error:  Uncaught exception 'SmartyException' with message 'unable to write file /var/www/html/webroot/includes/cache/x/wrt5927ade9e812a4.47686672' in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php:44\nStack trace:\n#0 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(199): Smarty_Internal_Write_File::writeFile('/var/www/html/w...', '<?php $_config_...', Object(Smarty))\n#1 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(214): Smarty_Internal_Config->compileConfigSource()\n#2 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_data.php(280): Smarty_Internal_Config->loadConfigVars('en')\n#3 /var/www/html/webroot/includes/core/includes/gamecp/smarty.inc.php(55): Smarty_Internal_Data->configLoad('/var/www/html/w...', 'en')\n#4 /var/www/html/webroot/includes/core/includes/gamecp/settings.inc.php(191): require_once('/var/www/html/w...')\n#5 /var/www/html/webroot/index.php(20): require_once('/var/www/html/w...')\n in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php on line 44
[Fri May 26 00:24:20.969763 2017] [:error] [pid 18221] [client 191.112.166.202:56422] PHP Fatal error:  Uncaught exception 'SmartyException' with message 'unable to write file /var/www/html/webroot/includes/cache/x/wrt5927adf4eca052.22588738' in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php:44\nStack trace:\n#0 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(199): Smarty_Internal_Write_File::writeFile('/var/www/html/w...', '<?php $_config_...', Object(Smarty))\n#1 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(214): Smarty_Internal_Config->compileConfigSource()\n#2 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_data.php(280): Smarty_Internal_Config->loadConfigVars('en')\n#3 /var/www/html/webroot/includes/core/includes/gamecp/smarty.inc.php(55): Smarty_Internal_Data->configLoad('/var/www/html/w...', 'en')\n#4 /var/www/html/webroot/includes/core/includes/gamecp/settings.inc.php(191): require_once('/var/www/html/w...')\n#5 /var/www/html/webroot/index.php(20): require_once('/var/www/html/w...')\n in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php on line 44
[Fri May 26 00:24:22.464926 2017] [:error] [pid 15994] [client 191.112.166.202:56423] PHP Fatal error:  Uncaught exception 'SmartyException' with message 'unable to write file /var/www/html/webroot/includes/cache/x/wrt5927adf6716e22.33145470' in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php:44\nStack trace:\n#0 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(199): Smarty_Internal_Write_File::writeFile('/var/www/html/w...', '<?php $_config_...', Object(Smarty))\n#1 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(214): Smarty_Internal_Config->compileConfigSource()\n#2 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_data.php(280): Smarty_Internal_Config->loadConfigVars('en')\n#3 /var/www/html/webroot/includes/core/includes/gamecp/smarty.inc.php(55): Smarty_Internal_Data->configLoad('/var/www/html/w...', 'en')\n#4 /var/www/html/webroot/includes/core/includes/gamecp/settings.inc.php(191): require_once('/var/www/html/w...')\n#5 /var/www/html/webroot/index.php(20): require_once('/var/www/html/w...')\n in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php on line 44
[Fri May 26 00:25:12.266059 2017] [:error] [pid 15995] [client 191.112.166.202:56431] PHP Fatal error:  Uncaught exception 'SmartyException' with message 'unable to write file /var/www/html/webroot/includes/cache/x/wrt5927ae2840e657.96929418' in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php:44\nStack trace:\n#0 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(199): Smarty_Internal_Write_File::writeFile('/var/www/html/w...', '<?php $_config_...', Object(Smarty))\n#1 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(214): Smarty_Internal_Config->compileConfigSource()\n#2 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_data.php(280): Smarty_Internal_Config->loadConfigVars('en')\n#3 /var/www/html/webroot/includes/core/includes/gamecp/smarty.inc.php(55): Smarty_Internal_Data->configLoad('/var/www/html/w...', 'en')\n#4 /var/www/html/webroot/includes/core/includes/gamecp/settings.inc.php(191): require_once('/var/www/html/w...')\n#5 /var/www/html/webroot/index.php(20): require_once('/var/www/html/w...')\n in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php on line 44
[Fri May 26 00:30:17.635615 2017] [:error] [pid 18447] [client 191.112.166.202:56559] PHP Fatal error:  Uncaught exception 'SmartyException' with message 'unable to write file /var/www/html/webroot/includes/cache/x/wrt5927af599b2000.44754849' in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php:44\nStack trace:\n#0 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(199): Smarty_Internal_Write_File::writeFile('/var/www/html/w...', '<?php $_config_...', Object(Smarty))\n#1 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(214): Smarty_Internal_Config->compileConfigSource()\n#2 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_data.php(280): Smarty_Internal_Config->loadConfigVars('en')\n#3 /var/www/html/webroot/includes/core/includes/gamecp/smarty.inc.php(55): Smarty_Internal_Data->configLoad('/var/www/html/w...', 'en')\n#4 /var/www/html/webroot/includes/core/includes/gamecp/settings.inc.php(191): require_once('/var/www/html/w...')\n#5 /var/www/html/webroot/index.php(20): require_once('/var/www/html/w...')\n in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php on line 44, referer: http://170.239.86.236/webroot/installer/
[Fri May 26 00:32:14.501001 2017] [:error] [pid 18220] [client 191.112.166.202:56571] PHP Fatal error:  Uncaught exception 'SmartyException' with message 'unable to write file /var/www/html/webroot/includes/cache/x/wrt5927afce7a4305.36083572' in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php:44\nStack trace:\n#0 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(199): Smarty_Internal_Write_File::writeFile('/var/www/html/w...', '<?php $_config_...', Object(Smarty))\n#1 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(214): Smarty_Internal_Config->compileConfigSource()\n#2 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_data.php(280): Smarty_Internal_Config->loadConfigVars('en')\n#3 /var/www/html/webroot/includes/core/includes/gamecp/smarty.inc.php(55): Smarty_Internal_Data->configLoad('/var/www/html/w...', 'en')\n#4 /var/www/html/webroot/includes/core/includes/gamecp/settings.inc.php(191): require_once('/var/www/html/w...')\n#5 /var/www/html/webroot/index.php(20): require_once('/var/www/html/w...')\n in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php on line 44, referer: http://170.239.86.236/
[Fri May 26 00:32:22.669884 2017] [:error] [pid 18219] [client 191.112.166.202:56574] PHP Fatal error:  Uncaught exception 'SmartyException' with message 'unable to write file /var/www/html/webroot/includes/cache/x/wrt5927afd6a37491.56786266' in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php:44\nStack trace:\n#0 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(199): Smarty_Internal_Write_File::writeFile('/var/www/html/w...', '<?php $_config_...', Object(Smarty))\n#1 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(214): Smarty_Internal_Config->compileConfigSource()\n#2 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_data.php(280): Smarty_Internal_Config->loadConfigVars('en')\n#3 /var/www/html/webroot/includes/core/includes/gamecp/smarty.inc.php(55): Smarty_Internal_Data->configLoad('/var/www/html/w...', 'en')\n#4 /var/www/html/webroot/includes/core/includes/gamecp/settings.inc.php(191): require_once('/var/www/html/w...')\n#5 /var/www/html/webroot/index.php(20): require_once('/var/www/html/w...')\n in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php on line 44, referer: http://170.239.86.236/
[Fri May 26 00:35:14.910038 2017] [:error] [pid 18447] [client 191.112.166.202:56632] PHP Fatal error:  Uncaught exception 'SmartyException' with message 'unable to write file /var/www/html/webroot/includes/cache/x/wrt5927b082de2058.40645407' in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php:44\nStack trace:\n#0 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(199): Smarty_Internal_Write_File::writeFile('/var/www/html/w...', '<?php $_config_...', Object(Smarty))\n#1 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(214): Smarty_Internal_Config->compileConfigSource()\n#2 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_data.php(280): Smarty_Internal_Config->loadConfigVars('en')\n#3 /var/www/html/webroot/includes/core/includes/gamecp/smarty.inc.php(55): Smarty_Internal_Data->configLoad('/var/www/html/w...', 'en')\n#4 /var/www/html/webroot/includes/core/includes/gamecp/settings.inc.php(191): require_once('/var/www/html/w...')\n#5 /var/www/html/webroot/index.php(20): require_once('/var/www/html/w...')\n in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php on line 44
[Fri May 26 00:35:33.596387 2017] [:error] [pid 18220] [client 191.112.166.202:56635] PHP Fatal error:  Uncaught exception 'SmartyException' with message 'unable to write file /var/www/html/webroot/includes/cache/x/wrt5927b095918aa5.55821514' in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php:44\nStack trace:\n#0 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(199): Smarty_Internal_Write_File::writeFile('/var/www/html/w...', '<?php $_config_...', Object(Smarty))\n#1 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(214): Smarty_Internal_Config->compileConfigSource()\n#2 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_data.php(280): Smarty_Internal_Config->loadConfigVars('en')\n#3 /var/www/html/webroot/includes/core/includes/gamecp/smarty.inc.php(55): Smarty_Internal_Data->configLoad('/var/www/html/w...', 'en')\n#4 /var/www/html/webroot/includes/core/includes/gamecp/settings.inc.php(191): require_once('/var/www/html/w...')\n#5 /var/www/html/webroot/index.php(20): require_once('/var/www/html/w...')\n in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php on line 44
[Fri May 26 00:46:02.600968 2017] [:error] [pid 18219] [client 191.112.166.202:56840] PHP Fatal error:  Uncaught exception 'SmartyException' with message 'unable to write file /var/www/html/webroot/includes/cache/x/wrt5927b30a92ab53.46232119' in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php:44\nStack trace:\n#0 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(199): Smarty_Internal_Write_File::writeFile('/var/www/html/w...', '<?php $_config_...', Object(Smarty))\n#1 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(214): Smarty_Internal_Config->compileConfigSource()\n#2 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_data.php(280): Smarty_Internal_Config->loadConfigVars('en')\n#3 /var/www/html/webroot/includes/core/includes/gamecp/smarty.inc.php(55): Smarty_Internal_Data->configLoad('/var/www/html/w...', 'en')\n#4 /var/www/html/webroot/includes/core/includes/gamecp/settings.inc.php(191): require_once('/var/www/html/w...')\n#5 /var/www/html/webroot/index.php(20): require_once('/var/www/html/w...')\n in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php on line 44
[Fri May 26 00:49:23.827649 2017] [:error] [pid 18220] [client 191.112.166.202:56968] PHP Fatal error:  Uncaught exception 'SmartyException' with message 'unable to write file /var/www/html/webroot/includes/cache/x/wrt5927b3d3ca0084.18353285' in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php:44\nStack trace:\n#0 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(199): Smarty_Internal_Write_File::writeFile('/var/www/html/w...', '<?php $_config_...', Object(Smarty))\n#1 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(214): Smarty_Internal_Config->compileConfigSource()\n#2 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_data.php(280): Smarty_Internal_Config->loadConfigVars('en')\n#3 /var/www/html/webroot/includes/core/includes/gamecp/smarty.inc.php(55): Smarty_Internal_Data->configLoad('/var/www/html/w...', 'en')\n#4 /var/www/html/webroot/includes/core/includes/gamecp/settings.inc.php(191): require_once('/var/www/html/w...')\n#5 /var/www/html/webroot/index.php(20): require_once('/var/www/html/w...')\n in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php on line 44, referer: http://170.239.86.236/
[Fri May 26 00:49:30.354093 2017] [:error] [pid 18219] [client 191.112.166.202:56969] PHP Fatal error:  Uncaught exception 'SmartyException' with message 'unable to write file /var/www/html/webroot/includes/cache/x/wrt5927b3da562cb4.41965138' in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php:44\nStack trace:\n#0 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(199): Smarty_Internal_Write_File::writeFile('/var/www/html/w...', '<?php $_config_...', Object(Smarty))\n#1 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(214): Smarty_Internal_Config->compileConfigSource()\n#2 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_data.php(280): Smarty_Internal_Config->loadConfigVars('en')\n#3 /var/www/html/webroot/includes/core/includes/gamecp/smarty.inc.php(55): Smarty_Internal_Data->configLoad('/var/www/html/w...', 'en')\n#4 /var/www/html/webroot/includes/core/includes/gamecp/settings.inc.php(191): require_once('/var/www/html/w...')\n#5 /var/www/html/webroot/index.php(20): require_once('/var/www/html/w...')\n in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php on line 44, referer: http://170.239.86.236/
[Fri May 26 00:49:34.400343 2017] [:error] [pid 15995] [client 191.112.166.202:56975] PHP Fatal error:  Uncaught exception 'SmartyException' with message 'unable to write file /var/www/html/webroot/includes/cache/x/wrt5927b3de61ad72.92122014' in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php:44\nStack trace:\n#0 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(199): Smarty_Internal_Write_File::writeFile('/var/www/html/w...', '<?php $_config_...', Object(Smarty))\n#1 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(214): Smarty_Internal_Config->compileConfigSource()\n#2 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_data.php(280): Smarty_Internal_Config->loadConfigVars('en')\n#3 /var/www/html/webroot/includes/core/includes/gamecp/smarty.inc.php(55): Smarty_Internal_Data->configLoad('/var/www/html/w...', 'en')\n#4 /var/www/html/webroot/includes/core/includes/gamecp/settings.inc.php(191): require_once('/var/www/html/w...')\n#5 /var/www/html/webroot/index.php(20): require_once('/var/www/html/w...')\n in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php on line 44
[Fri May 26 00:49:35.219862 2017] [:error] [pid 18447] [client 191.112.166.202:56977] PHP Fatal error:  Uncaught exception 'SmartyException' with message 'unable to write file /var/www/html/webroot/includes/cache/x/wrt5927b3df359eb4.05749261' in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php:44\nStack trace:\n#0 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(199): Smarty_Internal_Write_File::writeFile('/var/www/html/w...', '<?php $_config_...', Object(Smarty))\n#1 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(214): Smarty_Internal_Config->compileConfigSource()\n#2 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_data.php(280): Smarty_Internal_Config->loadConfigVars('en')\n#3 /var/www/html/webroot/includes/core/includes/gamecp/smarty.inc.php(55): Smarty_Internal_Data->configLoad('/var/www/html/w...', 'en')\n#4 /var/www/html/webroot/includes/core/includes/gamecp/settings.inc.php(191): require_once('/var/www/html/w...')\n#5 /var/www/html/webroot/index.php(20): require_once('/var/www/html/w...')\n in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php on line 44
[Fri May 26 00:49:36.159846 2017] [:error] [pid 15994] [client 191.112.166.202:56978] PHP Fatal error:  Uncaught exception 'SmartyException' with message 'unable to write file /var/www/html/webroot/includes/cache/x/wrt5927b3e026f548.51819588' in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php:44\nStack trace:\n#0 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(199): Smarty_Internal_Write_File::writeFile('/var/www/html/w...', '<?php $_config_...', Object(Smarty))\n#1 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(214): Smarty_Internal_Config->compileConfigSource()\n#2 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_data.php(280): Smarty_Internal_Config->loadConfigVars('en')\n#3 /var/www/html/webroot/includes/core/includes/gamecp/smarty.inc.php(55): Smarty_Internal_Data->configLoad('/var/www/html/w...', 'en')\n#4 /var/www/html/webroot/includes/core/includes/gamecp/settings.inc.php(191): require_once('/var/www/html/w...')\n#5 /var/www/html/webroot/index.php(20): require_once('/var/www/html/w...')\n in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php on line 44
[Fri May 26 00:49:36.957459 2017] [:error] [pid 16065] [client 191.112.166.202:56979] PHP Fatal error:  Uncaught exception 'SmartyException' with message 'unable to write file /var/www/html/webroot/includes/cache/x/wrt5927b3e0e9b076.94361339' in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php:44\nStack trace:\n#0 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(199): Smarty_Internal_Write_File::writeFile('/var/www/html/w...', '<?php $_config_...', Object(Smarty))\n#1 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_config.php(214): Smarty_Internal_Config->compileConfigSource()\n#2 /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_data.php(280): Smarty_Internal_Config->loadConfigVars('en')\n#3 /var/www/html/webroot/includes/core/includes/gamecp/smarty.inc.php(55): Smarty_Internal_Data->configLoad('/var/www/html/w...', 'en')\n#4 /var/www/html/webroot/includes/core/includes/gamecp/settings.inc.php(191): require_once('/var/www/html/w...')\n#5 /var/www/html/webroot/index.php(20): require_once('/var/www/html/w...')\n in /var/www/html/webroot/includes/smarty/libs/sysplugins/smarty_internal_write_file.php on line 44

archivo en el que tira el error: // deje marcada la linea 44
Código:
<?php
/**
* Smarty write file plugin
*
* @package Smarty
* @subpackage PluginsInternal
* @author Monte Ohrt
*/

/**
* Smarty Internal Write File Class
*
* @package Smarty
* @subpackage PluginsInternal
*/
class Smarty_Internal_Write_File {

    /**
     * Writes file in a safe way to disk
     *
     * @param string $_filepath complete filepath
     * @param string $_contents file content
     * @param Smarty $smarty    smarty instance
     * @return boolean true
     */
    public static function writeFile($_filepath, $_contents, Smarty $smarty)
    {
        $_error_reporting = error_reporting();
        error_reporting($_error_reporting & ~E_NOTICE & ~E_WARNING);
        if ($smarty->_file_perms !== null) {
            $old_umask = umask(0);
        }

        $_dirpath = dirname($_filepath);
        // if subdirs, create dir structure
        if ($_dirpath !== '.' && !file_exists($_dirpath)) {
            mkdir($_dirpath, $smarty->_dir_perms === null ? 0777 : $smarty->_dir_perms, true);
        }

        // write to tmp file, then move to overt file lock race condition
        $_tmp_file = $_dirpath . DS . uniqid('wrt', true);
        if (!file_put_contents($_tmp_file, $_contents)) {
            error_reporting($_error_reporting); // linea 44
            throw new SmartyException("unable to write file {$_tmp_file}");
            return false;
        }

        // remove original file
        @unlink($_filepath);

        // rename tmp file
        $success = rename($_tmp_file, $_filepath);
        if (!$success) {
            error_reporting($_error_reporting);
            throw new SmartyException("unable to write file {$_filepath}");
            return false;
        }

        if ($smarty->_file_perms !== null) {
            // set file permissions
            chmod($_filepath, $smarty->_file_perms);
            umask($old_umask);
        }
        error_reporting($_error_reporting);
        return true;
    }

}

?>
Responder
#2
Las carpetas tienen los permisos necesarios ?
[Imagen: bvpq9q-6.png]

NO DOY AYUDA VIA MENSAJE PRIVADO

* Si requieres algún servicio de pago puedes contactarme vía MP o en mi facebook
Responder
#3
(26/05/2017, 02:25 AM)kikizon2 escribió: Las carpetas tienen los permisos necesarios ?

eso era... muchas gracias Whatdone
Responder


Salto de foro:


Usuarios navegando en este tema: 1 invitado(s)