Jump to content

changing server bug in admin category


Recommended Posts

hi all

I take a moment this morning to transfert my prestashop from an old hoster to a new (ovh), in first i have uploaded all files in the same patch than the first installation (/boutique)

second i take an export from the database to import it in the new server,

finaly i make changement in the file "setting.inc.php"

in final all front work perfectly, i can connect on backoffice, right, but in category "paiement / MODULES (infrench)"

i have thoses errors :



voila j ai basculer ma boutique d’un serveur (mutualisé) vers un autre (mutualisé) les repertoires sont les mêmes (/boutique) j’ai donc basculé tous les fichier, basculé la base de donnée.

ensuite j’ai édité le fichier setting.inc.php,

Warning: require_once(/homez.313/aixtremm/www/boutique/config/../classes/blockcontact.php) [function.require-once]: failed to open stream: No such file or directory in /homez.313/aixtremm/www/boutique/config/config.inc.php on line 20

Fatal error: require_once() [function.require]: Failed opening required '/homez.313/aixtremm/www/boutique/config/../classes/blockcontact.php' (include_path='.:/usr/local/lib/php') in /homez.313/aixtremm/www/boutique/config/config.inc.php on line 20



i don't know how to repare this, the bug is become from this function in config.inc.php :

/* Autoload */
function __autoload($className)
{
   if (!class_exists($className, false))

       require_once(dirname(__FILE__).'/../classes/'.$className.'.php');
}

Link to comment
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
×
×
  • Create New...