By jag1500 on
I noticed my homepage went blank after i have been working on my site. I created a new page called home1 and went to configuration > system > site information and set the front page to home1. When i visit my site, the homepage is black and when i visit mysite.com/home1, it is blank too. mysite.com/aboutus works so i set the front page to aboutus and mysite.com/aboutus went blank as well. so whichever page is set to front page goes blank while other pages work fine. After setting front page to aboutus, mysite.com/home1 started working, so mysite.com is always blank, whats going on. i spent 2 hours on this and have no idea what happened. I am using Drupal 7
Comments
You need to look in your
You need to look in your Drupal, PHP and Apache error logs to find more information.
Contact me to contract me for D7 -> D10/11 migrations.
Or anything really. I'm friendly, and open to work or conversation.
Hello,
Hello,
Checkout below link, it might be solve your issue.
https://www.drupal.org/node/201872
Enable error reporting
Enable error reporting to your dev site and check the logs.. you can enable error reporting by adding the below code to your settings.php file or index.php file
I tried it but no error is
I tried it but no error is displayed, the page is still blank, all i see is the header image, after that there is nothing, no menu or content
=-=
when you state that no error is displaying and explain what you see when you render the page it sounds like you are only looking at the screen. have you checked the logs on your server?
the follow up question is usually "where are my server logs". The answer is most often ... you must check with your host.
This si what i have from
This si what i have from watchdog
I see that http://vezit.com/ is listed twice for wid 56566, could that be the issue?
also there is page not found for http://www.vezit.com/taxonomy/term/12/all/feed
Screenshot at my dropbox: https://dl.dropboxusercontent.com/u/83502630/2016-07-15-2263.jpg
=-=
watchdog is helpful but isn't your sever logs. If the site is dying before drupal can write to the watchdog log then ......
I am hosting on Godaddy, i do
I am hosting on Godaddy, i do not have access to server logs :(
I did figure out that when i change the theme, the homepage appears. So i think there is problem with the current theme, i may have deleted something while manually editing the styles. I made a new theme but now i have a problem where the new theme is not listed under appearance for me to enable it.
I think i might have deleted
I think i might have deleted the view which displays listing on the front page while i was working with views. do you think this might be the case? If so, which view is responsible for the display and how can i recreate it, such as the name etc for drupal 7
The default front page is not
The default front page is not a view.
Contact me to contract me for D7 -> D10/11 migrations.
Or anything really. I'm friendly, and open to work or conversation.
The problem was with the
The problem was with the theme, i uploaded a new theme and homepage works now.
In my case this was in the CSS of the theme
This is an old post but I came across the same issue in Drupal 8. I created a sub-theme of the mbase contrib theme. This theme attaches the class mbase-child-theme to the body tag and then includes the following css in the 'overrides.css' file in the contrib theme:
This in effect hides the front page content from view!
I hope this helps anyone else that comes across this issue whilst trying to solve this problem!
Rory
So, I was just in exactly
So, I was just in exactly that situation. I had a sub theme of mbase, and my home page content was not displaying. Setting display: unset; fixed it.
A bit later, though, I discovered a setting under the Advanced tab. If you check "Show content region in front page" and save, then your contents will display without having to override the css.