Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slim Application Error #95

Open
3 tasks done
RustyRekts opened this issue Jul 3, 2020 · 1 comment
Open
3 tasks done

Slim Application Error #95

RustyRekts opened this issue Jul 3, 2020 · 1 comment

Comments

@RustyRekts
Copy link

RustyRekts commented Jul 3, 2020

  • I'm submitting a ...
    • support request

Support Request

  • Details of your issue?
    Displaying Error - Slim Application Error

  • Please tell us about your environment:
    Arma 3 roleplay server,
    Server is running CentOS 7 with Plesk 18.0.28

  • CyberWorks 3 Version:
    1.1.4 - Latest

  • Checklist

    • Attached Relevant Logs
    • Screenshots
  • Other information

Logs:

[Fri Jul 03 19:22:35.866670 2020] [proxy_fcgi:error] [pid 5328] AH01071: Got error 'Primary script unknown'
[7:20 PM]
primary script unknown(edited)
[7:21 PM]
Got error 'PHP message: Slim Application Error:\nType: Error\nMessage: Class 'Twig_Extension' not found\nFile: /var/www/vhosts/reduxroleplay.com/cpredux/app/Extension/TranslationExtension.php\nLine: 7\nTrace: #0 /var/www/vhosts/reduxroleplay.com/cpredux/vendor/composer/ClassLoader.php(444): include()\n#1 /var/www/vhosts/reduxroleplay.com/cpredux/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile()\n#2 [internal function]: Composer\Autoload\ClassLoader->loadClass()\n#3 /var/www/vhosts/reduxroleplay.com/cpredux/bootstrap/app.php(81): spl_autoload_call()\n#4 /var/www/vhosts/reduxroleplay.com/cpredux/vendor/pimple/pimple/src/Pimple/Container.php(118): {closure}()\n#5 /var/www/vhosts/reduxroleplay.com/cpredux/vendor/slim/slim/Slim/Container.php(109): Pimple\Container->offsetGet()\n#6 /var/www/vhosts/reduxroleplay.com/cpredux/vendor/slim/slim/Slim/Container.php(164): Slim\Container->get()\n#7 /var/www/vhosts/reduxroleplay.com/cpredux/app/Core/Middleware/csrf/CSRFViewMiddleware.php(11): Slim\Container->__get()...'

Screenshot:

ae544b2eb099ef0683729ac9ffacbc1f

this is when i try going to my subdomain i have setup, "https://cp.reduxroleplay.com/public". I cannot manage to find out what the issue is, could someone please help?

@UltimateByte
Copy link

Hello,
Server sysadmin here.
It should be noted that the server is running CentOS 7 with Plesk 18.0.28.

Composer dependencies were installed via Plesk, and install went OK. Other apps are using it on the server with no issues.

image

With PHP 7.1 and 7.2, the error shortens that way:

2020-07-03 21:04:09 | Error | x.x.x.x |   | AH01071: Got error 'PHP message: PHP Fatal error:  Class 'Twig_Extension' not found in /var/www/vhosts/reduxroleplay.com/cpredux/app/Extension/TranslationExtension.php on line 7\n' |   |   |   | Apache error

Any help appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants