I have a problem on my website developed with TYPO3. The problem is that CSS files and JavaScript and images not working. So many images and other functionality such as the slider are not working.
This is the first issue: Mixed content: load all resources via HTTPS to improve the security of your site
And this is the other issue: Ensure CORS requesting origin matches resource's allowed origin
The problem is because you have loaded the site through HTTPS protocol and images, CSS and JS files are loaded through HTTP protocol.
You have to set the correct protocol in TypoScript Setup configuration :
config.baseURL = https://www.you-site.com/
Then all your resources will be loaded through this URL.
I think that the CORS problem will also be solved with this configuration.
Related
Buttons on the website are missing their style and that turns them invisible all thought they are still there but white and the customers can't see them.
The error is Mixed Content: The page at 'https://.com/mazhe/obleklo/dolnishta.html' was loaded over HTTPS, but requested an insecure stylesheet 'http://.com/theme_options/css/index/'. This request has been blocked; the content must be served over HTTPS.
Your question was not clear enough for me, but I think you can resolve it with add permissions in .htaccess file.
I am new in TYPO3, I copied a TYPO3 system to localhost so I can develop offline, no my problem is all the link points to the live site. my_live_cite.com
What should I change in the backend to redirect all links and ref to localhost ?
Check and adapt for sys_domain records (see root page PID=0).
See also TypoScript (TYPO3 backend modul Templates) and check/adapt the domain you are looking for to change. Select in TypoScript Template module TypoScript object browser where you can search in constants and setup (configuration) for strings.
Cause of TypoScript can bee different ways, to handle domains. Have a look at config.baseURL and maybe page.config.baseURL
I've been trying to get to bottom of this problem for a few hours but I can't seem to fix it, I've seen other questions similar to this and tried to use those to implement a fix for my problem but to no avail.
I've built a facebook contest canvas app which displays fine independantely but when I link it to a facebook page (as a link to a new contest) chrome no longer displays is and gives the following warning:
The page at 'https://www.facebook.com/contest/app_xxxxxxxx' was loaded over HTTPS, but ran insecure content from 'http://mydomain.com/': this content should also be loaded over HTTPS.
I've learned partly by trawling this site that the chrome security is fussier, and the app loads correctly, without errors in FireFox and IE but I can't find any resources that are loaded from a non https source.
I have been through with firebug checking in the net tab and checked that all of the loaded resources are using https (the png images, the jpg images, the css files and the jquery js files which are all hosted on the same server that has the certificate), I have even tried hosting the transitional dtd doc itself but nothing seems to make the warning go away and the app display correctly.
In the other similar questions it seems that there are either resources sourced from non-https sources or there are ssl switches used in the javascript library for facebook passed before the fb init.
The problem is that I am using only the php sdk not the js one (although I am using version 1.9 of jquery, hosted on my server) and I could find no similar ssl specific settings there.
If someone could give me a tip about how I could investigate further, what I might be missing or is familiar with this issue I'd be interested to hear about it.
Thanks a lot.
David
Facebook requires the app to come from https:// you need an ssl certificate on your server and to enable ssl. in the Facebook app settings change secure url to https://mydomain.com url
I did have a similar issue recently (but it only caused issues on IE10) and I resolved that by adding P3P header
header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT');
Found the solution!
In the facebook app settings, if the page tab url is specific to a page e.g. https://www.mydomain.com/index.php, chrome doesn't complain with the insecure content message but if you reference a directory the error is propogated. I found this confusing since the 'canvas' urls need to be directories.
I hope this answer will save someone a few hours! :)
I built a site out of ZF and installed it fine on my server. I have the MVC structure and use custom routing (for SEO purposes) as below:
mysite.com/controller.html
mysite.com/controller/action.html
Generally, everything is working fine but the only problem is that SE crawlers won't find any .html files. If i open the "Activity" window from Safari, I see all the css and other files being referenced/read fine but not the page itself.
So, the page renders fine on a browser but SE crawlers or any program that made the request won't find the page. I'm wondering if it's an Apache issue. My .htaccess file is the same file that shipped with the ZF.
I really appreciate any advise/suggestions/comments!
Is it possible that your app is serving all pages with a 404 status code? So browsers and crawlers are getting the same thing, but the browser will render the content whereas the crawlers ignore it. I've seen some people use the Error Controller in ZF as a way of doing routing (not a good idea), where the Error Controller 'catches' all requests and then examines the params to determine what to display.
If this isn't your problem please could you edit your question to include:
How it is you know that crawlers are getting a 404
Some more info on how you are doing your routing
Also if you can provide an example URL we can check the headers that are being returned.
I am working Joomla 1.5 . I am unaware of how to set user-friendly Urls to the site in Joomla1.5.
Give suggestions for keeping User-Friendly urls ...
I have changed the configuration for SEO as yes to apache mod_rewrite and Search engine friendly Urls .It changes the url as
http://localhost/joomla/Joomla_1.5.7/publicationsform but it shows me a 404 error and it works only when i put
http://localhost/joomla/Joomla_1.5.7/index.php/publicationsform
how to resolve this .
Also even when i put http://localhost/joomla/Joomla_1.5.7/index.php/publicationsform my css is not getting added..
You must have Apache mod-rewrite plugin enabled.
http://docs.joomla.org/How_to_check_if_mod_rewrite_is_enabled_on_your_server