Noxwizard wrote:Your current root path is /forumtest
which is an absolute path (it starts with the directory separator /
). You should be using relative paths (either starts with a .
, ..
, or the folder name). If your board is at mydomain.com/forumtest/
and the page you are trying to integrate sessions on to is at mydomain.com/page.php
, then your root path would be ./forumtest
or just forumtest
.
Finally got it working! Now another question, how can I get an echo which style the active user is using?
(so, if i use prosilver, the echo would be "prosilver".
EDIT: I got the style thing working, but if I travel to a page which is not the index page I get this error:
Illegal use of $_GET. You must use the request class or request_var() to access input data. Found in /forumtest/website/index.php on line 73. This error message was generated by deactivated_super_global.
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/phpbb/request/deactivated_super_global.php
LINE: 67
CALL: trigger_error()
FILE: [ROOT]/phpbb/request/deactivated_super_global.php
LINE: 87
CALL: phpbb\request\deactivated_super_global->error()
FILE: [ROOT]/website/index.php
LINE: 73
CALL: phpbb\request\deactivated_super_global->offsetGet()
What now?