coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: Aelle on March 28, 2011, 07:11:25 PM

Title: Database Issue, 'Warning your browser does not accept script's cookies'
Post by: Aelle on March 28, 2011, 07:11:25 PM
I've searched on this issue and so far have not found a solution (yes, I have read the other threads, but they were all either out of date or unclear as to how to solve the problem).

I know exactly what happened. Without thinking, I changed the cookie path for my coppermine to /forum/ (because I was trying to bridge with mybb and it wasn't working, so I assumed a cookie issue). Now I can't log in and I get the error mentioned in the title.

I've logged into phpmyadmin and found the table that needs to be changed. The problem is I have no idea how to change it.

I have little to no experience with mysql whatever. Any queries I run are copy pasted. I've tried looking through mysql how-tos but so far they've been no help whatsoever.

If anyone could help, I'd really appreciate it.
Title: Re: Database Issue, 'Warning your browser does not accept script's cookies'
Post by: Nibbler on March 28, 2011, 07:52:17 PM
UPDATE cpg_config SET value = '/' WHERE name = 'cookie_path'

Change cpg_ to the prefix you are using.
Title: Re: Database Issue, 'Warning your browser does not accept script's cookies'
Post by: Aelle on March 28, 2011, 08:06:41 PM
Quote from: Nibbler on March 28, 2011, 07:52:17 PM
UPDATE cpg_config SET value = '/' WHERE name = 'cookie_path'

Change cpg_ to the prefix you are using.

I'm not getting the error anymore...but now it says login failed when I try to sign in.
Title: Re: Database Issue, 'Warning your browser does not accept script's cookies'
Post by: Aelle on March 29, 2011, 02:56:40 AM
Quote from: Aelle on March 28, 2011, 08:06:41 PM
I'm not getting the error anymore...but now it says login failed when I try to sign in.

Nevermind, fixed with a good old fashioned password change. No idea why my old password wasn't working though.