Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need urgent help with x-sell contrib


Guest

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
Link to comment
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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...