I've worked on a html/css for a website based on a theme. It works well on other websites and when I open the index/website in my browsers. But once uploaded to my hosting the first image (intro__bg) doesn't load. Everything else including other images work well though.
Can anyone see how to fix this??
(http://test.ar-cs.co/)
thanks!
/A
I've treid reaching out to my hosting but they were of no help.
The resource http://test.ar-cs.co/images/intro-bg.jpg gives a 403 error meaning access is denied. You probably need to change the permission of the file with chmod 775 images/intro-bg.jpg or configure your web server to allow requests to the images folder.
Related
I'm new to creating webpages, so perhaps this is really easy and I just can't see it. I have a HTML/CSS template that I am modifying for a new site. When I check the index.html file locally (in Dreamweaver or in browsers) it appears correct. When I uploaded them to the server then the website does not load the images and it appears that the styles.css file is not loading correctly. I have attached a few screenshots to get the ball rolling. As always thanks for your assistance.
Desired Output:
Current Output:
This is likely (later confirmed by asker in comment) a file and directory access right problem.
This can be verified by checking the access logs of the http server.
The solution is to update the ownership and permissions of any problem files so that the http server has rights to them. In this case, it is probably the easiest to examine the permissions of the index.html file and related folders and apply the same permission to the problematic files/folders.
When trying to add a link to a downloadable .exe I encounter an error/notice:
'You do not have permission to access this document' instead of downloading it.
This is the anchor:
Here
Using this on .zip and .dmg work fine.
I've found something eslewere, suggestion to add exe|EXE and place this in the .htaccess:
Deny from all
<FilesMatch "\.(html|HTML|htm|HTM|xhtml|XHTML|js|JS|css|CSS|bmp|BMP|png|PNG|gif|GIF|jpg|JPG|jpeg|JPEG|ico|ICO|doc|DOC|docx|DOCX|txt|TXT|rtf|RTF|xls|XLS|xlsx|XLSX|csv|CSV|zip|ZIP|pdf|PDF|exe|EXE)$">
Allow from all
</FilesMatch>
This did not solve my problem, removing for example the PDF from this bit of code, did block the pdf download. But the other way around, adding the exe didn't enable the exe to be downloadable.
It is a WordPress install, but these downloads are not uploaded via WordPress, they are directly placed in the downloads folder.
Kind regards,
Martijn
After more searching, I found someone, posting a simular problem.
The suggested answer (settings with the hosting, not the actual code) there was not the solution.
But did set us on the right path.
Previously simular code was working, but on another server, with a different config.Current domain is done via the Plesk panel.
In the Plesk panel, under the Apache & nginx settings for the domain.
Checking the box: 'Serve static files directly by nginx' solved the issue for me.
I have an issue on fortrabbit which I can't figure out on my own, and google is not of much help either.
I have this website which works fine on the temp domain that fortrabbit gives upon creating the app: App on Dev. Now I have an actual domain for this which is: App on Live, but it shows a 404 page for some reason. The app is configured in fortrabbit to point to the 'public' folder and overall has the same setup as the Dev app, but I still can't figure out why it shows a 404 page.
Thank you!
Found the fix for this. The domain in fortrabbit dashboard had to be set to "www.blackflame.digital", it was set to "blackflame.digital" before, so just had to add the "www" at the beginning.
I have been developing a wordpress theme on my laptop and all is well, however when I checked it on my desktop today all that loads is a blank page. I have asked a couple friends to see if it loads for them and they all say that it does.
I am really not sure how it will not load on this computer, I've cleared the cache/cookies and reset the ip, still blank. I need to figure out what is going on quickly before this is supposed to be done.
The website url is http://bbmthemes.com/themes/modular/, the top left logo should be broken, other than that everything should work.
Can you think of anything that would make one computer not display anything but a blank page or what I could try to fix this?
Thanks so much
EDIT It displays blank in all browsers (firefox, chrome, ie9) on this desktop, and works in all browsers on the laptop. Also, I had already enabled phpconfig and checked for php errors before I noticed this. I had removed all php errors about a week ago and they were only minor things anyway. Very confused. Does it work for you guys even?
Turn on the wordpress debugging in wp-config.php file and run again to check is there any fatal error or not:
define('WP_DEBUG', true);
And be sure that error reporting is On
Maybe you are not in right path. I found this theme on your host refer to modular theme: http://bbmthemes.com/themes/smart/
Very frequent, this kind of problems arise because of the environment differences. You should check whether in php.ini short_open_tag=On is on or not. That might cause the problem. Also if your desktop machine is on the Linux machine php5-mysql package comes separately from php5 package.
Also as already mention you have to check log file.
In Ubuntu the location is - /var/log/apache2
On windows - the same directory where apache2 is installed.
I am using HTML 5 Geolocations API's for tracking location however I am getting the following error on the Geolocation icon in Chrome Browser
"This Page has been blocked from tracking your Location"
I went to the Preferences and Setting's Page but did not find any help.
In my case the problem was that I opened the HTML file from the file system (file:///...). Browsers generally try to prevent accessing personal information (which includes location) from local files, so you have to serve the file through a web server (even if it is local).
One simple way to serve a static website located in your filesystem is SimpleHTTPServer if you have Python installed. Just navigate to the folder using the command prompt, and say python -m SimpleHTTPServer, and then you can view the file on localhost:8000.
Even I was facing the same problem. One of the solution is to open to file in another browser, I tried in Firefox and it worked fine. Another solution is to open the file through your WAMP server (Local host).
There is a good article here about Geolocation API. You have to go to chrome://settings/content and there, you can find Location information. You should be able to find the exceptions and manage them there.