Redirect or Syntax error
-
My site (basecamplegends.com) mysteriously quit working a couple months ago and I’ve been feverishly trying to restore it. Finally, today, I got it up and running again. I was in the middle of writing a post about how happy I was to have it running again and I went to check another page on the blog – and it went back down. Now, depending on the browser I use, I get different error messages. In Explorer, it tells me this:
Parse error: syntax error, unexpected T_STRING in /home/content/b/a/s/basecamplegend/html/wp-content/themes/BCL_3.0/functions.php on line 1
In Chrome and in Firefox it tells me this:
This webpage has a redirect loop
The webpage at https://basecamplegends.net/ has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.Note that in Chrome, the site is wanting to forward to basecamplegends.net for some reason. I checked my Domain manager, and that isn’t the case. basecamplegends.net forwards to basecamplegends.com – not vice-a-versa. I have searched the forums for an answer and have found many, but haven’t found one to work in my situation. I tried changing the .htaccess file to RedirectEngine Off and that didn’t work. I have contacted my hosting company and they told me basecamplegends.com is not functioning correctly at this time due to a syntax error in my code.
I’ve said all that to say this:
I’ve not changed anything in the files since I had the site running briefly, and I never changed any files to make the site break in the first place 3 months ago. Any ideas as to what is going on? Here is my funtion.php file if anyone can see something amiss in it:[Large code excerpt removed by moderator per forum rules. Please use the pastebin for all large code excerpts. It works better anyway.]
- The topic ‘Redirect or Syntax error’ is closed to new replies.