Community Forums › Forums › Archived Forums › General Discussion › Activating Genesis Causing 500 Server Errors?
Tagged: error page, genesis
- This topic has 5 replies, 2 voices, and was last updated 7 years ago by ComicBookHerald.
-
AuthorPosts
-
March 24, 2017 at 4:19 pm #203791ComicBookHeraldMember
About one week ago, my site (comicbookherald.com) began experiencing intermittent 500 internal server errors. After a whole lot of trial and error (and plenty of phone calls with my hosting company), the only thing that has stopped the errors (and the associated "exceeding processes on server" issue) is deactivating Genesis and child theme.
With a standard WP 2017 implemented, my site is up and running with no errors.
Thing is... I'd really like to use Genesis and my child theme (Metro Pro). When I try to reactive, the problem returns. I've even deleted the files from my themes and reinstalled fresh downloads, but the problem returned within minutes.
Any thoughts on what might be causing this or how I can fix?
Appreciate any and all help!
http://www.comicbookherald.comMarch 25, 2017 at 6:07 am #203803Victor FontModeratorYou have an apparent plugin conflict. This is from the source code on your site:
<script>window.mrf={host:"b.marfeel.com",dt:3},function(e,t,o,a,i,r,n){function d(){l&&(e.cookie="fromt=yes;path=/;expires="+new Date(Date.now()+18e5).toGMTString(),o.reload())}var l=!/marfeelgarda=no|fromt=yes/i.test(r+";"+i);if((/(ipad.*?OS )(?!1_|2_|3_|4_|X)|mozilla.*android (?!(1|2|3)\.)[0-9](?!.*mobile)|\bSilk\b/i.test(a)&&2&n.dt||/(ip(hone|od).*?OS )(?!1_|2_|3_|4_|X)|mozilla.*android (?!(1|2|3)\.)[0-9].*mobile|bb10/i.test(a)&&1&n.dt||/marfeelgarda=off/i.test(r))&&t===t.top){l&&e.write('<plaintext style="display:none">');var s="script",m=setTimeout(d,1e4),c=e.createElement(s),f=e.getElementsByTagName(s)[0];c.src="//bc.marfeel.com/statics/marfeel/gardac.js",c.onerror=d,c.onload=function(){clearTimeout(m)},f.parentNode.insertBefore(c,f)}}(document,window,location,navigator.userAgent,document.cookie,location.search,window.mrf);</script> <!DOCTYPE html> <html lang=en-US class="no-js no-svg"> <head>
You have something on your site injecting all of that JavaScript before the doctype declaration. There should never be anything inserted before the doctype declaration. Doctype is the first line of executable code for HTML.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?March 25, 2017 at 6:10 am #203804Victor FontModeratorIf you view the source code on your site, you have a large injection of JavaScript before the HTML doctype declaration. There should never be anything written before doctype. Doctype is the first line of executable HTML. You've either been hacked, have a bad plugin, or added code in the wrong place.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?March 27, 2017 at 4:48 pm #203920ComicBookHeraldMemberHi Victor,
Thanks for the reply!
That script is something I've been using to implement Mobile design/ads. It is intentional, although I gather I should insert via <head> instead.
I did try removing that code, and was still having issues with Genesis activation. Could it be something else?
March 27, 2017 at 5:03 pm #203921Victor FontModeratorIt can always be something else. Tackle just one issue at a time. The code is still there. It should be in the head. There shouldn't be anything before doctype.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?March 27, 2017 at 5:55 pm #203930ComicBookHeraldMemberCode is removed, and all plugins deactivated. I reactivated Genesis and child theme. Monitoring closely...
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.