Site Experiencing Error 500 upon Initiating Activity on Extension Manager.
I've attached the error-log
, php flarum info
and error at browser console
at below.
I've been experiencing this Error 500 issue since last few days. Just now, I've request my host to initiate composer install
again followed by php flarum cache:clear
again for the 3rd time. Upon initiated, The site was back normal and i checked my files the autoload.php
file was there in the vendor
folder. However, Upon accessing as an administrator and start working on the extension manager, The site produced an error [Oops something went wrong...], managed to capture the error produced at the browser console and upon reloading the page, it became inaccessible again with the same http error 500. When i checked my vendor
folder again, I realized the autoload.php
file is missing again. Which probably means, every time composer install
is initiated the autoload.php
is there but then it would disappear right after that.
Here is the Latest error-log
:
[29-Feb-2024 06:44:49 UTC] PHP Warning: require(/home/kstech/public_html/forum/vendor/autoload.php): Failed to open stream: No such file or directory in /home/kstech/public_html/forum/site.php on line 22
[29-Feb-2024 06:44:49 UTC] PHP Fatal error: Uncaught Error: Failed opening required '/home/kstech/public_html/forum/vendor/autoload.php' (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/kstech/public_html/forum/site.php:22
Stack trace:
#0 /home/kstech/public_html/forum/index.php(10): require()
#1 {main}
thrown in /home/kstech/public_html/forum/site.php on line 22
Here is the Output of php flarum info
:
Flarum core: 1.8.5
PHP version: 8.1.27
MySQL version: 5.7.44-cll-lve
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, readline, Reflection, SPL, session, standard, bcmath, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, imap, intl, exif, mysqlnd, odbc, PDO, Phar, posix, SimpleXML, soap, sodium, sqlite3, tidy, tokenizer, xml, xmlwriter, xsl, zip, mysqli, pdo_mysql, PDO_ODBC, pdo_sqlite, xmlreader, i360, Zend OPcache
+--------------------------+---------+--------+
| Flarum Extensions | | |
+--------------------------+---------+--------+
| ID | Version | Commit |
+--------------------------+---------+--------+
| flarum-flags | v1.8.0 | |
| flarum-approval | v1.8.1 | |
| flarum-tags | v1.8.0 | |
| flarum-suspend | v1.8.1 | |
| flarum-subscriptions | v1.8.0 | |
| flarum-sticky | v1.8.0 | |
| flarum-statistics | v1.8.0 | |
| flarum-pusher | v1.8.0 | |
| flarum-mentions | v1.8.3 | |
| flarum-markdown | v1.8.0 | |
| flarum-lock | v1.8.0 | |
| flarum-likes | v1.8.0 | |
| flarum-lang-english | v1.8.0 | |
| flarum-extension-manager | v1.0.3 | |
| flarum-emoji | v1.8.0 | |
+--------------------------+---------+--------+
Base URL: https://kstech.tech/forum
Installation path: /home/kstech/public_html/forum
Queue driver: sync
Session driver: file
Mail driver: smtp
Debug mode: off
Here is the Browser Console Error
: