Coder Social home page Coder Social logo

i got an issue with the login about aoe_static HOT 5 CLOSED

fbrnc avatar fbrnc commented on July 29, 2024
i got an issue with the login

from aoe_static.

Comments (5)

fbrnc avatar fbrnc commented on July 29, 2024

Hi,

this bug was reported before and actually I can reproduce it on the demo instance http://varnish.demo.aoemedia.de/.

Also check the comments on http://www.fabrizio-branca.de/make-your-magento-store-fly-using-varnish.html for this problem.

Without having digged into that deeper I expect the problem to be in the session handling via ajax. As soon as I have a solution I will update this repository and leave a note here . (But that might take a while, as I have some other higher priority tasks).

If you might come across a solution earlier please tell me, and I will include that into the module.

from aoe_static.

tclass avatar tclass commented on July 29, 2024

ok thx for your reply, if i find the problem I'll inform you.

from aoe_static.

ccondrup avatar ccondrup commented on July 29, 2024

I think this might be due to Magento and Varnish having different ports. This will fail the same origin policy (see SOP and JSONP).

Try setting the cookie domain for Magento. SQL:

SELECT * FROM core_config_data
  WHERE scope_id=0 AND path='web/cookie/cookie_domain';

If you get NULL, update your setting:

UPDATE core_config_data SET value = 'myshop.com'
WHERE scope_id=0 AND path='web/cookie/cookie_domain';

from aoe_static.

devzorg avatar devzorg commented on July 29, 2024

What about ... ?

Starting HTTP accelerator: varnishd failed!
Message from VCC-compiler:
Unknown variable 'req.hash'
At: ('input' Line 8 Pos 9)
set req.hash += req.url;
--------########------------

Running VCC-compiler failed, exit 1

VCL compilation failed

Varnish 3.0.3

from aoe_static.

lukvdborne avatar lukvdborne commented on July 29, 2024

I was able to fix or work around this problem by setting 'web/cookie/cookie_httponly' to 0.

Set "System" ==> "Configuration" ==> "Web ==> Tab "Session Cookie Management" ==> "Use HTTP only" to "No". Hope this helps!

from aoe_static.

Related Issues (9)

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.