Guest Posted February 24, 2007 Share Posted February 24, 2007 (edited) Hi, Just installed x-sell 2.3 contrib I think the error is when I added this (last step of the instructions). It doesn't say WHERE in the file to add it, so I added it at the end, before the last ?> //Cache function rdel($path, $deldir = true) { // $path est le chemin relatif au fichier php // $deldir (paramètre optionel, par défaut à vrai) permet de dire si vous souhaitez supprimer le répertoire (vrai) ou le vider uniquement (faux) // on vérifie d'abord que le nom du repertoire contient "/" à la fin, sinon on le lui rajoute if ($path[strlen($path)-1] != "/") $path .= "/"; if (is_dir($path)) { $d = opendir($path); while ($f = readdir($d)) { if ($f != "." && $f != "..") { $rf = $path . $f; // chemin relatif au fichier php if (is_dir($rf)) // si c'est un répertoire on appel récursivement la fonction rdel($rf); else // sinon on efface le fichier unlink($rf); } } closedir($d); if ($deldir) // si $deldir est vrai on efface le répertoire rmdir($path); } else { unlink($path); } } //Fin cache Now, in my Admin, I have this error at the very top of the window: Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/moonligh/public_html/catalog/boss/includes/filenames.php:90) in /home/moonligh/public_html/catalog/boss/includes/functions/sessions.php on line 67 What does it mean and what can I do ????? What I don't understand is why that code is in French ???? Does that make any difference? I also can't FIND the x-sell part in Admin panel ... Edited February 24, 2007 by Moonlight Quote Link to comment Share on other sites More sharing options...
Guest Posted February 24, 2007 Share Posted February 24, 2007 I think I may have it fixed ..... I changed a few things, but I don't know which fixed it: Fixed my cache directory mistake Had line spaces after the ?> in a few files ... even though I always try to eliminate those. Everything seems fine ... now will try and make this puppy work. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.