Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
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
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
Re: unable to access the index page
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
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
Pages: 1