globalzon / yaamp

Crypto mining pool
107 stars 1.01k forks source link

install last version #29

Open safetylab opened 6 years ago

safetylab commented 6 years ago

2018/03/08 00:48:12 [error] 25565#25565: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Cannot redeclare SiteController::actionAdmin() in /var/web/yaamp/modules/site/SiteController.php on line 571" while reading response h eader from upstream, client: server: pool.ipostav.com, request: "GET /site/common_results HTTP/2.0", ups tream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "dom.com", referrer: "https://dom.com/ site/common Can you fix this?

goodthebest commented 6 years ago

I can install and fix for you, get in touch with me. Yaamp has not updated since 3 years.

turnyay commented 6 years ago

I'm getting this error as well, @goodthebest what is your solution?

goodthebest commented 6 years ago

@turnyay I can make it work for you, contact me via telegram @goodthebest or skype: onlinebuybiz@gmail.com

raoulduke commented 6 years ago

The error indicates the function actionAdmin() has been declared twice, maybe in two different files or twice in the same file. It could also mean the file in which your function is defined was included twice.

turnyay commented 6 years ago

thanks yeah just found that out.

Using this install script (https://github.com/xavatar/yiimp_install_scrypt) I used "admin" as the admin panel and it replaced function actionAdminRights() with actionadmin() when there was already a actionAdmin() function on line 571.

Thank you for your response!