Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-11-02 08:50:11

achovek
New Member
Registered: 2005-11-02
Posts: 5

Warning: doLoginForm() problem

hello
i am new to Textpattern and i do not understand MySQL
i decided to install Textpattern but i after i typed in my Database,and then user and password, when i had to go to the login form i am getting this:

Warning: doLoginForm() [function.doLoginForm]: open_basedir restriction in effect. File(/textpattern/lib/txplib_head.php) is not within the allowed path(s): (/mnt) in /mnt/storage/users/a/c/h/achovek/textpattern/include/txp_auth.php on line 61

Warning: doLoginForm(/textpattern/lib/txplib_head.php) [function.doLoginForm]: failed to open stream: Operation not permitted in /mnt/storage/users/a/c/h/achovek/textpattern/include/txp_auth.php on line 61

Warning: doLoginForm() [function.include]: Failed opening ‘/textpattern/lib/txplib_head.php’ for inclusion (include_path=’.:/usr/lib/php’) in /mnt/storage/users/a/c/h/achovek/textpattern/include/txp_auth.php on line 61

Fatal error: Call to undefined function pagetop() in /mnt/storage/users/a/c/h/achovek/textpattern/include/txp_auth.php on line 62

please tell me what to do

Offline

#2 2005-11-02 08:55:08

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Warning: doLoginForm() problem

In your config.php what does this line look like $txpcfg['txpath']?

Offline

#3 2005-11-02 08:59:44

achovek
New Member
Registered: 2005-11-02
Posts: 5

Re: Warning: doLoginForm() problem

$txpcfg[‘txpath’] = ‘/textpattern’;

i have put my textpattern in the root directory, no subdirs so the path is blabla.com/textpattern

Last edited by achovek (2005-11-02 09:00:56)

Offline

#4 2005-11-02 09:10:56

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Warning: doLoginForm() problem

See, that is what’s causing the error. That variable should hold the full (filesystem) path to your textpattern directory.

$txpcfg['txpath'] = '/mnt/storage/users/a/c/h/achovek/textpattern';

Setup does this right for you – did you change it manually?

Offline

#5 2005-11-02 09:16:26

achovek
New Member
Registered: 2005-11-02
Posts: 5

Re: Warning: doLoginForm() problem

damn!
yes i did, because before that i didnt notice the boc where i have to enter MySQL server and it was giving me another eror and i changed the path and forgot to change it back after that
thank you very much it is running now:)

Offline

Board footer

Powered by FluxBB