![]() |
|
Strict Standards - error message - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: Strict Standards - error message (/thread-12004.html) |
Strict Standards - error message - kyrd - 22-01-2015 hi, since a few months ago (my hoster upgraded the server to php5.4) every new post works well but in the homepage shows the following message: the hoster faq suggested to correct the script, giving this link http://php.net/manual/en/language.references.pass.php I've tried to check the above line but nothing makes sense to me. I'd rather correct manually the line instead of upgrading the whole zenphoto, as long time ago I've done some custom mods in the core system (e.g. added missing IPTC field which is working fine, nothing to see with this error message) Zenphoto versione 1.4.1.6 [8326] (Build ufficiale) I'm stuck... anybody there can suggest what's wrong and how to avoid the message? thanks in advance! Strict Standards - error message - fretzl - 22-01-2015 Unfortunately it's impossible to tell what could be wrong since you modified the core. Strict Standards - error message - kyrd - 22-01-2015 thanks for your fast reply! Strict Standards - error message - acrylian - 22-01-2015 The note (it's not really an error) you now see is because some standards are stricter in newer PHP versions. Maybe after three years you should really consider an upgrade. Now you know why it is not recommended to modify the core … ;-) The current Zenphoto 1.4.6 works up to PHP 5.6. Strict Standards - error message - sbillard - 22-01-2015 The easiest solution would be to turn off checking strict standards in your error level. Strict Standards - error message - kyrd - 23-01-2015 I've realized that the notes don't show when I'm logged in admin, they appear again when I log out. Strict Standards - error message - acrylian - 23-01-2015 I don't remember about the missing IPTC field sadly. I do have a vast memory about something off the standard definition of metadata. If you can point to a topic. Have you looked if that is fix meanwhile? Normally you can change error reporting level on your server via htaccess or a php.ini. Depends on the host. Strict Standards - error message - kyrd - 23-01-2015 use the forum search! ;-) meanwhile I'll check the server htaccess Strict Standards - error message - acrylian - 23-01-2015 [i]use the forum search! ;-)[/i] Strict Standards - error message - kyrd - 26-01-2015 after some (much) efforts and investigations I've done some steps forward. first of all I wasn't able to change the error permissions as @sbillard suggested, but I reconsidered that even if I succeded in that task it was like taking care of the symptoms and not of the disease. however:
` Strict Standards - error message - acrylian - 26-01-2015 Good that you are aware that copying one function from quite different versions is not encouraged. Sorry, the only other step is an proper upgrade to the current version. Strict Standards - error message - kyrd - 26-01-2015 well, yes... but what can I do? I'm forced to do so 'cause I'm not standard ;-) Strict Standards - error message - acrylian - 26-01-2015 Well, what can I say try to follow the standards :-) |