Jump to content

Error during admin login


Guest groaningeek

Recommended Posts

Guest groaningeek

Hello, when I try to log in to my admin area, i get the following error message:

Fatal error: Call to undefined function: treatget() in /home/safety/public_html/shop/admin/login.php on line 74

When i go to the admin login page, this is the url in the browser:

http://www.safetyfirstweb.com/shop/admin/login.php?goto=/shop/admin/index.php?

If i change it to be:

http://www.safetyfirstweb.com/shop/admin/index.php?

I can then get in to the admin area fine.

I have never had this problem before.

This is the function call in the login.php file:

if(isset($_GET['goto']) && !empty($_GET['goto'])){

header("Location: ".urldecode(treatGet($_GET['goto'])));

} else {

header("Location: ".$GLOBALS['rootRel']."admin/index.php");

}

Any help would be much appreciated!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...