The simpler media website CMS
Zenphoto version 1.5.7 (Official build)
Current locale setting: en_US.UTF8
Server software: Apache
PHP version: 7.3.20
Graphics support: PHP GD library bundled (2.1.0 compatible)
supporting: gif, jpg, jpeg, png, wbmp
PHP memory limit: 1024M (Note: Your server might allocate less!)
MySQLi version: 5.6.47
In Zenphoto installations on a particular website on this server I am unable to edit the theme scripts.
I have tried more than one installation in this web site - same result:
I can click on edit and a new window opens but it is blank
On another website on this same server I do not have the same problem.
Any suggestions please?
I am baffled,
Richard
Comments
You are probably referring to the theme editor? You need full admin rights to edit them. Otherwise blank window means some serious error mostly or file/folder permissions mismatcht. Please review your logs.
I really recommend to edit themes files on a local server setup using a proper code editor instead.
Thank you. Yes, the theme editor.
the debug.log gives this error:
EXCEPTION (0): Too few arguments to function isTextFile(), 1 passed in .../zp-core/admin-themes-editor.php on line 45 and exactly 2 expected in .../zp-core/admin-themes-editor.php on line 23
which appears to be this line:
function isTextFile($file, $ok_extensions) {
?
Richard
I think that is fixed in the support build/1.5.8b already.
Yes - it is!
Thank you,
Richard
I have the same problem, how can I fix it?
I have Zenphoto version 1.5.7
where can I find this?
As said on the (unnecessary) ticket right on our home page.