I have created a website using css, js and jquery, and everything works fine on my local machine, but after uploading it to the server, it was only reading the index.html file, leaving out the css and js. Below you can see the website's structure, after being uploaded to the server, on FileZilla.
enter image description here
I have decided to delete everything, re-check the paths and upload them again, but now all I get is a "403 Forbidden" message, saying that "You don't have permission to access / on this server."
Check file permissions of all the files.
Triple check file paths
/www/style.css
./www/style.css
^ Notice this dot
The above are two completely differnet paths. My guess is, that the second one is the correct one and should lead to style in your specific example
I've got trouble with shared links pointing to ZIP files. Even though I am still able to download the ZIP file, I've got a message saying "A problem occurred with the file preview".
This message is displayed only when I am not authenticated and only with ZIP files in my case. If I am authenticated, the preview does work fine.
Anyway, to proceed with the download directly and not use the preview at all ?
D?
I'm having an issue with a local .HTML file.
Everytime I try opening it on ANY browser and on ANY computer it does not work, it opens normally for a brief second and then I get the screen saying the file path could not be found. If I spam refresh fast enough I can read the first lines.
The .HTML file has been extracted from a .war file.
If I copy the code into a new file and open that one, it opens up nicely.
The weird that got my attention was the path for the files themselves on the browser
The one directly extracted from the .war file is as follows:
file:///C:/Users/username/Desktop/New%20folder/help/User_Guide.html?1userhelp.html
but there is no file "User_guide.html" on the folder
If I create the same file just under the desktop directory it opens up without problems, so the issue is not the content of the file itself.
Does anyone have an Idea to what may be causing this problem?
As suggested by SunnyPatel
We aren't sure which OS you are using, and so case-sensitivity may play a part in this. If you're on Windows, you can try viewing the parent folder in the browser, and see if you can click on the file within the default index page and open it from there
Opening the file by first going into "/index.html" worked just fine. The whole navigation flows perfectly, the issue was just me trying to open the file directly.
I just installed a fresh copy of Magento 1.9.2.3. Now my issue is when I try to upload any images, be it product, category, transactional email, ect. it gives me the little broken image placeholder. Now the steps I have tried so far:
Changed \media folder to 777
Flushed all Cache (Magento and images)
Read endless questions on similar issues but to no avail.
This is happening in the frontend and Admin
I have checked the link it creates to the image and when I put that in the address bar it gives me a "404 not found" error.
I have checked that the image is indeed uploaded to the folder that the site is pointing to.
Note: I have had Magento running on this server previously, but it is one to two versions older.
URL is http://southernperformanceparts.com - In case you want to take a look
Screenshot
Can anyone give me some direction here.
Thank you in advance.
Seems to be a right problem.
Are the images set to 644?
You could change your Uploader.php (lib/Varien/File)
search for "chmod($destinationFile, 0640);" and change it to 0644
and search for
"if (!(#is_dir($destinationFolder) || #mkdir($destinationFolder, 0750, true)))" and change it to 0755
In the future the images should get the correct rights after uploading.
I have a chm file that I can open at home. I use windows XP at home and at work. However, when I open the file at work it doesn't show the contents of the file. It properly shows the TOC for the file though. Any ideas pls?
Try to right-click on your chm file and select properties. You will see an "Unblock" button. Click on it, it should solve your problem.
Other than what Nicolas suggested, you may not be able to see contents of a CHM that you open over a UNC path. If that is the case copy the file to a local drive.
just go to power shell and run it as administrator,
cd your folder
and use the following command
Unblock-File '.\filename.chm'
On Windows 7 copying the file locally and unchecking the file opening warning message worked.
I had the same situation, on a Windows 10 (VMware) system. I had to move the file to a local drive as suggested by another poster AND THEN uncheck the file opening warning message. Opening the file gave a "Open File - Security Warning" message, with a checkbox at the bottom "Always ask before opening this file". Until I unchecked that box, only the TOC showed. After unchecking, the contents showed properly. HTH someone else!
Open command prompt and run as administrator.
Go to file location, input the file name and press enter.
It should open the file and view contents in chm viewer.
More read at: http://langbasics.blogspot.in/2014/12/chm-viewer-unable-to-show-contents.html
Thanks
It appears a lot of people have this problem but were unable to track down a solution. There are apparently different levels of authentication. Most articles I read tell you to set the MaxAllowedZone to '1' which means that local machine zone and intranet zone are allowed but '4' allows access for 'all' zones.
For more info, read this article:
https://support.microsoft.com/en-us/kb/892675
This is how my registry looks (I wasn't sure it would work with the wild cards but it seems to work for me):
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]
"MaxAllowedZone"=dword:00000004
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]
"UrlAllowList"="\\\\<network_path_root>;\\\\<network_path_root>\*;\\ies-inc.local;http://www.*;http://*;https://www.*;https://*;"
As an additional note, weirdly the "UrlAllowList" key was required to make this work on another PC but not my test one. It's probably not required at all but when I added it, it fixed the problem. The user may have not closed the original file or something like that. So just a consideration. I suggest try the least and test it, then add if needed. Once you confirm, you can deploy if needed. If the 'Unblock' method does not work, or you do not see the option, this should. Good Luck!
P.S. Another method that worked was mapping the path to the network locally by using mklink /d (symbolic linking in Windows 7 or newer) but mapping a network drive letter (Z: for testing) did not work. Just food for thought and I did not have to 'Unblock' any files. Also the accepted 'Solution' did not resolve the issue for me.
Your CHM File Has the "#" Hash Character in the Filename or in the Directory Name. Please remove "#" and you will be able to see the content. If still you are not able to see then please visit following link: https://www.helpsmith.com/chm-cannot-be-displayed.php
Windows block *.chm files came from another computer fore security reason. Click right mouse button on file and set unblock checkbox see.
If someone need, there is a web page: http://topdf.com/ where is possible convert a chm in to pdf. I tested it with a chm of ~18MB and 615 pages. I was able to got a pdf with a hyperlinked contents table.
I was experiencing the same problem.
I read that the .chm file only worked on NTFS.
My file was on a cloud network drive which is not NTFS, so I copied it locally and the problem was gone.
Use SumatraPDF. It opens .chm files.
I had same problem and zipped the file then open it from inside the zip program.(I use 7-zip)