Hi mates,
I am now coming across the second xh-website where the .htaccess in the templates folder disables the template and the site appears. Fortunately we have the emergency template
The site I am working on now is:
PHP 5.5.9-1ubuntu4.6
rigid rights mamagement: you have to give 777 to practically everything
edit: should have been: the site disappears, actually the template is not used and the site is shown with the emergency template.
.htaccess in templates buggy?
.htaccess in templates buggy?
Last edited by svasti on Mon Apr 27, 2015 7:40 pm, edited 1 time in total.
Re: .htaccess in templates buggy?
The .htaccess isn't supposed to have any effect on processing the template with PHP.svasti wrote:I am now coming across the second xh-website where the .htaccess in the templates folder disables the template and the site appears.
That's more likely the problem. I suspect that is_readable($pth['file']['template']) would return false. You can verify this at the end of cms.php just before $temp = fopen($pth['file']['template'], 'r');svasti wrote:rigid rights mamagement: you have to give 777 to practically everything
Christoph M. Becker – Plugins for CMSimple_XH