Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-06-03 00:23:22

Luc
New Member
From: Brazil
Registered: 2004-09-21
Posts: 8
Website

unable to access the index page

I’ve been using Textpattern for several yaers now and never had any problems. Recently i switched from hosting company and uploaded my site again.

To my surprise i get an ugly php error when accessing my blog:

Warning: include() [function.include]: Unable to access /home/www/dzinelab/blog/textpattern/publish.php in /home/d38625/public_html/blog/index.php on line 4

Warning: include(/home/www/dzinelab/blog/textpattern/publish.php) [function.include]: failed to open stream: No such file or directory in /home/d38625/public_html/blog/index.php on line 4

Warning: include() [function.include]: Unable to access /home/www/dzinelab/blog/textpattern/publish.php in /home/d38625/public_html/blog/index.php on line 4

Warning: include(/home/www/dzinelab/blog/textpattern/publish.php) [function.include]: failed to open stream: No such file or directory in /home/d38625/public_html/blog/index.php on line 4

Warning: include() [function.include]: Failed opening ‘/home/www/dzinelab/blog/textpattern/publish.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/d38625/public_html/blog/index.php on line 4

Fatal error: Call to undefined function textpattern() in /home/d38625/public_html/blog/index.php on line 5

Anybody has a clue what’s going on? The files are uploaded to the exact same locations as before and i haven’t altered any of them.

TIA


@dzinelabs

Offline

#2 2008-06-03 00:34:12

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: unable to access the index page

Did your paths in preferences match real? Try to edit table txp_prefs if you can’t enter admin-side

Last edited by the_ghost (2008-06-03 00:34:54)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#3 2008-06-03 06:25:50

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: unable to access the index page

wiki and FAQ

Last edited by colak (2008-06-03 06:26:13)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2008-06-05 13:39:31

Luc
New Member
From: Brazil
Registered: 2004-09-21
Posts: 8
Website

Re: unable to access the index page

Thanks for the answers guys. After going through them i changed the config file:

$txpcfg[‘txpath’] = ‘home/www/dzinelab/blog/textpattern’;
$txpcfg[‘doc_root’] = ‘home/www/dzinelab’;

to:

$txpcfg[‘txpath’] = ‘home/www/d38625_dzinelab/blog/textpattern’;
$txpcfg[‘doc_root’] = ‘home/www/d38625_dzinelab’;

because the new hosting company added ‘d38625_’ to my DB name.

This solved the errors stated above but not completely. Now i get:

Warning: include(home/www/d38625_dzinelab/blog/textpattern/publish.php) [function.include]: failed to open stream: No such file or directory in /home/d38625/public_html/blog/index.php on line 4

Warning: include(home/www/d38625_dzinelab/blog/textpattern/publish.php) [function.include]: failed to open stream: No such file or directory in /home/d38625/public_html/blog/index.php on line 4

Warning: include() [function.include]: Failed opening ‘home/www/d38625_dzinelab/blog/textpattern/publish.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/d38625/public_html/blog/index.php on line 4

Fatal error: Call to undefined function textpattern() in /home/d38625/public_html/blog/index.php on line 5

Because i’m not an expert on php, can anybody of you guys and girls explain what’s going on?


@dzinelabs

Offline

Board footer

Powered by FluxBB