Announcement

#1 2022-07-12 01:48:05

thatfrenchkid96
Member
2022-07-12
1

Error When Trying to Access any Piwigo Page

Hello

I was working in the admin panel and when I tried to save a change, I started seeing this error. This happens despite any page I try to visit.

My setup is Piwigo running inside a docker with mariadb also running inside a docker. I even tried a clean install of Piwigo pointed to the same mariadb database and saw the same error so it seems to be a db error and I'm not very familiar with mysql or Piwigo

Warning:  [mysql error 130] Incorrect file format 'piwigo_user_cache'

SELECT
    ui.*,
    uc.*,
    t.name AS theme_name
  FROM piwigo_user_infos AS ui
    LEFT JOIN piwigo_user_cache AS uc ON ui.user_id = uc.user_id
    LEFT JOIN piwigo_themes AS t ON t.id = ui.theme
  WHERE ui.user_id = 2
; in /gallery/include/dblayer/functions_mysqli.inc.php on line 847


Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /gallery/include/dblayer/functions_mysqli.inc.php:211 Stack trace: #0 /gallery/include/functions_user.inc.php(379): pwg_db_fetch_assoc() #1 /gallery/include/functions_user.inc.php(293): getuserdata() #2 /gallery/include/user.inc.php(76): build_user() #3 /gallery/include/common.inc.php(169): include('/gallery/includ...') #4 /gallery/index.php(11): include_once('/gallery/includ...') #5 {main} thrown in /gallery/include/dblayer/functions_mysqli.inc.php on line 211

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact