->When this done, the script complain because he want varnsih 4 max.
-----> I added switch case for varnish 5 in the varnish.php script
Then, thing crashs somehow (the reason looks like he doenst like the VCL file, the helper function call missign is in a error catching if statement of updatenode.php script):
root@221ca466512a:/# php updatenodes.php
Fatal error: Uncaught Error: Call to undefined method Mage::helper() in /varnish.php:496
Stack trace:
#0 /varnish.php(163): Nexcessnet_Turpentine_Model_Varnish_Admin_Socket->_command('vcl.inline', 200, 'autogenated1564...', 'vcl 4.0;import ...')
#1 /updatenodes.php(62): Nexcessnet_Turpentine_Model_Varnish_Admin_Socket->__call('vcl_inline', Array)
#2 {main}
thrown in /varnish.php on line 496
Any help, explanation or sample is appreciate. I'm lost at this moment on how to fix that