(2020-06-26, 06:43:11)sidotij Wrote:(2020-06-26, 06:40:56)denis Wrote:(2020-06-26, 06:28:28)sidotij Wrote:(2020-06-26, 06:16:29)denis Wrote: P.S.
In order to see php errors use GS debug mode.
gsconfig.php
# Turn on debug mode
define('GSDEBUG', TRUE);
some useful info from the debug
Fatal error: Uncaught ArgumentCountError: Too few arguments to function filefputs(), 2 passed in /home/storms/public_html/nailedit/sandbox/plugins/my-template/admin.php on line 641 and exactly 3 expected in /home/storms/public_html/nailedit/sandbox/plugins/my-template/admin.php:31 Stack trace: #0 /home/storms/public_html/nailedit/sandbox/plugins/my-template/admin.php(641): filefputs('/home/storms/...', '<?php \r\n\t') #1 /home/storms/public_html/nailedit/sandbox/plugins/my-template.php(65): require('/home/storms/...') #2 /home/storms/public_html/nailedit/sandbox/admin/load.php(39): my_template_options() #3 {main} thrown in /home/storms/public_html/nailedit/sandbox/plugins/my-template/admin.php on line 31
What version of php and GS?
PHP version is 7.2.31
GS Version is 3.3.16
and thank you for taking the time to troubleshoot this
Try PHP 5.2 - 7.0
Perhaps this is due to changes in the new version of PHP (mabe my filefputs function does not work correctly in PHP version later than 7.0)