Hi,
I've just moved my Piwigo gallery to a new hosting provider and I've managed to copy all files and the MySQL database across successfully, the galley loads fine, but I'm having problems logging in.
This is from the Piwigo error log:
#1 my_error /home/dandrstz/public_html/gallery/include/common.inc.php(122)
#2 include_once /home/dandrstz/public_html/gallery/index.php(11) in /home/dandrstz/public_html/gallery/include/functions_html.inc.php on line 401
[28-Jan-2025 14:47:26 UTC] PHP Fatal error: [mysql error 1044] Access denied for user 'dandrstz_rick'@'server327.web-hosting.com' to database 'dandrstz_gallery'
Access denied for user 'dandrstz_rick'@'server327.web-hosting.com' to database 'dandrstz_gallery'
#1 my_error /home/dandrstz/public_html/gallery/include/common.inc.php(122)
#2 include_once /home/dandrstz/public_html/gallery/index.php(11) in /home/dandrstz/public_html/gallery/include/functions_html.inc.php on line 401
Rick
Last edited by rickmj (2025-01-28 17:06:44)
Offline
Edit your local/config/database.inc.php to match reality, i.e. the $conf['db_...'] entries.
Offline
Thank you for your reply.
I've done that, all the entries in database.inc.php match the database, I copied the entries from the database and pasted them into the database.inc.php file.
Still no luck I'm afraid.
Offline