Jump to content
Sign in to follow this  
Moonlight

Need urgent help with x-sell contrib

Recommended Posts

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 by Moonlight

26 contributions installed - - And counting ....

 

Just want to take this time to extend my appreciation to everyone who have patiently answered my questions over the months of working on my site. I hope to be able to "pass it forward" and help new folks.

Share this post


Link to post
Share on other sites

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.


26 contributions installed - - And counting ....

 

Just want to take this time to extend my appreciation to everyone who have patiently answered my questions over the months of working on my site. I hope to be able to "pass it forward" and help new folks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×