New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Popular by <x> is seemingly not working #713
Comments
Hm, when using SQLite I get an SQL syntax error instead. Weird, I'll see if I can fix that for me if Shish doesn't get to it first. Maybe we should have a test that just grabs each of those pages in order and asserts a 200 code to confirm they work properly? |
Sounds good, I'll be ready to give my experience when a potential fix is ready |
Update, it seems like the pages for popular by day and by month are now both appearing, but cycling through past days or months doesn't turn up any results, and going under the amount of days/months tracked brings us back to the white page, which might not be the most user friendly? I'm guessing that things might not be appearing due to a threshold? |
Popular by X is relying on votes, does your pictures have any votes to them? |
in my case popular by month and year gives up a error 500 in my release version and in my git pull version im getting this error: Fatal error: Uncaught TypeError: Argument 1 passed to Image::by_id() must be of the type int, string given, called in C:\xampp\htdocs\shimmie\ext\numeric_score\main.php on line 155 and defined in C:\xampp\htdocs\shimmie\core\imageboard\image.php:103 Stack trace: #0 C:\xampp\htdocs\shimmie\ext\numeric_score\main.php(155): Image::by_id('1') #1 C:\xampp\htdocs\shimmie\core\send_event.php(113): NumericScore->onPageRequest(Object(PageRequestEvent)) #2 C:\xampp\htdocs\shimmie\index.php(82): send_event(Object(PageRequestEvent)) #3 {main} thrown in C:\xampp\htdocs\shimmie\core\imageboard\image.php on line 103 |
b1f37f1 should fix that last issue |
it worked, had to comment the original line though, thanks a lot! |
This is occurring an a relatively new shimmie install of only a few days old, but it appears that only the popular by tabs are not working. All they do is go to a white screen, however all other pages are working splendidly. Changing themes didn't do anything either, currently settled on Danbooru2. This is using the current latest version of shimmie with mysql and apache.
The text was updated successfully, but these errors were encountered: