
Forum de support de ClanFree.net
Vous n'êtes pas identifié.
Bonjour,
Je souhaiterais installer psychostats 3.0.6b, cependant, je rencontre un problème lors de l'étape 6, en effet, il me demande le chemin absolut et non relatif:
STEP 6: Verifying themes can compile
Current Path: /tmp/ps_themes_compiled
Permissions: 000
PsychoStats uses compiled themes in order to increase page performance. This requires a directory that must be writable by the web server. By default PsychoStats will try to use the system temp directory but this does not always work for everyone. So, if themes are failing you can change the path below.
It's best to enter full absolute paths in the input below. Relative paths may not work properly.
Path:
Specified direcory IS NOT writable!
Attempting to skip this step will result in your stats NOT working at all.
In linux environments this is usually very easy to fix. Simply login to this server and issue the following command (make sure it's all on ONE line):
chmod 777 /tmp/ps_themes_compiled
However, if the current path is the system directory then you might not be able to change the permissions on the directory. You should try setting the path to a sub directory of your stats site (for example, try entering "themes_compiled" in the field above) Then click the 'Test' button below to see if it works.
Y'aurait-il qqn qui a la solution ? Merci
Hors ligne
Eh bien, tout simplement, tu n'as pas accès a /tmp 
Normal, donc installe psychostats sur ton répertoire (qui est, en absolu, /var/www/toncompte.clanfree.net/)
Hors ligne
Merci beaucoup de ta réponse rapide. Ca fonctionne nickel ^^
Hors ligne
Hors ligne
Autre petit problème, je dois lancer un script perl pour générer les stats comme dit sur le site de psychostats. Il faut donc configurer un fichier stats.cfg : Mon soucis est que je n'ai pas l'adresse sql et "localhost" ne semble pas fonctionner.
# stats.cfg should ONLY contain basic database settings.
# any other configuration settings will be ignored.
dbtype = mysql
dbhost = localhost
dbport =
dbname = psychostats
dbuser = ps3
dbpass =
dbtblprefix = ps_
Est-il possible d'accéder à la base via une autre URL ?
Merci d'avance
Hors ligne
Si, cela marche parfaitement; Suis les instruction dans ton compte pour accéder à ta base de données.
Hors ligne
J'ai beau regardé mais je ne trouve pas de solutions à mon problème. Je précise que le script perl s'exécute sur mon pc qui génére les stats pour les rentrer sur la base sql qui est à distance. Donc si je met localhost dans l'hôte, je pense (dis moi si je me trompe) que le localhost, dans ce cas, est mon pc.
Hors ligne
Ah non, ça c'est pas possible. Il n'y a aucun accès extérieur a la base de donnée.
Par contre, tu peux faire tourner du perl sur le serveur.
Hors ligne
Perl et moi, on est pas ami lol. je vais voir comment je peux faire. Encore merci pour tes réponses.
Hors ligne