• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Players can't login @ website

Solution
you must include login.php in your subpages array in sub.php :p it should look like this

PHP:
20 $subpages = array(
21     // website.com/sub.php?page=blank
22     'blank' => array(
23         // layout/sub/blank.php
24         'file' => 'blank.php',
25         // false means don't run this file instead of the regular file at website.com/blank.php
26         'override' => false
27     ),
28     'houses' => array(
29         'file' => 'houses.php',
30         'override' => false
31     ),
32     'downloads' => array(
33         'file' => 'downloads.php',
34         'override' => false
35     ),
36 );
37 ?>

try to add like
32 'login' => array(
33 'file' => 'login.php',
34 'override' => false
35 ),
and tell me...
It seems that you are missing a pages in the htdocs if you use xammp, does your login.php is at the correct location in the htdocs folder, and try to post the sub.php here if everything looks fine!
 
It seems that you are missing a pages in the htdocs if you use xammp, does your login.php is at the correct location in the htdocs folder, and try to post the sub.php here if everything looks fine!

Hey you again :D!! Thanks for helping me man, really appreciate it!

I dont use Xammp, but phpmyadmin. So I have this UniServZ folder and then a www folder. I found the sub.php and login.php files.
But to be honest I dont know how to insert a file here :p
 
you must include login.php in your subpages array in sub.php :p it should look like this

PHP:
20 $subpages = array(
21     // website.com/sub.php?page=blank
22     'blank' => array(
23         // layout/sub/blank.php
24         'file' => 'blank.php',
25         // false means don't run this file instead of the regular file at website.com/blank.php
26         'override' => false
27     ),
28     'houses' => array(
29         'file' => 'houses.php',
30         'override' => false
31     ),
32     'downloads' => array(
33         'file' => 'downloads.php',
34         'override' => false
35     ),
36 );
37 ?>

try to add like
32 'login' => array(
33 'file' => 'login.php',
34 'override' => false
35 ),
and tell me if it works :p !
 
Last edited by a moderator:
Solution
you must include login.php in your subpages array in sub.php :p it should look like this

Code:
20 $subpages = array(
21     // website.com/sub.php?page=blank
22     'blank' => array(
23         // layout/sub/blank.php
24         'file' => 'blank.php',
25         // false means don't run this file instead of the regular file at website.com/blank.php
26         'override' => false
27     ),
28     'houses' => array(
29         'file' => 'houses.php',
30         'override' => false
31     ),
32     'downloads' => array(
33         'file' => 'downloads.php',
34         'override' => false
35     ),
36 );
37 ?>

try to add like
32 'login' => array(
33 'file' => 'login.php',
34 'override' => false
35 ),
and tell me if it works :p !


Dude..................
YOU SIR
ARE
A
GOD
 
I guess it worked :p! good luck with your server!
Hahah yes it did ! But can i do this for other things as well ? For example I am logged in now, but when I click on ''My account'' I see the same message.
If so, I will do it the same way ( ofc other words)

Thanks man! :D
 
yes, if it give you the same error, :) if its a subpage and its not reconized, and you have the file example account_management.php it must be included to the array =)
 
Back
Top