Re: Create a external form for login

mmm ok thanks alot for your help.

Sports2All: Watch (Wrestling, Football & All other Sports) Online For Free.
My Punbb Style: Yellowish (Yellow, Silver), Technature (Green & Blue), SilverLight (Black, Sliver Professional)

Re: Create a external form for login

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.

Re: Create a external form for login

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.

Re: Create a external form for login

Parpalak wrote:

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. big_smile

Re: Create a external form for login

does anyone know how this error was fixed?

Call to a member function escape() on a non-object in /include/functions.php on line 1350

im still getting it and have no idea how to fix it..

Re: Create a external form for login

Are you sure the file "<FORUM_ROOT>/include/common.php" is included in your code?