Comments (4)
hi @webdachu,
this looks like a server configuration issue.
If you're using apache, maybe the solution from #16 can help resolve your issue?
from magento2-ordercomments.
not working
from magento2-ordercomments.
I encountered the same problem, you'll probably have to enable PUT method in your Apache.
I use Directadmin in production environment, and so nothing else but this worked for me: https://help.directadmin.com/item.php?id=700
Cheers
from magento2-ordercomments.
I just found that this same issue affected two very similar Magento modules I tried (by Ulmod and by Magecomp): All three modules rely on the HTTP PUT
method, and the fact that I had been blocking it for security reasons is why they didn't work.
In case anyone added a <Limit PUT DELETE>
block to a root-level .htaccess file as a method of cargo-cult security (by copying and pasting from one of the many tutorials and examples on the Web), here's a better way to go about it (assuming no Magento module relies on any HTTP method except for HEAD
, GET
, POST
, and PUT
:
- Replace any
<Limit>
blocks in the .htaccess file in your Magento root with this, outside of any other blocks:
# PUT is required by a module
<Limit GET POST PUT>
order allow,deny
allow from all
</Limit>
<LimitExcept GET POST PUT>
order deny,allow
deny from all
</LimitExcept>
- Include the following block in the .htaccess file in your media directory, and in any other subdirectory that exists on the filesystem and doesn't deal with any checkout code:
<Limit PUT>
order deny,allow
deny from all
</Limit>
(Actually, that very first <Limit>
block, which just allows everything, might not be strictly necessary.) Anyway, I checked the Apache docs, and this syntax works from the current version of Apache (2.4) all the way back to 1.3; if you use some other Web server, the syntax is different but the idea is the same: Make sure that PUT
is allowed in the Magento root and not allowed in certain subdirectories, like media.
from magento2-ordercomments.
Related Issues (20)
- No output, not verbosing HOT 1
- PHP Returns Problem on Magento 2.1.14
- Move comment field to first step HOT 2
- Adding comment in order POST call HOT 1
- composer.json is not compatible with php 7.3 (and so with Magento 2.3.3) HOT 5
- Compatability with Magento 2.3.3 HOT 2
- Cache Comments
- Change css of this extension
- Comment field not showing in checkout HOT 3
- Support Magento 2.4 HOT 1
- Can not add custom translation HOT 1
- Issue at production mode HOT 1
- Managing checkout comment REST API HOT 1
- Unable to save comment with Stripe Payment HOT 2
- Adobe issue with extension HOT 1
- Please add the greek translation
- Arabic Translation
- extension not working for billdesk payment method in magento 2.4.3 HOT 6
- Cannot install extension with PHP 8.2 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magento2-ordercomments.