Recently set up localhost web Apache2 web server on my mac running mavericks for testing. Everything went smoothly (site up and running, page rendering correctly) until I added a revised version of the html file to the site. The original file runs fine (some D3 data visualization code) but the revised file results in a "permission denied" error. I'd post the full code for both files, but prob too long and person helping with dev is convinced it's not an issue with the file, but one with my sys config. Guidance most appreciated.
This turned out to be a permissions issue on the updated html file. Went to file info and adjusted permissions to match the original html file and it worked.
Related
SOLUTION: Reinstalled Tomcat. I must admit that I didn't solve the details of this problem. Something went wrong. Eventually, it looked like something with the server wasn't working. I never figured it out. But reinstalling the server (actually I upgraded to v9) got it working properly again.
UPDATE: Made a copy of the ROOT directory (Tomcat webapps) and the copy works fine. Then I changed the name of ROOT to a backup and the name of the copy to ROOT. The problem exists with the copy.
Windows 7 Tomcat 8 Java 8
To be honest, I need a hint. I've been running a web shop for several years. Now suddenly I'm getting 404 responses from Tomcat on new images. The images are in the same folders as they have been all along. The most recent test was to simply copy-paste an existing image (which Tomcat serves properly) in the folder and rename it. Tomcat responds with 404 on the copy (but not the original).
I've checked permissions on the image files. The folder has more than 7K images (NTFS) - in theory, that shouldn't be a problem. Just to be sure, I deleted a dozen that were out of date. No change. I ran chkdsk and used a second disk analyzer just in case. The images can be viewed with Microsoft photo-viewer and Paint. I've even save-replaced with Paint - no change. I've tried clearing browser caches and even Tomcat's cache (which doesn't seem to contain images) and set Resources cachingAllowed="false" within the Context tag (context.xml) It seems that my final simple test says everything I know about the problem at this point. Tomcat returns 404 on new images.
Note: Testing is not being done through the web shop software. I simply type the web address of the image in the browser address bar. It's then just a matter of Tomcat serving the image. There are no differences in the addresses except for the image file names.
UPDATE: Ran Malwarebytes ... no evidence of malware at this point. Running Panda full-time.
My squarespace site is in developer mode. I download files, like the .region, .less, and .conf files and edit them locally. I upload these files and expect to see a change on the squarespace site.
Up until yesterday this was working, then I made a mistake in one of the LESS files and got an error about incorrectly parsed JSON in the .conf file where the LESS file was included. I got a whole ton of errors from this, and have since then fixed both the LESS file and the .conf file.
However, the issue is that my squarespace site is now not registering that any changes have been uploaded, despite the fact that my FTP files are successfully being uploaded and downloaded from the FTP server.
I have also not seen any updates to my Git on the developer mode tab since this error was registered.
My question is how to fix this, and how to start seeing edits done locally to region, etc, files again.
You can try to turn off the developer mode and then turn it on back.
I made a modification in a php file and uploaded it via Filezilla. It always worked fine for me, even if sometimes it would not upload immediately. This time, however, it's not working anymore in any way. I upload the file with the same name and it looks like it overwrites the old one, but the size of the file doesn't change. When I open the site on the browser (I've been testing in Chrome and Firefox and already cleaned their caches many times since then, and still nothing happens) and look at the source code, it shows the new code with the modification, but even so the site is still the same old one. When I open the file directly from Filezilla it also shows the modified file, but the file size doesn't change. It started yesterday, before the upgrading to version 3.7.3. It's updated now, but the files are still not being updated. I also tried renaming the file, deleting it from the ftp and uploading again, uploading it to another folder and then moving it to the root, but nothing happens. Any idea of what can be causing this?
It turns out it was a problem with the permissions with the host. I contacted them and the issue was solved.
I am trying to deploy a playframework-based app (play 2). When I run it locally, all is well. When I deploy to heroku, instead of reading the message from the message file, the app just spits out the message name. eg: this code:
#Message("app.title")
results in
app.title
rather than the value in the conf/messages file. Locally, it works fine.
Note that I'm not internationalizing my site, just using the default messages file in order to separate text from code (and maybe internationalize some day :)
The issue was that I had named my file "Messages", which was fine on Mac OS X (case-preserving but not case-sensitive file system), but not okay on Heroku. I realized this pretty quickly and fixed it, but unfortunately, git did not see the fix. I had to delete, commit, re-add and recommit. I suspect a name-change (not just case-change) would have been adequate as well.
Thanks to James Ward (who really answered this question) for the suggestion.
I took a backup of my live Magento site yesterday (zipped up the files and took a DB dump then created the site from those dumps).
Oddly though, on my local machine I get a firebug error that states "$ is not a function" and this error occurs every 500ms or so. So after a minute or 2 I have thousands of errors in the console all the same.
The site is an exact replica of my live site and I don't get the error on that so I'm stumped!
Usually I would think this is a prototype/jquery conflict, but it only seems to happen on my local machine.
Any one have a clue what might be going on?
Thanks
Load a page where you see the error.
View the source of the page.
Find the line that's supposed to load prototype.js by searching for the string prototype.js.
ex. http://magento.example.com/js/prototype/prototype.js
Discover that, for one of myriad reasons, the file isn't loading. (wrong URL, permissions, corrupt file, etc.)
Address problem discovered above.
Ok so this was the problem:
The reason it worked on live and not dev was because I had merge JS enabled on live and not on dev. Live was therefore looking at an old cached bunch of js. Disabling merge js on live highlighted that the problem did in fact occur on the live site.
This knowledge allowed me to debug further and I discovered that the problem lay with my jquery.hove.intent.js file. I updated this to the latest version and it solved everything! :)
Thanks all for your help and input though.