#1 2025-01-28 17:01:36

rickmj
Member
2024-11-14
4

403 error attempting to log in after moving server

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

 

#2 2025-01-28 21:25:57

erAck
Only trying to help
2015-09-06
2231

Re: 403 error attempting to log in after moving server

Edit your local/config/database.inc.php to match reality, i.e. the $conf['db_...'] entries.


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2025-01-29 18:07:06

rickmj
Member
2024-11-14
4

Re: 403 error attempting to log in after moving server

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

 

Board footer

Powered by FluxBB

github linkedin newsletter Piwigo.org © 2002-2025 · Contact