Register (Closed)

Minnimous
Topics: 1
Posts: 8
Rep: 0
If i click on register, nothing happends i will stay on login page please help.

Thanks
2014-01-21 18:04:05
Minnimous
Topics: 1
Posts: 8
Rep: 0
http://prntscr.com/2lbe5u

debug screen
2014-01-21 18:07:55
joejoe20
Topics: 0
Posts: 5
Rep: -1
What URL are you going to?

When i login to the page the debug is turned off (http://www.cdhost.co.uk/my_sites/gangsterlegendsv2/)

*BTW: once Chris writes a move function, i will move this thread to the v2.0 section*
2014-01-22 02:03:31
Chris Day
Topics: 9
Posts: 71
Rep: 32
This is a bug with the forum where i am using the forum name se open a forum and because there are two named support it got put i the top one, ill fix this and add the move button (just have to upload as its already made) then ill get this issue fixed. For now you can add this code to the top of class/page.php

Find
class page {


Add after
public $loginPages = array('login', 'register');

2014-01-22 07:03:56
Minnimous
Topics: 1
Posts: 8
Rep: 0
joejoe - What URL are you going to? = http://localhost/gangster/?page=register

2014-01-22 14:13:30
Minnimous
Topics: 1
Posts: 8
Rep: 0
Thanks, that worked

"public $loginPages = array('login', 'register');"

2014-01-22 14:32:36
joejoe20
Topics: 0
Posts: 5
Rep: -1
Thank You Chris.

Minnimous: sorry i miss understood what you said. Glad everything is working now.
2014-01-22 14:49:16
Chris Day
Topics: 9
Posts: 71
Rep: 32
Yea i have plans to remove that and replace it with the public $loginPage = true; located in the modules template file, just haven't had time yet.
2014-01-22 14:51:58
Minnimous
Topics: 1
Posts: 8
Rep: 0
http://prntscr.com/2lk0ro

http://prntscr.com/2lk0tn

But now, when i load homepage there is alot of errors :(
2014-01-22 14:54:12
Chris Day
Topics: 9
Posts: 71
Rep: 32
The undefined variable b is a bug i used for testing, i thought i removed that before committing, obviously not
To remove it go to modules/loggedin.inc.php and remove echo $b;

As for the user error im not too sure to be honest, i shall look into it.
2014-01-22 15:16:37