Bonjour,
Je voudrais installer le script Affiliationally pour faciliter les ajouts de partenaires sur mon site. J'ai suivi la procédure mais j'ai toujours un message d'erreur.
Le script :https://inspirationally.net/?affiliationally
vu que free n'accepte pas le chmod 777, j'ai mis le dossier 'sessions" à la racine du site
et voici ceuc que j'ai modifié dans le fichier config.
<?php
$affadmin_password = 'password';// change the admin password here!
$affadminname = 'Hailey';// put in your name appearing in email notifications here!
$affpath = '/home/paradiseproduction/public_html/affiliationally/';// the path to your affiliationally installation including trailing slash
$affurl = 'http://paradiseproduction.free.fr/affiliationally/';// the url to your affiliationally installation
$affdatabase_server = 'localhost';//usually localhost
$affdatabase = ' paradiseproduction';//your database
$affdatabase_user = ' paradiseproduction';//database username
$affdatabase_password = 'password';//your top secret password
$afftableprefix = 'affiliationally_';//the prefix in front of your table names - change it if you have multiple installations of affiliationally
// how to display headlines. Mask a " with a \ before, like class=\"bla\"
$affbeforeheadline = '<h3>';
$affafterheadline = '</h3>';
// some other individual settings - set to yes or no
$affopennewwindow = 'yes'; //do you want to open links in a new window? (not xhtml valid!)
$affspamprotection = 'yes'; // do you want the mathmatics spam protection?
// connect to database
mysql_connect($affdatabase_server,$affdatabase_user,$affdatabase_password);
mysql_select_db($affdatabase) or die( "Unable to select database");
?>
Et j'ai ce message d'erreur en haut de la page
Warning: main() [function.main]: open_basedir restriction in effect. File(/home/paradiseproduction/public_html/affiliationally/functions.php) is not within the allowed path(s): (/mnt/142/sda/a/7/paradiseproduction) in /mnt/142/sda/a/7/paradiseproduction/affiliationally/index.php on line 19
Warning: main(/home/paradiseproduction/public_html/affiliationally/functions.php) [function.main]: failed to open stream: Operation not permitted in /mnt/142/sda/a/7/paradiseproduction/affiliationally/index.php on line 19
Warning: main() [function.include]: Failed opening '/home/paradiseproduction/public_html/affiliationally/functions.php' for inclusion (include_path='/mnt/142/sda/a/7/paradiseproduction/include:.:/usr/php4/lib/php') in /mnt/142/sda/a/7/paradiseproduction/affiliationally/index.php on line 19
et quand je veux créer une nouvelle catégorie
Fatal error: Call to undefined function: clean() in /mnt/142/sda/a/7/paradiseproduction/affiliationally/index.php on line 1051
Je suis certaine qu'il est possible d'utiliser ce script sur Free car j'ai vu de nombreux hébergé sous free ui le posséder.