Dear user, kindly note that Tech Support is free, but please note:
Hi.
I am using this command for cron but seeing this Error in logs.
Server Running
😢 Unexpected result
📃 Error log message
Above
- ⚠️ Check hotfixes first
- ⏳ Ticket response time is within 72-hours if you need a faster response purchase Extra Support
- 🇨🇱 Support is delivered in CLST working hours
- 🚧 Tech Support only covers software issues
Hi.
I am using this command for cron but seeing this Error in logs.
php /data/wwwroot/imagehost/cli.php -C cron
Server Running
- Nginx 1.20.1
- PHP 7.4.21
- MySQL 8.0.25
- Ubuntu 18.04 LTS
😢 Unexpected result
Code:
PHP Warning: Cannot load module 'phalcon' because required module 'psr' is not loaded in Unknown on line 0
[LIST]
[*]Processing removeDeleteLog
[*]Processing deleteExpiredImages
[*]Processing tryForUpdates
[*]Processing cleanUnconfirmedUsers
[*]Processing checkHtaccess
[*]Enforce .htaccess files
[/LIST]
Aw, snap! Internal Server Error [debug @ print,error_log] - https://chv.to/v3debug
** errorId #32d612944e7bdbcf **
[QUOTE]
> ErrorException [0]: file_put_contents(app/.htaccess): failed to open stream: No such file or directory
[/QUOTE]
At /data/wwwroot/imagehost/app/htaccess-enforce.php:33
Stack trace:
#0 unknown file(unknown line): G\errorsAsExceptions()
#1 /data/wwwroot/imagehost/app/htaccess-enforce.php(33): file_put_contents()
#2 /data/wwwroot/imagehost/app/cron.php(112): include('/data/wwwroot/imagehost/app/htaccess-enforce.php')
#3 /data/wwwroot/imagehost/app/cron.php(32): checkHtaccess()
#4 /data/wwwroot/imagehost/app/loader.php(233): require_once('/data/wwwroot/imagehost/app/cron.php')
#5 /data/wwwroot/imagehost/cli.php(36): include_once('/data/wwwroot/imagehost/app/loader.php')
Aw, snap! Internal Server Error [debug @ print,error_log] - https://chv.to/v3debug
** errorId #32d612944e7bdbcf **
[QUOTE]
> ErrorException [0]: file_put_contents(app/.htaccess): failed to open stream: No such file or directory
[/QUOTE]
At /data/wwwroot/imagehost/app/htaccess-enforce.php:33
Stack trace:
#0 unknown file(unknown line): G\errorsAsExceptions()
#1 /data/wwwroot/imagehost/app/htaccess-enforce.php(33): file_put_contents()
#2 /data/wwwroot/imagehost/app/cron.php(112): include('/data/wwwroot/imagehost/app/htaccess-enforce.php')
#3 /data/wwwroot/imagehost/app/cron.php(32): checkHtaccess()
#4 /data/wwwroot/imagehost/app/loader.php(233): require_once('/data/wwwroot/imagehost/app/cron.php')
#5 /data/wwwroot/imagehost/cli.php(36): include_once('/data/wwwroot/imagehost/app/loader.php')
📃 Error log message
Above