theme_root returning a truncated URI

I’m unable to access the theme editor via the control panel, receiving ‘Sorry can’t edit files with .. in the name….’ and after trying to trace back the cause, I’ve found that the theme_root is being returned as /home/websitename.co./(the rest is correct).

I’m at a loss to determine where the theme_root is being read/set from and why it’s truncating the .co.uk to just .co. This last issue is causing it to fail the allowed_files error testing as it’s reading ./ and falling over.

Read More

Any assistance in plain enough english for a non php coder to understand would be appreciated.

Thanks.

Related posts

Leave a Reply