zelon88 / HRCloud2

A full-featured home hosted Cloud Drive, Personal Assistant, App Launcher, File Converter, Streamer, Share Tool & More!
https://www.HonestRepair.net
GNU General Public License v3.0
209 stars 44 forks source link

Logs give errors #20

Closed zelon88 closed 6 years ago

zelon88 commented 6 years ago

Logs will either give 404, or commonCore.php not found.

Working on it!

zelon88 commented 6 years ago

Fixed in commit 9b8508b665025e1de171b54d14f996c1240ad36d and 3deffc44fb60d5cd969a827ac84c5622a529dc16, v2.3.3.

Relative paths were still incorrect, so the previous attempt to fix this issue was unsucessful.

The fix addresses this by giving HRC2 a criteria for formatting relative paths in the generated .index.php file. This also has the side-benefit of making HRCloud2 more platform and directory structure independent.

Users may still notice that their logs don't display for up to 24 hours after updating HRCloud2. The log files still exist, but the .index file inside the log directory is going to be corrupt. Deleting the .index.php file inside of an affected log directory will force HRCloud2 to regenerate the file using the updated format which should resolve the issue and properly display the logs from the affected date.