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
Mime types broke my feeds #818
Comments
Didn't know is_file could pose an issue on some shared hosts, that mean we need additional checks before calling that fonction. I'll look into this. Meanwhile, please put error_reporting(0); on top of index.php to mute the warning, that should restore your feeds |
Works perfectly ! :) Thanks! |
According to this thread (https://stackoverflow.com/questions/21427211/) there is no proper way of checking if a file can be accessed, other than manually parsing the if(@is_readble('/etc/mime.types')) {
//... I know using |
Would a |
After some research, I managed to enable |
@Kourai Can you confirm the bug is fixed in master? |
Hey! Sorry for the delay, I wasn't home this weekend! Thanks again for fixing things so quickly! ❤️ |
I just update to the latest release, and since then, several of my feeds seems to be broken.
I Can't access them using firefox (it just download a text file).
Chrome seems to display the text file directly.
All of text files have something in comon and begin with 👍
<br /> <b>Warning</b>: is_file(): open_basedir restriction in effect. File(/etc/mime.types) is not within the allowed path(s): (/home/users3/j/[my_id]:/home/temporaire/upload:/tmp:/usr/local/lib/php:/usr/local/lib/ZFramework:/dev/urandom) in <b>/home/users3/j/[my_id]/www/kourai/rss-bridge/lib/contents.php</b> on line <b>172</b><br />
(Then, it's the regular
<?xml version="1.0" encoding="UTF-8"?>
that I expected)Most of the broken one are using the wordpress bridge, or the Instagram bridge.
I'm on a shared host, so there's no way I can modify my open_basedir configuration...
Any idea ?
(Other wise, I'll just rollback to the previous version!)
The text was updated successfully, but these errors were encountered: