I made a website but, webpage is not displaying correctly - hosting

So I built a website from scratch and am really happy about it. I wanted to make it a live version, so I looked for a web hosting company online. I use hostinger.com for my web hosting, however I'm not getting the results I'm looking for.
This is the finish product I made:
image of my index.html
and this is the results I get after I uploaded it to my web hosting provider:
image from live web host
So hostinger has different options for how to upload your website. And I use git because it is easy to use. Now the problem is I don't know if my code is the problem or my web hosting provider.
Thank you for your help in advance.
You can check the website: https://johnmcondino.com

Looks like the website is loading properly now.
Please press ctrl + F5 on windows. May be due to cache assets are not loading.

Related

Ajax not working with laravel project deployment

I know this might be a broad question but i recently finished developing a laravel 5.6 app. I deployed it to a free hosting service (000webhosting) because i wanted the client to be able to preview it remotely from where they are without having to sign up for domains and hosting accounts and all that jazz.
I uploaded it by zipping my project folder and putting it in the directory of the cpanel. I put all the public files (including .htaccess) into the public_html folder and put the rest of the project into the parent directory.
Long story short, everything works fine except for ajax. Other non-ajax CRUD is functional but nothing ajax related works. It all produces 404 errors. The other non-ajax functionalities are in the same controller as the ajax methods! so i know the project is talking to itself. I have jquery library linked to on the hosted google libraries page. Is there some sort of convention that i'm missing that is limiting this functionality? do some web servers block ajax requests? It's working perfectly in my localhost wamp environment. What could i possibly look into to resolve this ajax discrepancy? If it comes to it, i'll pay for hosting, but i just want to make sure this isn't a consistent topic with many host providers where ajax needs to be specially configured or something.
github.com/maximus1127/drive ....this is the github repo. the file in question is drive/resources/views/auditor_pages/application_review.blade.php.
To login the browser, go to https://makemedrive.000webhostapp.com/ login with "aa#aa.com" pw "password". Click the instructors tab on the left, then instructor application, then view details. The "save notes", "background check/received" buttons are all the ajax features of this page and none of them work. They all produce 404 errors. Please help!
Thanks in advance!

Googleusercontent breaking image links in newsletter

We send automatic emails to our customers.
Google is rewriting the email's image links and completely breaking them, giving a 404 error
Google is rewriting to:
https://ci5.googleusercontent.com/proxy/lVDjm7qabVoI9h7Coj2diPm68n9EGr70vaBDLDFWRsy4fPRbABMENW-f24JPGUgCWLdw7bPE5RvA5me4D9vVsS_pec0Xpc1uheArG_tIGk71Hjs=s0-d-e1-ft#http://www.example.com/image.png
404 error
So there is something wrong with the links that are being created by Google or the images are just not being uploaded to the googleusercontent server, but I have no idea how to solve the issue.
After much struggling, I discovered a solution for google injecting its own proxy server image URL.
For me, it was hosting the image privately (on my own server) that was causing the problem. After hosting the image publicly (on Mailchimp's Content Manager, for example) I was able to serve my images much more reliably.
I really hope this helps as it was causing me all kinds of problems.
Good luck!

How to modify an old joomla website to remove a dangerous link flagged by google

A client told me his old website running on Joomla was flagged by google for having links to a malicious website. The website was blocked with the typical red security warning in google Chrome. I redirected the website to a temp page, but my client wants to bring back the old website while we work on something new.
However, my local machine and server are running Windows Server. I have the original files of the website and database. Is there a quick way I could remove the links (the google tool only mentions the website "mosaictriad.com") from the Joomla page from my machine? I've tried doing a crtl+f for mosaictriad.com in the sql file but didn't find anything.
Thanks for your opinion on what I should do next, the objective is simply to quickly clear the website from the security warning and send it back to the people managing his old server.
PS i don't have direct access to his server, only the files associated with his joomla website.
Additional details given my google:
Some pages on this website redirect visitors to dangerous websites that install malware on visitors' computers, including: mosaictriad.com.
Dangerous websites have been sending visitors to this website, including: navis.be and umblr.com.
Yes there is a way. You need to register in google webmaster tools. Register your site. Add the sitelinks. Ask google to rescan your website. They will remove it within 24 hours if scan result is negative for malwares.
Running the virus scanner on your local machine over the files may be able to detect some malicious files.
Alternatively, restore the website to a temporary folder on the web and use a commercial scanning service to help identify and clean the website. I use and recommend myjoomla.com but there are other services such as sucuri.net.
I think your strategy is wrong - you should quickly cleanup the website (try overwriting the core files with files from a fresh Joomla install) and you should then secure the website. Once you do that, you should contact Google through the Webmaster tools for a reconsideration request (this typically takes a few days to process if it's the first offense). Once Google approves your reconsideration request, then the red flag should be removed and the website should be accessible by everyone.

Is it possible to redirect a mobile device user to m.example on Heroku?

I would like to have an app on Heroku, but if an user access www.example using a mobile device he would be redirected to m.example.
In this m.example I would have a website which is designed for mobile devices with a button "view the original website". Clicking there, we would see the www.example website.
Is there any way to do that on Heroku?
Thanks!
Edit: #RunscopeAPITools said Heroku itself is irrelevant to the problem and the important thing is the framework. I am developing with .NET and using MONO on Heroku, as described here .
According to the documentation: "It uses nginx as the web server and runs on Mono 3.2."
Edit2: After RunscopeAPITools, I started to get more infos about how to do that using nginx, I will test this link and post the results as soon as I can
Edit3: tried this approach by uploading a nginx.conf to Heroku. Nothing happened. Looking in Google I read that is it NOT possible to do that with a config file, only directly on my app. Now I am confused. Can I do that or can't I?

Google in-page analytics doesn't work in my ASP.NET MVC 3 Razor website

We've recently launched a new website http://atlascode.com and since the launch I've been unable to get in-page analytics working on the website. Google also claims that my tracking code is not working but I think this is a misnomer.
Whenever I attempt to load in-page analytics I receive the error:
We've identified problems in your setup. These may cause problems loading In-Page Analytics.
Your site doesn't load ga.js from Google.
If you host the Google tracking code on your own servers, it isn't updated automatically and can miss important changes.
We didn't find a tracking snippet on your site. In-Page Analytics cannot load. Please make sure you have tracking installed correctly. If your snippet is included in a separate JavaScript file, you'll have to manually check it is being loaded correctly.
-ENDS-
I've simply copy and pasted the tracking code on to the website and haven't done anything out of the ordinary. I've also checked to make sure that under Web Property Settings my Web property name and default URL is atlascode.com.
Any ideas you guys have really would be welcomed.
EDIT: Added screenshot of Google Analytics error http://min.us/mdqlrhj
Thanks in advance
Simon
Well there's whole buncha people in the web complaining about the same issue.
I've noticed something funny.
Most of developers love to exclude Analytics tracking code for logged in administrators and trying to check out In-Page Analytics while they're logged in. So there's really no any ga.js.
In my experience, this occurred when I hadn't set my default URL to exactly match the URL set in the profile.
Matt
P.S. Someone beat me to your source!
Got the same problem on Magento Enterprise, but solution was pretty simple: GA code just need to be placed before <head> tags. After this simple fix In-Page tracking works perfectly.
Update
Also, be sure you have no framekiller installed in your site.

Resources