Hello,
I have tried to install latest version of Zenphoto with zenpage.... I have a problem with comments, suddenly after working fine, one or more albums are closed for comments, even though all settings are set to enable comments...
Even tried to install from scratch... create new album... everything OK... comments working... then next day upload some new images... and now gallery closed for comments.... even though all settings show the opposite...
Comments
Obviously i realise it's not fixing the problem but it's a temp workaround.
I deleted the whole previous site and put the new build there. The problem is that the "General" tab on album edit (admin-edit.php) isn't showing so there is no way to set comments on or off (btw. souldn't the comments be on by default?)
The acutal name of a page/article (the titlelink) is not dependend on mutlilingual titles.
Edit:
For now I just set commentson to 1 on the albums in zp_albums
I just uploaded the last build (4518) to a different server and with a different database but I have the same problem. Can it then be a browser problem?
I've now tried Internet Explorer 8, Opera 10 and Firefox 3.5 so maybe not.
URL to testing server: http://folk.ntnu.no/danielto/zenphoto/ and the username and password is admin
Do you see the "general" right sidebar acrylian?
`Fatal error: Call to undefined function updateThumbPreview() in /web/folk/danielto/zenphoto/zp-core/admin-functions.php`
I have never encountered that.
I logged into your test site, enabled the comment_form plugin (which you had said was enabled, but it was not!) Now I can see a comment form on the site.
acrylian: I can try another build. Which build do you have which are showing the general sidebar? Also, isn't the installation just to run setup.php? I can't see what I could do wrong when installing.
Thanks for all the help.
It can't be corrupt every time on different servers and different builds. This is truly a weird problem. Do you get the same error as last time acrylian?
Edit: `Fatal error: Call to undefined function updateThumbPreview() in /web/folk/danielto/zenphoto/zp-core/admin-functions.php on line 1209`
I can't find updateThumbPreview() in /zp-core/js/admin.js
`
function updateThumbPreview(selectObj) {
if (selectObj) {
var thumb = selectObj.options[selectObj.selectedIndex].style.backgroundImage;
selectObj.style.backgroundImage = thumb;
}
}
`
This is from admin.js on the server and the fatal error from admin-functions.php on line 1209:
`<?php updateThumbPreview(document.getElementById('thumbselect')); ?>`
Strange things are happening here, as now in the one that shows all sidebars TinyMCE is not loaded anymore without any noticably reason or error... Will talk with sbillard...