Golden Sun Hacking Community

Golden Sun Hacking Community => Feedback => Topic started by: Daddy Poi's Oily Gorillas on 25, April, 2017, 02:04:50 PM

Title: Fatal error on homepage
Post by: Daddy Poi's Oily Gorillas on 25, April, 2017, 02:04:50 PM
Might as well post this here since it has been there for some time. (And for documentation purposes, I guess. :P)

On the home page of this site, you see:

"Fatal error: Call to undefined function Downloads_GetStarsByPrecent() in /home/content/a/t/r/atriusv/html/forum/Sources/Downloads.php on line 5275"

at the bottom.

It just came to my attention that there is a typo.

Downloads_GetStarsByPrecent()


If you call Downloads_GetStarsByPercent() instead, would it work?


(Do note that precent and percent are both valid words, but percent fits this context.)
Title: Re: Fatal error on homepage
Post by: Atrius on 25, April, 2017, 05:18:08 PM
You would think, but no, it uses the incorrect spelling.  The Downloads_ at the beginning of the function name is new though since it's been updated to the newer version.
Title: Re: Fatal error on homepage
Post by: Daddy Poi's Oily Gorillas on 25, April, 2017, 08:35:42 PM
Oh cool. That was a quick reply! (Check your emails often?)

And thanks for fixing it! It looks shiny now. Is that what causes the database error when uploading patches? (Haven't uploaded anymore since then...) ... If not, then I reckon that broke due to the newer Downloads version? (The Download does still get posted though, as seen with the Stat-boost patch, so no worries there.)