Re: Create a external form for login
mmm ok thanks alot for your help.
My Punbb Style: Yellowish (Yellow, Silver), Technature (Green & Blue), SilverLight (Black, Sliver Professional)
Unfortunately no one can be told what PunBB is - you have to see it for yourself.
You are not logged in. Please login or register.
mmm ok thanks alot for your help.
Just for future reference, precede requires/includes with FORUM_ROOT, not hard coded paths.
This line:
include '../sitetools/pages/login.php';should be:
include FORUM_ROOT.'sitetools/pages/login.php';That constant is defined in every script so will always point to the correct location.
I think this code is placed into a Wordpress plugin and then is eval'ed. And there is no defined FORUM_ROOT constant in Wordpress.
I think this code is placed into a Wordpress plugin and then is eval'ed. And there is no defined FORUM_ROOT constant in Wordpress.
Ah, I thought he was doing it the opposite way around. My apologies. ![]()
does anyone know how this error was fixed?
Call to a member function escape() on a non-object in /include/functions.php on line 1350im still getting it and have no idea how to fix it..
Are you sure the file "<FORUM_ROOT>/include/common.php" is included in your code?
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 5 official extensions. Copyright © 2003–2009 PunBB.