Currently have a Create-React-App project that was successfully deployed on Github Pages. After a few minutes, I refreshed the page and it no longer rendered. I didn't make any changes. Here are the console errors that appear. As well as a link to the repo as well.
photo 1
photo 2
https://github.com/anthonyhem/page
resolved.
Had to change homepage data in the package json to point to the custom domain name.
Related
I have a site hosted on GitHub Pages:
https://mcbridebr.github.io/mysite-hugo/
I have it setup to publish to pages from the docs/ directory in the master branch. When I run hugo it will publish to docs/.
I can bring up the home page just fine. But when I click on Blog it goes to 404. I have a blog post that is blank under content/post/. If I run this locally and access it with localhost:1313 the BLOG link works. I am not sure what is happening here, any advice would be greatly appreciated.
Source Repo: https://github.com/mcbridebr/mysite-hugo
I had to go back and add additional layout index.html files to accommodate for the blog section.
I am trying to use the custom domain https://tahdo.app/ for my GitHub project page found at https://votemike.github.io/todo/
I'm most of the way there. But at the moment, https://tahdo.app/ shows a white screen with a console error of GET https://tahdo.app/todo/static/css/main.3bffc114.chunk.css net::ERR_ABORTED 404.
I assume this means that the https://votemike.github.io is being replaced with https://tahdo.app/ instead of replacing the whole GH Page URL with my custom domain.
I have the 4 A records that GitHub specify, and the CNAME pointing to votemike.github.io as they suggest.
Supplementary info: I'm using create-react-app and gh-pages to deploy to GH Pages
What am I doing wrong?
It turns out I needed to update the homepage field in my package.json file.
Read more about the answer here: https://dev.to/brettcnelson/getting-create-react-app-to-work-with-custom-domains-on-github-user-project-pages-2hp2
In my sitecore instance, (8.2 rev 170407), I'm having an issue viewing the homepage in both my dev enviroment and my staging server. Going to the homepage (the root of the server) redirects to this URL
http://[website]/sitecore/service/nolayout.aspx?item=%2f&layout=%7b00000000-0000-0000-0000-000000000000%7d&device=Default
The message says:
The resource you are looking for (or one of its dependencies) may have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Additional Information:
Requested URL: /
Requested Layout: {00000000-0000-0000-0000-000000000000}
Requested Device: Default
In testing this, I set the Home item to have an alias of /home, which I can visit and see the page looking fine.
This issue began when I set up Helix via the Yeoman script, and built it in VS2015. This is my first Sitecore Site so I handily accept that I made a mistake -- for example when I built the Solution for the first time it overwrote my Web.config. I had a backup of that Web.config and was able to bring the site back online but the Homepage has eluded me.
I've published, and republished. In my naive experience, I find it odd I can see the homepage at /home but not /. Any advice is appreciated, thanks.
I have added 2 pages in the content tree - index & Home Page. It was working fine until yesterday. Unable to preview 'index' in the Content editor (CE) now.
The error message is -
The requested document was not found
However, when I do Tools > Browse > Preview, from Sitecore Rocks, it opens fine. Also, I am able to preview 'Home Page' in CE without issue.
Following Mike's Solution Here, I tried to add the user 'Everyone' and removing 'extranet/Anonymous'. But the changes never Save.
Why does it happen to this page alone. No changes made to web.config and I am using only master DB.
UPDATE:
Here is what I have observed.
When 'index' is placed outside the 'en' folder, it can be previewed. Someone suggested that Sitecore is confused by the folder name with its languages. But renaming it to Test-en, also did not work.
I also tried this. Created 'index' outside 'en' folder. Then created a copy of the same inside the 'en' with the name 'index1'. I can preview index1 now, but if 'index' is deleted, it's the same issue again.
I have seen this happen a few times. On a new instance, I don't believe it is permissions, especially if you are using SIM to install (if you aren't - try it!)
Follow these steps and it should fix your issue. Make sure all instances of your browser are closed. They are known to keep hidden instances running. Stop all those tasks. Restart your IIS instance. Log Into your sitecore site with the magical password. Preview the page. You should be able to preview and in fact get the Experience Editor.
I do agree that Sitecore is confused as to the state of that it is logged in as, that is why it is important to close all browser instances.
If you still get this error, clear your logs. Do the above steps and send me your logs. I will look at them for any oddities.
Happy Sitecoring!
I've deployed my blog to github pages. Index page works fine, but when I click on post page, it forces browser to download file instead of rendering post.
I want to use pretty urls so I've followed middleman docs.
I get this error 'Failed to load resource: frame loading interrupted'
In my config file I have:
activate :directory_indexes
set :relative_links, true
activate :blog do |blog|
blog.prefix = "blog"
blog.permalink = ":year/:month/:title"
end
It works fine locally though. Any idea?
ok so the issue was that files generated after build process were missing extension (html).
Since directory_indexes option is on, you should end up with directory/index.html, where directory's name is actually your blog post name.
To fix it, make sure you add the extension to permalink settings, just like that.
blog.permalink = "{year}/{month}/{title}.html"