After running ZP 1.4.4 for a long time I finally got around to updating recently. I updated to ZP 1.4.5 and that went smoothly so I went to 1.4.6 at which point the CSS file for my theme's colors became publicly inaccessible (500 Internal Server Error):
/zp-data/effervescence_plus/styles/kish-my%20father.css
Checking permissions I saw no problem:
drwxrwxrwx me:me zp-data drwxr-xr-x web:web effervescence_plus drwxr-xr-x web:web styles -rw-rw-r-- web:web kish-my father.css
Checking the Apache error log:
/public/zp-data/.htaccess: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
Search results said that the error is correct: The FilesMatch "Order" directive in the /zp-data/.htaccess generated by Zenphoto has not existed since Apache 2.2 (except in an Apache module used for backwards compatibility which may itself now be deprecated -- I don't have control of my Apache install, so I didn't read much about that).
Thinking that this was surely just a temporary oversight, I went on and applied the ZP 1.4.7, 1.4.8 and 1.4.9 updates (nuking the zp-data directory between each, so that all the relevant files were regenerated during each update) but nothing changed.
So I compared:
[b]Zenphoto 1.4.4 /zp-data/.htaccess[/b]
`
IndexIgnore *
Order Allow,Deny
Deny from all
[b]Zenphoto 1.4.6+ /zp-data/.htaccess[/b]
IndexIgnore *
Order Allow,Deny
Deny from all
`
I am at a loss. Everything else about ZP seems to work, but being unable to access this CSS file breaks the site rendering (as you would expect).
Zenphoto 1.4.9
PHP 5.5.28
MySQL 5.3.12
Apache 2.4
The htaccess in zp-data is only for protecting files within zp-data (if using Apache). It has nothing to do with the actual theme files like css. Did you check if the actual root .htaccess file is correct? You find the template within /zp-core if unsure.
Edit: I have to admit until now I wasn't aware myself that this theme does put somehow converted css files into zp-data at all … However I cannot reproduce the issue so far.