Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-01-22 21:44:28
- tc03
- Member
- Registered: 2007-11-06
- Posts: 92
Pre-flight fail
I just installed textpattern and got the following in the diagnostics
1. Image directory is not writable: /home/vitalpoe/public_html/textpattern-4.0.5/images
File directory path is not writable: /home/vitalpoe/public_html/textpattern-4.0.5/files ?
2. /home/vitalpoe/public_html/textpattern-4.0.5/textpattern/setup/ still exists ?
3. The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: show_source, allow_url_fopen ?
4. Site URL preference might be incorrect: www.vitalpoetics.com/textpattern-4.0.5 ?
5. Clean URL test failed. ?
Any suggestions for any of these?
Offline
Re: Pre-flight fail
- chmod 755 or 777
- Delete the textpattern/setup directory
- Your server doesn’t have all the PHP functions TXP needs. Not sure if it’s going to be a problem.
- What URL do you access TXP with?
- Did you upload the .htaccess file?
Offline
#3 2008-01-22 22:02:25
- marios
- Archived Plugin Author
- Registered: 2005-03-12
- Posts: 1,253
Re: Pre-flight fail
Howdy, I think, you just had a bad hickup.
Regarding Point 1
Both Image and File Directory on your Server need permission of 777, those can be changed with your favorite FTP App.
Point 2.
The Setup Directory is not needed anymore, so just remove it.
Point 3.
This, if believe should be taken care of from your Hosting Provider, or else if you have access to php.ini enable them.
Point 4.
Under Admin Prefs, this should be changed to www.vitalpoetics.com
And regarding Point 5.
Check and make sure, that there is (at least) a default .htaccess file in your Site root.
get back,if needed.
regards, marios
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
Re: Pre-flight fail
- chmod 755 on the image/files dir. Not chmod 777, because that’s just asking for problems on a shared hosting environment.
- delete for security reasons
- show_source is not needed, allow_url_fopen probably causes the clean url test to fail
- see the answer Mario gave
- probably due to the missing allow_url_fopen function… but it’s just a test. Just try and see if clean urls work on your textpattern install. If they do, then don’t worry about the failing test.
Offline
#5 2008-01-22 22:11:35
- tc03
- Member
- Registered: 2007-11-06
- Posts: 92
Re: Pre-flight fail
regarding number 4.
The top level url should be www.vitalpoetics.com, BUT, when this is set in preferences, I get the error message. When I change the URL pref to www.vitalpoetics.com/textpattern-4.0.5, problem solved, because for some reason, this is where my txp default page is…
all other problems solved at this stage, except clean urls, but this goes away when I change url preference too.
Offline
Offline
#7 2008-01-22 22:16:59
- tc03
- Member
- Registered: 2007-11-06
- Posts: 92
Re: Pre-flight fail
so i think all the problems stem from #3, allow_url_fopen…?
Offline
#8 2008-01-22 22:22:02
- tc03
- Member
- Registered: 2007-11-06
- Posts: 92
Re: Pre-flight fail
as regards #4 – should the url specified be the site url or the url i access txp with?
Offline
#9 2008-01-22 22:43:16
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Pre-flight fail
You probably uploaded the entire folder textpattern-4.0.5 to your server, while it should have been just the contents of that folder. This is what you should upload to the root of your site (public_html).
Offline
#10 2008-01-22 22:47:29
- tc03
- Member
- Registered: 2007-11-06
- Posts: 92
Re: Pre-flight fail
ok – yes, i did do this Els. How do I un/re-install?
Offline
#11 2008-01-22 23:00:05
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Pre-flight fail
The easiest way is to start from scratch, just remove all txp files from your server, and empty the database (drop the tables, you can do that in phpMyAdmin). Then follow the detailed instructions :)
Edit: the .htaccess file is there, but you’ll probably have to adjust a setting in your FTP program to show hidden files.
Last edited by els (2008-01-22 23:05:30)
Offline
Re: Pre-flight fail
The easiest way is to start from scratch, just remove all txp files from your server, and empty the database (drop the tables, you can do that in phpMyAdmin). Then follow the detailed instructions :)
Well actually, easiest way is just cut + paste (move) the textpattern-4.0.5
’s contents to root (public_html / www directory). And then just remove the /textpattern-4.0.5
from $txpcfg['txpath']
’s path in /textpattern/config.php
. It would take just couple of seconds – depending your server’s speed.
Cheers!
Offline