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

Varnish's VCL cannot be updated #37

Open
zjevik opened this issue Dec 3, 2019 · 4 comments
Open

Varnish's VCL cannot be updated #37

zjevik opened this issue Dec 3, 2019 · 4 comments

Comments

@zjevik
Copy link

zjevik commented Dec 3, 2019

When I go to Cron container and run php updatenodes.php I get the following error:

Fatal error: Uncaught Error: Call to undefined method Mage::getStoreConfig() in /varnish.php:502
Stack trace:
#0 /varnish.php(340): Nexcessnet_Turpentine_Model_Varnish_Admin_Socket->_command('auth', 200, 'REDACTED...')
#1 /varnish.php(267): Nexcessnet_Turpentine_Model_Varnish_Admin_Socket->_connect()
#2 /varnish.php(517): Nexcessnet_Turpentine_Model_Varnish_Admin_Socket->getVersion()
#3 /varnish.php(162): Nexcessnet_Turpentine_Model_Varnish_Admin_Socket->_translateCommandMethod('vcl_list')
#4 /updatenodes.php(21): Nexcessnet_Turpentine_Model_Varnish_Admin_Socket->__call('vcl_list', Array)
#5 {main}
thrown in /varnish.php on line 502

This might be related to #31 but it was never solved.

Any help is appreciated.
Thanks!

@fballiano
Copy link
Owner

fballiano commented Dec 3, 2019 via email

@zjevik
Copy link
Author

zjevik commented Dec 3, 2019 via email

@fballiano
Copy link
Owner

I'm sorry... I don't use this docker project that often and I forgot about the Nexcessnet_Turpentine_Model_Varnish_Admin_Socket class...

probably the class changed and it's now not compatible with the script, I've to check it out with M2.3.3.

hope to have some time to do that ASAP :-\

@zjevik
Copy link
Author

zjevik commented Dec 3, 2019 via email

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