Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-06-28 05:31:48
- alka.li
- New Member
- Registered: 2006-06-28
- Posts: 2
Error messages/not working?
I went to go look at my site one day and was presented with the following:
Warning: main(): Unable to access /home/.sites/120/site53/web/alkali/main/textpattern/publish.php in /home/.sites/76/site98/web/alkali/main/index.php on line 27
Warning: main(/home/.sites/120/site53/web/alkali/main/textpattern/publish.php): failed to open stream: No such file or directory in /home/.sites/76/site98/web/alkali/main/index.php on line 27
Warning: main(): Unable to access /home/.sites/120/site53/web/alkali/main/textpattern/publish.php in /home/.sites/76/site98/web/alkali/main/index.php on line 27
Warning: main(/home/.sites/120/site53/web/alkali/main/textpattern/publish.php): failed to open stream: No such file or directory in /home/.sites/76/site98/web/alkali/main/index.php on line 27
Warning: main(): Failed opening ‘/home/.sites/120/site53/web/alkali/main/textpattern/publish.php’ for inclusion (include_path=’.:/home/php/lib/pear’) in /home/.sites/76/site98/web/alkali/main/index.php on line 27
Fatal error: Call to undefined function: textpattern() in /home/.sites/76/site98/web/alkali/main/index.php on line 28
Is there any reason for this? I didn’t do a thing to anything, and I can still get into the backend.
Thanks for any and all help.
Offline
#2 2006-06-28 05:42:33
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Error messages/not working?
Warning: main(): Unable to access /home/.sites/120/site53/web/alkali/main/textpattern/publish.php
..means what it says: the publish.php file is inaccessible. Could be missing, moved, or have the wrong permissions.
Your hosting company might have changed something without telling you.
If the back-end is working correctly, your configuration and database are probably fine.
Last edited by zem (2006-06-28 05:44:10)
Alex
Offline
#3 2006-06-28 05:45:56
- alka.li
- New Member
- Registered: 2006-06-28
- Posts: 2
Re: Error messages/not working?
I thought of that, went looking and found it just fine, CHMOD 777 just in case, and still not working…
Offline
#4 2006-06-28 06:54:13
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Error messages/not working?
Looking closer at the paths, it appears you have two different directories:
/home/.sites/120/site53/
/home/.sites/76/site98/
Perhaps your hosting company moved your site to a new directory. It’s probably the second one. Make sure you have the right one, and check that the txpath setting in config.php is correct.
Alex
Offline
Pages: 1