简体   繁体   English

Magento-JS / JQuery问题? 添加到购物车并且登录不起作用

[英]Magento - JS/JQuery Issue? Add to Cart and Login Non-functioning

So I have searched around stackoverflow. 因此,我在stackoverflow周围进行了搜索。 We recently took over a client and the site is www.buypipeflanges.com - Site is having the following issues after correcting and updating Magento files for some other issues: 我们最近接手了一个客户,该站点是www.buypipeflanges.com-在更正和更新了一些其他问题的Magento文件之后,该站点存在以下问题:

-Add to Cart doesn't add anything, page refreshes, but nothing is in the cart. -“添加到购物车”不会添加任何内容,页面会刷新,但是购物车中没有任何内容。

-If I enable 1 page checkout and "redirect to cart after adding product" it just goes to "shopping cart empty" page. -如果启用1页结帐并“在添加产品后重定向到购物车”,它将转到“购物车为空”页面。

-Customer cannot log in. Customer just gets circled back around. -客户无法登录。客户只是回圈。

I can find no jQuery conflicts or issues, there is no error showing in "var" cookie lifetime is 86400, I removed the compression of all JS to one file. 我找不到jQuery冲突或问题,“ var” cookie的生存期为86400,没有显示错误,我删除了将所有JS压缩到一个文件的方法。 Nothing fixes the issue. 没有任何办法可以解决此问题。 Even went as far as reinstalling the majority of the core Magento files. 甚至可以重新安装大多数核心Magento文件。 And removing a bunch of plugins to assure it wasn't plugin related. 并删除一堆插件以确保它与插件无关。

Any ideas? 有任何想法吗?

Thanks ahead of time! 提前谢谢!

Also Magento Version is 1.9.1.1 CE Magento版本也是1.9.1.1 CE

I suggest you check your var/session folder for necessary write permissions on your web server user. 建议您检查var / session文件夹,以获取对Web服务器用户的必要写权限。 If Magento is unable to create a new session file (assuming you're using files for session storage and not DB), then it would manifest as the issues you described. 如果Magento无法创建新的会话文件(假设您将文件用于会话存储而不是数据库),则它将显示为您描述的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM