I am using dragonfly with jruby and apache tomcat to upload images. I am trying to display images that i am uplaoding dynamically using profile_picture.thumb('30x30#').url
When I run the app using ruby on rails, the images are shown properly. But when I run it using apache tomcat, the images are not displayed.
I think as we deploy war file in jruby, the convention profile_picture.thumb('30x30#').url is not working here. I also tried to use match '/media(/:dragonfly)', :to => Dragonfly[:images] in my routes, but was of no use.
I do not get error, but in web page some code is displayed like
"BAhbB1sHOgZmSSIpMjAxMy8wMS8wOS8xMl8xNl80NF83MDNfUGVuZ3VpbnMuanBnBjoGRVRbCDoGcDoKdGh1bWJJIgszMHgzMCMGOwZU"
in page source code i got the path as,
/media/BAhbB1sHOgZmSSIpMjAxMy8wMS8wOS8xMl8xNl80NF83MDNfUGVuZ3VpbnMuanBnBjoGRVRbCDoGcDoKdGh1bWJJIgszMHgzMCMGOwZU
Please help me to know the proper way to display images uploaded using dragonfly in jruby using apache tomcat.
I faced a similar issue. In my case, I tried typing the url in the address bar which gave me a stack trace saying the convert command failed with status 127. Fixed the issue by installing ImageMagick on the machine. I had forgotten to install ImageMagick on the production.
Related
Recently,my server encountered a strange problem. All the previously installed extensions were not loaded when logging in again.
Now we need to reinstall the extension every time we log in. There is no such problem before January 15. What is the reason?
We have tried to restart the server and reinstall the extension. The problem still exists. enter image description here
And I have checked the extensions path, all the extensions are still existed, but vscode doesn't load them, I did not find a similar situation on the Internet, is only I encountered this situation?
enter image description here
I'm using docker-compose to create two containers connected between them. (the images are php5.6-apache and mysql).
Everything is running OK. my problem is when i want to start working. i cant see the typical errors in php. (i always worked on xampp). i've seen a lot of documentation how to enable the debugs but i cant find a solution. I tried to find php.ini but apparently it is not in the apache container. I tried to install xdebug as the documentation...
anyone know how to do it?
I need to do it in php 5.6 as my application doesn't work with newer versions.
I am a newbie to activemq stuff.I tried to run the web demos using the steps mentioned on the site http://activemq.apache.org/web-samples.html and I am getting 404 not found.I googled for the same and tried digging through the logs as well .But my bad , I could not get any clue even from the logs. I even copied the demo folder to the webapps folder but some of the links don’t work.
Kindly help me out with the steps to run these web demos
.\bin\activemq.bat start xbean:examples/conf/activemq-demo.xml - works perfectly fine on Windows 10. start was missing in other answers.
I encounter similar issue in Windows Platform.
The documentation at Getting Started Page or Web Sample Page states how to start the ActiveMQ with examples in Linux/Unix Platform.
There is an minor issue in activemq.bat file as stated in Apache's JIRA. Put double quotes around %ACTIVEMQ_CONF%\login.config fixes this issue.
To Start ActiveMQ in Windows in unzipped apache-activemq-5.9.0 folder use the below command,
.\bin\activemq.bat xbean:examples/conf/activemq-demo.xml
I was able to open http://localhost:8161/demo/ without any Issue.
I ran into the same issue. It seems like
bin\activemq console
is not an option on Windows. I finally got around it by using:
bin/activemq start xbean:examples/conf/activemq-demo.xml
http://activemq.apache.org/version-5-getting-started.html#Version5GettingStarted-ActiveMQ5.9onwards
Im doing some dev work on a dnn module. I was able to build and install a package on my installation of DNN once. I made some changes and wanted to uninstall and reinstall it. Uninstalling went fine. Installing the module again failed by throwing a 404 on the install popup window as soon as i upload the new module zip. I dont see anything logged in the event viewer. Anyone know what can cause this?
Im running DNN 6.2.4
UPDATE: adding more info
the url its 404ing on is: "/Host/Extensions/tabid/36/ctl/Install/rtab/36/portalid/0/Default.aspx?popUp=true"
Im sure this is something unique to my module. I tried installing other modules and they worked fine.
Try hitting F12 in your browser to load the Developer console and see if you can find what the URL is that is 404'ng, that'll make tracking down the issue easier.
Update: Since it appears to be the old "max upload size" issue check out this video for how to fix that part
http://www.dotnetnuke.com/Resources/Video-Library/Viewer/Video/383/View/Details/How-to-increase-the-maximum-file-upload-size-in-DotNetNuke-6.aspx
I am trying to run Joomla on my local machine. I have installed wamp 2.0 and everything installed ok with it and I managed to see it running. I have now come to install Joomla 1.5.18 but I am having a problem with the mootools file on the installation wizard.
When running through the installation process in FireFox with firebug turned on I get errors about the mootools file missing a }. When I view the file through windows explorer it is complete and everything is fine with it but when I click on the error in firebug to see the error the file is truncated which I assume is why it is not working and complaining about a missing }. To test the file I created a test page which pulls in the same mootools file and this works fine (running locally and not through Joomla ).
Does anyone know why this is happening and how to fix it? I think it must be a problem with wamp as like I said the file is fine and runs ok if I run it from the file system, however I know nothing about servers so this is a guess. Maybe a limit on the size of a file which can be returned as the mootools file is around 7000 characters long.
I have tried un-installing both Joomla and Wamp but none this has not worked and I still get the same error. Thanks
I'm just curious, have you tried installing a newer version of Joomla? 1.5.8 is a little bit old and you may have better luck using something a version or two newer. Alternately speaking, if you're not a big fan of installing WAMP and then manually installing Joomla, you can use a Bitnami Joomla stack. Basically, Bitnami installs Apache, mySQL, PHP, and Joomla all in one quick and easy install.
I hope that some of this helps!
I would suggest that your problem is not with the Mootools package but with your template or modules that are loaded in. Can you turn off all of your modules and reenable them one by one until you see the error again?