MagPieRSS
Posté : 10 août 2005, 17:48
salut
je suis en train d'ajouter un outil d'intégration RSS "MagPieRSS" pour récupérer des flux RSS sur mon site perso.
je me heurte au pb:
bien sûr, avant de poster ici, j'ai vérifé sur le site du magpierss qui dit en anglais mais je ne comprends pas .
qui pourrait m'aider?
Cordialement
Cypher_PHP
je suis en train d'ajouter un outil d'intégration RSS "MagPieRSS" pour récupérer des flux RSS sur mon site perso.
je me heurte au pb:
bien sûr, avant de poster ici, j'ai vérifé sur le site du magpierss qui dit en anglais mais je ne comprends pas .
qui pourrait m'aider?
Voici le message d'erreur:Where is the cache directory?
By default Magpie will attempt to create a directory named 'cache' in the working directory of the PHP script which invoked it. That is to say, if you have a script named blog.php that resides at /var/www/mysite/blog.php that uses Magpie, Magpie will attempt to create the cache directory /var/www/mysite/cach
You can override this default with
define('MAGPIE_CACHE_DIR', '/var/foo/magpie/cache/dir/for/example');
How do I know if caching is working?
Check inside your cache directory for files with names like '25cd55bbc2766c84b57a3302daa8ba2e'
Alternately if you can't find a cache directory try turning on debugging (see: How to debug Magpie), and look for an error message "Cache couldn't make dir ...."
Caching doesn't seem to be working, whats wrong?
Is is a very frequent question. A number of things could be wrong, the most common is that the your web server does not have permission to write to your working directory. In this case you'll want to manually create the cache directory and make it web writeable. How to do this varies from platform to platform, and host to host, but the basic idea is:
mkdir /var/www/mysite/cache;
chown _web-user_:_web-group_ /var/www/mysite/cache;
Code : Tout sélectionner
Cache couldn't make dir './cache'. Cache unable to open file for writing: ./cacheif ( !defined('MAGPIE_CACHE_DIR') ) {
define('MAGPIE_CACHE_DIR', './cache');
}
Merci bcpCordialement
Cypher_PHP