Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-01-07 09:31:48
- Graham
- New Member
- From: Sydney
- Registered: 2006-01-07
- Posts: 5
change permissions
Hi, I am very new to Textpattern and am unable to resolve the following that appears on the diagnosic page:
Image directory is not writable:
File Upload Path is not writable:
Your version of PHP has security related risks. Please turn register_globals off or update to a newer PHP version.
I have had a good look through the forum and documentation on this site but was unable to locate any info.
Textpattern installed – 4.0.3
MySQL – 4.0.25
PHP – 4.3.10
Much appreciated
Graham
Offline
Re: change permissions
When you see thos messages in diagnostics, on the right side you’ll see a question mark which links to a page with additional information about the problem.
You can change the paths for image/file upload in advanced preferences.
Offline
#3 2006-01-07 09:50:00
- Graham
- New Member
- From: Sydney
- Registered: 2006-01-07
- Posts: 5
Re: change permissions
Thanks, I have tried that but the question mark link tells me:
Directory is not writable
To use the file and image upload capabilities, these directories have to be writable by PHP. Usually this means you have change permissions to 777. This can be done with your FTP client or alternatively on the command line by issuing a: chmod 777 /path/to/dir
This is where I am a little stuck.
Also:
Turn register_globals off or update to a newer PHP version.
Recently a severe vulnerability was discovered in PHP. The security advisory says:
can lead to unexpected behaviour of PHP applications, which can lead to execution of remote PHP code in many situations.
Vulnerable versions are PHP4-versions <= 4.4.0 and PHP5-versions <= 5.0.5. You should either update to newer versions or make sure that register_globals is turned off.
What do I do here?
Cheers
Graham
Offline
Re: change permissions
Graham,
You should make your image/file directoris chmod 755 in your ftp client or elsewhere. If you are having trouble doing that, it shouldn’t be textpattern’s issue?
Turn register globals off happens in your .htaccess file should be in the root of your site directory (whereever txp’s index.php file is)
It should be an issue of turning it from 1 to 0 in the .htaccess file, I believe. There has been a lot written about it here in the forums. And I’m sure google could help you out there too.
Hope that helps,
Matthew
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
#5 2006-01-07 20:27:10
- Graham
- New Member
- From: Sydney
- Registered: 2006-01-07
- Posts: 5
Re: change permissions
Thank you for your response. I have searched high and low on how to make the directories chmod 755 but no luck. I shall persevere.
I have checked the .htaccess file and this reads:
#php_value register_globals 0
If anyone else has any ideas, much appreciated
Graham
Offline
Re: change permissions
#php_value register_globals 0
The # sign means it’s commented out. Remove the # to make the statement functional and see what happens.
P.S. Woohoo, this was my 700th post! I’m xi now.
Last edited by andreas (2006-01-07 20:33:21)
Offline
#7 2006-01-07 20:42:03
- Graham
- New Member
- From: Sydney
- Registered: 2006-01-07
- Posts: 5
Re: change permissions
Thank you for the comment tip. That works a treat.
As for the file permissions I have checked these and they are set to 755 but I am still getting the not writable errors
Cheers
Graham
Offline
Pages: 1