erintheunready / ComicControl

The main repo for ComicControl Development.
25 stars 8 forks source link

Cannot access pages from dashboard after installation #19

Open tvaz opened 2 years ago

tvaz commented 2 years ago

Hi, I was hoping I could get some help. I recently set up a LAMP stack and followed installation instructions for ComicCtrl, but none of the links from the dashboard are working unfortunately.

<HOST>/comiccontrol is correctly displaying the dashboard and a module was created and is visible.

<HOST>/comiccontrol/manage-modules and all other links give a 404.

Any hints for hunting down this bug perhaps?

tvaz commented 2 years ago

Tracked down what I am fairly sure is a related error:

[Tue Jan 11 01:10:30.272534 2022] [php:warn] [pid 30049] [client -] PHP Warning:  Undefined array key 2 in /var/www/html/comiccontrol/includes/classes.php on line 248
[Tue Jan 11 01:10:30.272605 2022] [php:warn] [pid 30049] [client -] PHP Warning:  Undefined array key 3 in /var/www/html/comiccontrol/includes/classes.php on line 249
[Tue Jan 11 01:10:30.272891 2022] [php:warn] [pid 30049] [client - PHP Warning:  Trying to access array offset on value of type bool in /var/www/html/comiccontrol/includes/classes.php on line 276

[Tue Jan 11 01:10:30.274416 2022] [php:warn] [pid 30049] [client -] PHP Warning:  Undefined array key 1 in /var/www/html/comiccontrol/index.php on line 77
[Tue Jan 11 01:10:30.274431 2022] [php:warn] [pid 30049] [client -] PHP Warning:  Undefined array key 1 in /var/www/html/comiccontrol/includes/initialize.php on line 17
[Tue Jan 11 01:10:30.276538 2022] [php:warn] [pid 30049] [client - PHP Warning:  Undefined array key 1 in /var/www/html/comiccontrol/includes/initialize.php on line 17
[Tue Jan 11 01:10:30.276566 2022] [php:warn] [pid 30049] [client -] PHP Warning:  Undefined array key 2 in /var/www/html/comiccontrol/includes/initialize.php on line 17

It seems like something is going wrong with the data when it is trying to load the CC_Page class to build the URL. Not sure exactly what yet.