coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: seph1roth on March 16, 2006, 12:23:12 PM

Title: scripts cookies problem
Post by: seph1roth on March 16, 2006, 12:23:12 PM
hi peeps

newbie here so be gentle, i have a problem with my login where it says "warning browser does not accept scripts cookies"

i have tried everything and no luck.

PLEASE HELP   :-[

http://www.aborted.co.uk/gallery.php
Title: Re: scripts cookies problem
Post by: Abbas Ali on March 16, 2006, 12:40:57 PM
That warning is shown if you are visiting login page for the first time or if your browser doesn't allows cookie from the website.

Try to login and see what happens. If it doesn't let you login the allow cookies from your browser settings.
Title: Re: scripts cookies problem
Post by: seph1roth on March 16, 2006, 12:43:47 PM
i have tried setting my browser to accept all cookies but still no luck. the login also fails (i login and it returns to the main page as if i never visited it.)
Title: Re: scripts cookies problem
Post by: Abbas Ali on March 16, 2006, 12:51:44 PM
Post a non-admin test user account please.
Title: Re: scripts cookies problem
Post by: seph1roth on March 16, 2006, 01:25:44 PM
here you go..... :)

user = nbk
pass = toyotarulez
Title: Re: scripts cookies problem
Post by: Nibbler on March 16, 2006, 01:32:42 PM
You need to do your theme properly, only add stuff into your template.html and use valid html.
Title: Re: scripts cookies problem
Post by: seph1roth on March 16, 2006, 01:43:35 PM
Quote from: Nibbler on March 16, 2006, 01:32:42 PM
You need to do your theme properly, only add stuff into your template.html and use valid html.

what you mean, the theme has not change at all except for the grey bar on top which i removed.  ???
Title: Re: scripts cookies problem
Post by: seph1roth on March 17, 2006, 09:15:07 PM
ok problem solved, i dont know exactly what it was but i re-edited the login.php and it works.

thanks peeps ;D
Title: Re: scripts cookies problem
Post by: seph1roth on March 18, 2006, 11:17:01 PM
right i have found why the problem occurs, can someone explain please. i take the login program and insert all the code into a html page (the one you see) but that makes the error. if you use the login.php unedited then it works. how can i overcome this

Oh and sorry for unsolving this thread.  :)
Title: Re: scripts cookies problem
Post by: Nibbler on March 18, 2006, 11:19:54 PM
Don't edit php files, edit your theme's template.html.
Title: Re: scripts cookies problem
Post by: seph1roth on March 18, 2006, 11:21:06 PM
aah ok thanks nibbler