Home › Forums › Weaver Xtreme Theme › Internal 500 error from Weaver Xtreme plus, Google can’t find
- This topic has 3 replies, 2 voices, and was last updated 7 years, 2 months ago by
Weaver.
-
AuthorPosts
-
April 22, 2015 at 14:08 UTC - Views: 1 #17647
booth1
ParticipantHi all,
Finaly launched the site I was working on, huge thank you Scrambler for all your help. I am having an issue getting Google to crawl the site and went through support wiith my host (wpengine). We messed around with a number of things involving the robots.txt and sitemap and in the end the hosts found the following issue which they reckon is the problem:“Hey there,It looks like Google may have thought the site is unreachable because your site returns a 500 error:
@macbook:~$ curl -IL -A "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" ally-law.com
HTTP/1.1 500 Internal Server Error
The error logs show the following error whenever we load your page:
[Tue Apr 21 23:14:32 2015] [error] [client 66.162.212.19] PHP Parse error: syntax error, unexpected '<' in /nas/wp/www/cluster-2738/allylaw/wp-content/plugins/weaver-xtreme-plus/includes/weaver_xplus_runtime_lib.php(157) : eval()'d code on line 1
[Tue Apr 21 23:23:26 2015] [error] [client 66.162.212.19] PHP Parse error: syntax error, unexpected '<' in /nas/wp/www/cluster-2738/allylaw/wp-content/plugins/weaver-xtreme-plus/includes/weaver_xplus_runtime_lib.php(157) : eval()'d code on line 1
We’re uncertain what code or actions are being evaluated by Weaver Xtreme Plus, however, disabling the plugin or fixing the code may resolve the 500 Internal Server Error on your site, then Googlebot will be able to crawl your site.”
So when I try and fetch http://www.ally-law.com using google webmaster it gives a a “redirected” status which is fine. When I try and fetch without the www. I get “unreachable”
Any ideas how to fix this? Obviously I can’t deactivate the plugin because it is a major part of the site.
Thanks for your help guys
Tyrhone
April 22, 2015 at 16:48 UTC - Views: 2 #21469Weaver
KeymasterThere is only one reason for that PHP eval error – bad user PHP in the Actions and Filters option.
You’ve added PHP code there that is illegal. It is really beyond the scope of this forum to debug user PHP code.
But from the message, it may be that you copied/pasted code that has translated a < to a <.
April 22, 2015 at 17:27 UTC - Views: 3 #21470booth1
ParticipantYou were dead on Weaver. So the only PHP I added was for a font ( I followed directions form the font site). As soon as I removed that code which I will paster here. Google managed to crawl the site. And from what I can tell the font still seems active. Thanks for the heads up!
April 22, 2015 at 17:43 UTC - Views: 5 #21471Weaver
KeymasterIf you use Weaver Xtreme Plus’s add a font section (Font Control at the bottom of the Fonts & Custom tab), you should be able to add fonts from almost any site there. There are extra instructions in the help, I believe. The big advantage of doing it that way rather than pasting some code elsewhere is that the font will then show up in all of Weaver’s font family lists – you can select the font directly from the pull down options, even in the Page/Post editor page. Very cool feature.
-
AuthorPosts
- You must be logged in to reply to this topic.