Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Use of undefined constant COOKIE_DOMAIN - assumed 'COOKIE_DOMAIN'

Asked Modified Viewed 1,179 times
A
amigamia
A
  • Junior Member, joined since
  • Contributed 32 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
asked
Junior Member

I have been tons of these errors in the error log since the upgrade to 9.03.00 and didn't go away with 9.03.20.

Authenticate.inc
/infusions/forum/index.php?forum_id=12&sort=subject&viewforum
Line: 462
4 minutes ago

Severity : Run-time notices
Use of undefined constant COOKIE_DOMAIN - assumed 'COOKIE_DOMAIN'


if i remove COOKIE_DOMAIN from: Authenticate::_setCookie(COOKIE_LASTVISIT, $lastvisit, time() + 3600, COOKIE_PATH, COOKIE_DOMAIN, FALSE, TRUE);

it goes away but I am not sure if I need to do that. Any idea?
0 replies

1 post

F
Falk
F
Falk 148
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
answered
Super Admin

You have the definitions made here,
https://github.com/PHPFusion/PHPFusion/blob/Andromeda/includes/classes/PHPFusion/Authenticate.inc#L20-L34

Are you running one or multiple domains? , First part is for multiple.
Also take a look in your site_host table under settings it should be your domain, like here for example www.php-fusion.co.uk
No slashes or anything else but www.domain.com
1 reply

Labels

None yet

Statistics

  • Views 0 views
  • Posts 1 post
  • Votes 0 votes
  • Topic users 2 members

2 participants

F
F
Falk 148
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
A
A
  • Junior Member, joined since
  • Contributed 32 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet