Coder Social home page Coder Social logo

docker-magento2-cron's Introduction

docker-magento2-cron's People

Contributors

fballiano avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-magento2-cron's Issues

Syntax Error: Missing '"'

Tying to test your update script to update the varnish VCL.

I can get the VCL from Varnish, the config edit is working but when I try and apply the new config the vcl.inline command is failing with a syntax error returned from the varnish server :

Syntax Error: Missing '"'

Any ideas what is causing the syntax error? If I export the generated vcl as txt and do

varnishd -C -f new.vcl

I don't get any errors, so the generated VCL seems to be valid.

Breakign change

Looks like it's not longer working.
-> Turpentine script need Mage:: function not set in your update node (since the contenaire pull /master/ file
---> I used this one instead in the past to make it works; https://raw.githubusercontent.com/nexcess/magento-turpentine/e419a546dc81982d30142acd6c1283eaf9dbb438/app/code/community/Nexcessnet/Turpentine/Model/Varnish/Admin/Socket.php

->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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.