Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirection Error #1159

Closed
Divyesh71 opened this issue Sep 7, 2018 · 2 comments
Closed

Redirection Error #1159

Divyesh71 opened this issue Sep 7, 2018 · 2 comments

Comments

@Divyesh71
Copy link

Plugin: 3.4
WordPress: 4.9.8 (single)
PHP: 5.6.30
Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
JavaScript: http://www.wintechpcs.com/wp-content/plugins/redirection/redirection.js
REST API: http://www.wintechpcs.com/wp-json/

Error: Unexpected token < in JSON at position 0
Action: redirection/v1/redirect/ POST
Params: {"id":0,"url":"http://wintechpcs.com/cell-phone-repair.php","title":"","regex":false,"match_type":"url","action_type":"url","position":0,"group_id":1,"action_code":301,"action_data":{"url":"/repair/cell-phone-repair/"}}
Code: 500 Internal Server Error
Raw: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>500 (Internal Server) Error - We've happened upon a bit of a problem...</title>

<link href="http://p3nlhclust404.shr.prod.phx3.secureserver.net/SharedContent/404-etc-styles.css" rel="stylesheet" type="text/css" media="screen" />

</head>

<body>

	<div class="body-500">
		<h1>
			<span>We've happened upon a bit of a problem...</span>
		</h1>
		
		<div class="info-container">
			<div class="inner-border clear-fix">
				<h2 class="info-top">
					500 (Internal Server) Error
				</h2>
				
				<h3>
					...that we're working furiously to correct. Things will be up and running again soon. Thanks for your patience.
				</h3>
			</div>
		</div>
	</div>

</body>
</html>

@YipYup
Copy link

YipYup commented Sep 8, 2018

If the issue doesn't go away, it's possible you created a redirect that is catching your own API call. You can disable redirection by moving the plugin folder out of the /wp-content/plugins. Move it up a directory to disable it temporarily, check your site, and if it works, then you can be sure you had created a bad redirection. You can put the plugin back in place and continue debugging -- check your mysql tables with phpmyadmin and you can disable whatever redirect you think is doing it by editing the column manually. Good luck.

@johngodley
Copy link
Owner

Closing for now, please reopen with more information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants