Comments (2)
Hi tgmichel,
I use this bundle on many projects on production and never noticed an issue
(differences between environments) like this.
When you say "moving to production" you want to say that it works on
another server or just differences between app_dev.php and app.php
I think you have an htaccess issue if you were seeing app.php in urls. Did
you add symfony's htaccess ?
Can OMUR
[email protected]
+33 (0)6.79.66.58.28
2014-09-23 17:35 GMT+02:00 tgmichel [email protected]:
While moving the project to production i noticed that the POST after
uploading an image returns 404. The not-found path is defined in routing.ymlcomur_api_upload:
pattern: /uploadIn debug_mode everything works just fine, at both local and external
server, but in production mode the error is thrown.Anyone knows what could be the problem? Just in case is relative to the
issue, i also added a rewrite rule to get rid of the "app.php" part of the
url.Thanks, Telmo
—
Reply to this email directly or view it on GitHub
#15.
from comurimagebundle.
Thanks for your time and for the quick response.
After checking carefully i saw Apache was adding a trailing slash at the end of the upload URL, i changed /upload to /upload/ in the comur_api_upload pattern and now it is working.
from comurimagebundle.
Related Issues (20)
- Remove dependency on dev/master of jms/translation-bundle HOT 1
- JSON Parse Symfony 3 HOT 1
- Does the bundle support ajax? drag and drop feature?
- Unexpected token U in JSON at position 66 HOT 1
- data.result.image_upload_file is undefined in comur.imagelibrary.js:67:1 HOT 1
- How to upload a simple Image widget with ComurImageBundle? HOT 1
- unable to upload on php7.1 due to notice HOT 3
- Support of Symfony 4.0 HOT 3
- how upload image to database any help please!! HOT 1
- Nothing happens when selecting an image HOT 1
- Can we have a new release? HOT 1
- Add alt text for image
- Symfony flex support HOT 3
- Support Symfony 5.x HOT 13
- Remove dependency on jms/translation-bundle
- Remove dependency on deprecated module twig/extensions
- composer command not installing ComurImageBundle HOT 1
- Any plans to keep updating?
- conflict with requirements symfony form (composer) HOT 1
- Amélioration du module HOT 4
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 comurimagebundle.