Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-08-11 09:54:18

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,356
GitHub

Updating language strings fails on OS X localhost

Hi.
I’m preparing a localhost install of Textpattern 4.5.4 for a site rebuild/refresh, and I’ve spotted what might be a minor glitch.

Immediately after install and login, I am taken to the Admin panel, Admin, Preferences, Language. I have the option to update the British English language strings file which is currently saying it was last updated 08 Apr 2013 17:36:46. I click update, and a visual confirmation appears telling me: ‘English (Great Britain) Updated’. So far, this is what I expect to see.

If I do this on a web host, it plays nice and I would expect the ‘Update’ reference to change to ‘Updated’; on my OS X localhost, the date remains the same and ‘Update’ doesn’t change. It’s like there’s a file permission amiss somewhere – what should I check in my file system to make sure the language update option works?

There’s nothing in my Apache logs that’s telling a file read/write failed. The visual confirmation of an updated language file is somewhat misleading if the update hasn’t actually taken place.

Happy to make a screencast to demonstrate if the above isn’t clear. My diagnostics are below:

Textpattern version: 4.5.4 (r4919)
Last update: 2013-08-11 09:38:00/2013-08-11 09:20:47
Document root: /Volumes/HDD/Users/pete/Sites/localhost/www.petecooper.org/httpdocs-dev
$path_to_site: /Volumes/HDD/Users/pete/Sites/localhost/www.petecooper.org/httpdocs-dev
Textpattern path: /Volumes/HDD/Users/pete/Sites/localhost/www.petecooper.org/httpdocs-dev/textpattern
Permanent link mode: section_id_title
Temporary directory path: /private/var/tmp
Site URL: www.petecooper.org.dev.localhost
PHP version: 5.3.15
GD Graphics Library: bundled (2.0.34 compatible); supported formats: GIF, JPG, PNG.
Server TZ: UTC
Server local time: 2013-08-11 09:53:14
DST enabled?: 0
Automatically adjust DST setting?: 0
Time zone:  (+0)
MySQL: 5.6.10
Locale: en_GB.UTF-8
Server: Apache/2.2.22 (Unix) DAV/2 PHP/5.3.15 with Suhosin-Patch mod_ssl/2.2.22 OpenSSL/0.9.8x
Apache version: Apache/2.2.22 (Unix) DAV/2 PHP/5.3.15 with Suhosin-Patch mod_ssl/2.2.22 OpenSSL/0.9.8x
PHP server API: apache2handler
RFC 2616 headers: 
Server OS: Darwin 12.4.0
Admin-side theme: classic 4.5.4

Pre-flight check: 
------------------------
/Volumes/HDD/Users/pete/Sites/localhost/www.petecooper.org/httpdocs-dev/textpattern/setup/ still exists
------------------------

.htaccess file contents: 
------------------------
#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default

<IfModule mod_rewrite.c>
	RewriteEngine On
	#RewriteBase /relative/web/path/

	RewriteCond %{REQUEST_FILENAME} -f [OR]
	RewriteCond %{REQUEST_FILENAME} -d
	RewriteRule ^(.+) - [PT,L]

	RewriteCond %{REQUEST_URI} !=/favicon.ico
	RewriteRule ^(.*) index.php

	RewriteCond %{HTTP:Authorization}  !^$
	RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>

#php_value register_globals 0

# SVG
AddType image/svg+xml  svg svgz
AddEncoding gzip       svgz

------------------------

As ever, any and all pointers are very gratefully received. Thank you in advance.

Offline

Board footer

Powered by FluxBB