![]() |
|
update 1.6 to 1.6.1 - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: update 1.6 to 1.6.1 (/thread-13894.html) Pages:
1
2
|
update 1.6 to 1.6.1 - rnervi - 2023-12-22 I've done all steps. update 1.6 to 1.6.1 - rnervi - 2023-12-22 more on: removed the cfg file (renamed) zenphoto.cfg.php to me this means it's reading the correct configuratione file "zenphoto.cfg.php" but misreading the $conf['mysql_host'] update 1.6 to 1.6.1 - rnervi - 2023-12-22 opened ticket to host too as it's really weird.... update 1.6 to 1.6.1 - acrylian - 2023-12-22 Sorry for your trouble. I don't remember any changes in these area right now. I don't have any host using an IP for the db server but that should work of course Otherwise try the generic "localhost" perhaps. Which db handler are you using? MySQLi oder PDO?
You should not loose any data. But in any case backups are always a good idea before updates. update 1.6 to 1.6.1 - acrylian - 2023-12-22 We have for sure not any predefined IP address, no IP address at all. Default is if "localhost". update 1.6 to 1.6.1 - rnervi - 2023-12-22 MySQLi as was before. update 1.6 to 1.6.1 - rnervi - 2023-12-22 hoster: check PHP version. update 1.6 to 1.6.1 - acrylian - 2023-12-22 We haven't tested 8.3 since we have not yet access to it. But we did everyhing on 8.2. I doubt it is the PHP version. The updates of our own site and demo site worked also without any issues. I can only suggest to re-check the credentials for a minor typo or something. A completely filled db config should look like this, just in case:
update 1.6 to 1.6.1 - sbillard - 2023-12-22 Sounds like the following https://www.linuxcloudvps.com/blog/how-to-fix-access-denied-errors-in-mysql/#:~:text=Fixing%20access%20denied%20for%20'user'%40'ip_address'&text=The%20most%20probable%20cause%20for,test_db%20to%20'user'%40'192.168. Which would indicate a server configuration issue. update 1.6 to 1.6.1 - rnervi - 2023-12-23 installed in a local ubu srv, it works fine. So it's definitely some weird hosting side. As solved, will update here... who knows can help some1 too update 1.6 to 1.6.1 - rnervi - 2023-12-23 checked twice and all is ok. the weird side is that it reads an IP address from config but tries to log on another ! update 1.6 to 1.6.1 - rnervi - 2023-12-30 as hoster cannot read what I type.... update 1.6 to 1.6.1 - acrylian - 2023-12-30 Yes, you can rename/delete the config file and re-run setup to have it re-created. But if editing it manually with the correct credentials still results in that wrong IP address it probably will not fix it. If the correct IP address results in a different one being used this sounds like some weird redirection is in place. That would be the server/host to fix then… update 1.6 to 1.6.1 - rnervi - 2023-12-30 eh I tried, but as wrote, sounds they are not reading words in ticket with necessasry attention ! ty will try tomorro morning update 1.6 to 1.6.1 - acrylian - 2023-12-30 Sadly some hosts really provide minimal support of the general things… Hopefully your's will pay atention soon. Perhaps just all in holiday season mode… update 1.6 to 1.6.1 - rnervi - 2024-01-01 I hard coded connection data inside the file class-dbmysqli.php and it now works ! very weird update 1.6 to 1.6.1 - acrylian - 2024-01-01 But where should the wrong IP come from? We do set "localhost" as a default but if there is config data that should not be used. The actual db config data is set within functions-basic.php starting line 194. You can write any data to the debug.log using update 1.6 to 1.6.1 - rnervi - 2024-01-02 dunno. The onky thing I know checking IP is owned by hoster. update 1.6 to 1.6.1 - Ewgeniy - 2024-01-12 Hello, I installed v.1.6.1. I need to insert the Yandex.Metrika code, on the "gallery" tab there is a field "Insert code:" I inserted and saved. But this code does not appear on any page. (( Then I installed the "defaultcodeblocks" plugin, pasted the code there, and enabled all three types (album, gallery, image). But the code only appeared on the page with the image. (( How do I paste the Yandex.Metrika code so that it is present on all, any gallery pages? update 1.6 to 1.6.1 - acrylian - 2024-01-12 The theme must have built in support for code blocks. You will likely have to add The better but more advanced way would be to create a plugin to include the code via the You can enable opengraph via the html_meta_tags plugin.schema.org is not yet available (adding json-ld is planned for sometime in the future). |