Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

xsell


cott

Recommended Posts

Posted

new at this

recently installed oscommerce and added xsell module as our store need cross selling.the error we get when we tried to enable a cross selling product isInternal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

 

More information about this error may be available in the server error log.

 

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

 

--------------------------------------------------------------------------------

 

Apache/1.3.37 Server at www.xxxxxxxxxxxxx.com Port 80

 

 

can somebody help

Posted

When following the steps to add XSELL to my OS Commerce site, I get the below error when trying save /admin/includes/functions/general.php

 

"Not Acceptable

An appropriate representation of the requested resource /admin/file_manager.php could not be found on this server.

 

Apache/1.3.37 Server at www.gdhjwgd.com Port 80"

 

I am trying to add the following code to it:

 

//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

 

 

 

 

new at this

recently installed oscommerce and added xsell module as our store need cross selling.the error we get when we tried to enable a cross selling product isInternal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

 

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

--------------------------------------------------------------------------------

 

Apache/1.3.37 Server at www.xxxxxxxxxxxxx.com Port 80

can somebody help

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...