Skip to content
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

Actualisation des flux pour les utilisateurs standards #759

Closed
gu1ll0me opened this issue Jan 20, 2015 · 4 comments
Closed

Actualisation des flux pour les utilisateurs standards #759

gu1ll0me opened this issue Jan 20, 2015 · 4 comments
Assignees
Milestone

Comments

@gu1ll0me
Copy link

Je fais face à un problème depuis la version 0.9.4. Les flux des utilisateurs (autre que celui créé lors de l'installation) ne s'actualisent plus automatiquement. L'actualisation fonctionne bien si l'utilisateur le fait manuellement à l'aide du bouton "Actualisation" de la page principale. Rien d'anormal du côté de l'utilisateur par défaut, les flux s'actualisent correctement.

La sortie du script actualize_script.php ne semble pas être anormale en dehors des avertissements d'accès PHP. Un OK s'affiche même à côté des autres utilisateurs. Lorsque lancé manuellement, le script bloque à Actualize [utilisateur par défaut]... et passe rapidement sur les autres utilisateurs.

Starting feed actualization at 2015-01-20T12:15:28-05:00
PHP Warning: file_exists(): open_basedir restriction in effect. File(/usr/share/webapps/freshrss/extensions/.gitignore/metadata.json) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/) in /usr/share/webapps/freshrss/lib/Minz/ExtensionManager.php on line 62
PHP Warning: file_exists(): open_basedir restriction in effect. File(/usr/share/webapps/freshrss/extensions/README.md/metadata.json) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/) in /usr/share/webapps/freshrss/lib/Minz/ExtensionManager.php on line 62
PHP Notice: Undefined index: allow_anonymous in /usr/share/webapps/freshrss/app/Models/ConfigurationSetter.php on line 284
Actualize [défaut]...
Actualize [user1]...
Actualize [user2]...
Done.
Ending feed actualization at 2015-01-20T12:15:29-05:00
Feed actualizations took 0 day(s), 0 hour(s), 0 minute(s) and 1 seconds for 3 users
Results:
[défaut] OK
[user1] OK
[user2] OK
End.

@Alkarex Alkarex added this to the 0.10-dev milestone Jan 20, 2015
Alkarex referenced this issue Jan 20, 2015
Add a lot of comments to explain how work the FRSS front controller and
the order of initializations.

Fix #745
@Alkarex
Copy link
Member

Alkarex commented Jan 20, 2015

Should block #733

Alkarex added a commit that referenced this issue Jan 20, 2015
…init

#759
Suggestion: the static objects should be user-independent (or at least
with the possibility to be re-set), while the FreshRSS object and its
attributes should be user-dependent.
@Alkarex
Copy link
Member

Alkarex commented Jan 20, 2015

I have made a fix 12081f7
A cleaner approach should be taken later, by improving the FreshRSS constructor/init to allow changing user (which does not seem to be possible anymore after the refactoring of the configuration system).
Anyway, it should work now in the /dev branch, or you can manually apply the patch (this one-line new Minz_ModelPdo($user); should be enough 12081f7#diff-816c57ffccf077227e8272bdac0cdeedR58 )

@gu1ll0me
Copy link
Author

Fix appliqué et problème réglé. La mise à jour automatique de tous les utilisateurs se fait maintenant normalement. Merci.

@Alkarex
Copy link
Member

Alkarex commented Jan 21, 2015

Discussion for the FreshRSS constructor/init in #763

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants