Ok guys.
I've changed the line for banned accounts (put to 2), and this happened:
When I log in my test account:
http://i.imgur.com/9E1xLG6.png
After I click at General -> Home, this happens:
http://i.imgur.com/Vf7nkF7.png
Any solutions?
Printable View
Ok guys.
I've changed the line for banned accounts (put to 2), and this happened:
When I log in my test account:
http://i.imgur.com/9E1xLG6.png
After I click at General -> Home, this happens:
http://i.imgur.com/Vf7nkF7.png
Any solutions?
It is removed from the website code.
Search this:
and replaceCode:li class="top">
If you do not understand even the HTML and PHP why you web site?Code:<li class="top">
That site layout is so ugly.
Then I probably used another version...
http://i.imgur.com/PvozOHJ.png
Move the menu to the left as that felt better. Anyway I developed on this and I'm pretty far however still loads to do.
The problem wasn't the li top stuff.
Also, I've fixed that line (really forgot to fix that before sending the printscreen).
http://i.imgur.com/LHcRG09.png
If this line is like this:
if($gebruiker['account_code'] == 0) header('Location: banned.php');
Every account that I create is redirected to banned. No exceptions.
And as you can see:
http://i.imgur.com/FzSKCyI.png
At my DB, account_code is 1. So those accounts shouldn't be banned, but when "gebruiker['account_code'] == 0", they get banned.
And if I put that line like this:
if($gebruiker['account_code'] == 2) header('Location: banned.php');
The problem at my screenshot happens.
Any solutions?
With me it's a localhost error has occurred. Once you have uploaded the files to the host there has been good.
Attachment 138927
i got this problem
(i already change inc/config.php ==== db login. anddbdatabase)