Jump to content

Recommended Posts

Hello All:

 

I have this error at this page - http://www.kardwelldev.com/wristbands/catalog.htm

 

and I am not sure what it means. I am new to php and did not write this program but I need to get it working.

 

I am assuming that it is trying to check something twice in my include. ::)

 

grrr, so frustrating being a newb.  >:(

 

Thanks for any help or advice anyone can give.

 

Paul

Link to comment
https://forums.phpfreaks.com/topic/73031-solved-what-does-this-error-mean/
Share on other sites

Ok,

 

From lines 38-42 I have this

 

if (isset($_SERVER['HTTP_REFERER'])) {

$user_data['ref'] = $_SERVER['HTTP_REFERER'];

} else {

$user_data['ref'] = '';

}

 

So, what you are saying is that I have this again somewhere else?

 

Thanks guys for all your help,

 

Paul

Yeh your doing the same thing twice some where... if you have an include and something similar is in the include then it will still count as occurring twice. Also check if you have an include with an include .... so make sure you check every include till there are no more left and find that function.

the function is already defined in:

/includes/email_validate.inc  started at line 63

 

you probably won't have to define that function again in the catalog.php.

 

simply remove the function from catalog.php and you'll be fine.

i guess two members answer that way  ;D ???

Ok, I found a 'function check_referer'  in the email_validate.inc

 

but the only check referer that I found is in an IF ELSE......

 

when I take it out of the IF ELSE, nothing changes in the error message.

 

I have to be looking at the wrong one or something

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.