Jump to content

Pb installation sur Amen


Recommended Posts

Bonjour,

 

je suis chez Amen en hébergement mutualisé pro,

j'ai dézippé prestashop dans le répertoire /public/www/prestashop/

 

Malheureusement quand je procède à l'installation en tapant :

http://www.louiseetcapucine.fr/prestashop/install/

 

j'ai ce message d'erreur qui apparait :

"Not Found

 

The requested URL /prestashop/install/ was not found on this server."

 

Ca fait plusieurs jours que je m'arrache les cheveux mais rien n'y fait.

 

 

Si quelqu'un pouvait m'aider ;)

 

Merci,

Olivier.

Link to comment
Share on other sites

J'ai résolu le 1er problème, maintenant j'en ai un autre de problème.. :

 

* @copyright 2007-2011 PrestaShop SA * @version Release: $Revision: 11128 $ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past if (function_exists('date_default_timezone_set')) date_default_timezone_set('Europe/Paris'); /* Redefine REQUEST_URI if empty (on some webservers...) */ $_SERVER['REQUEST_URI'] = str_replace('//', '/', $_SERVER['REQUEST_URI']); if (!isset($_SERVER['REQUEST_URI']) || $_SERVER['REQUEST_URI'] == '') $_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME']; if ($tmp = strpos($_SERVER['REQUEST_URI'], '?')) $_SERVER['REQUEST_URI'] = substr($_SERVER['REQUEST_URI'], 0, $tmp); define('INSTALL_VERSION', '1.4.7.0'); define('MINIMUM_VERSION_TO_UPDATE', '0.8.5'); define('INSTALL_PATH', dirname(__FILE__)); if (version_compare(phpversion(), '5.0.0', '<')) { echo '

PrestaShop requires PHP5 or later, you are currently running: '.phpversion().'

'.lang('If you do not know how to enable it, use our turnkey solution PrestaBox at').' http://www.prestabox.com.

'; die; } require_once(dirname(__FILE__).'/../config/autoload.php'); require_once(INSTALL_PATH.'/classes/ToolsInstall.php'); require_once(INSTALL_PATH.'/classes/GetVersionFromDb.php'); /* Prevent from bad URI parsing when using index.php */ $requestUri = str_replace('index.php', '', $_SERVER['REQUEST_URI']); $tmpBaseUri = substr($requestUri, 0, -1 * (strlen($requestUri) - strrpos($requestUri, '/')) - strlen(substr(substr($requestUri,0,-1), strrpos( substr($requestUri,0,-1),"/" )+1))); define('PS_BASE_URI', $tmpBaseUri[strlen($tmpBaseUri) - 1] == '/' ? $tmpBaseUri : $tmpBaseUri.'/'); define('PS_BASE_URI_ABSOLUTE', 'http://'.ToolsInstall::getHttpHost(false, true).PS_BASE_URI); /* Old version detection */ $oldversion = false; $sameVersions = false; $tooOld = true; $installOfOldVersion = false; if (file_exists(INSTALL_PATH.'/../config/settings.inc.php')) { require_once(INSTALL_PATH.'/../config/settings.inc.php'); $oldversion =_PS_VERSION_; // fix : complete version number if there is not all 4 numbers // for example replace 1.4.3 by 1.4.3.0 // consequences : file 1.4.3.0.sql will be skipped if oldversion = 1.4.3 // @since 1.4.4.0 $arrayVersion = preg_split('#\.#', $oldversion); $versionNumbers = sizeof($arrayVersion); if ($versionNumbers != 4) $arrayVersion = array_pad($arrayVersion, 4, '0'); $oldversion = implode('.', $arrayVersion); // end of fix $tooOld = (version_compare($oldversion, MINIMUM_VERSION_TO_UPDATE) == -1); $sameVersions = (version_compare($oldversion, INSTALL_VERSION) == 0); $installOfOldVersion = (version_compare($oldversion, INSTALL_VERSION) == 1); } require_once(INSTALL_PATH.'/classes/LanguagesManager.php'); $lm = new LanguageManager(dirname(__FILE__).'/langs/list.xml'); $_LANG = array(); $_LIST_WORDS = array(); function lang($txt) { global $_LANG , $_LIST_WORDS; return (isset($_LANG[$txt]) ? $_LANG[$txt] : $txt); } if ($lm->getIncludeTradFilename()) require_once($lm->getIncludeTradFilename()); ?>

 

Merci de votre aideeee ! ;)

Link to comment
Share on other sites

Bonjour

 

Vous avez le php5 ? vu les erreurs que je vois vous avez pas de php5 activé, vérifiez si vous n'avez pas besoin de créer un fichier .htaccess pour le php5.

 

Votre poste précédents est arriver pendant que j'ai écris, vous n'avez rien résolu.

 

The requested URL /prestashop/install/ was not found on this server.

Link to comment
Share on other sites

A priori oui, voici ce que dit mon hébergeur :

 

Version actuellement installée sur votre hébergement

PHP : Revision 5.2.6

 

Manuel officiel sur php.net

Modules PHP installés

API Php MySQL : Revision 5.0.51a

 

 

Perl : Revision 5.10.0

 

parcours : /usr/bin/perl

Modules Perl installés

 

Python: Revision 2.5.2

 

Modules Python installés

 

Ruby: Revision 1.8.7

 

Modules Ruby installés

 

Voici ce que j'ai mis dans mon fichier .htacess mais ça ne fonctionne toujours pas :

 

#Put the line here to enable PHP5

 

#You may need to un-comment the following line

 

#Options +FollowSymlinks

# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE

RewriteEngine On

 

#REWRITE BASE

RewriteBase /

 

# HERE IS A GOOD PLACE TO ADD THE WWW PREFIXE REDIRECTION

 

# HERE IS A GOOD PLACE TO ADD THE OLD SCRIPT REDIRECTION

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.+)$ index.php

Link to comment
Share on other sites

Bonjour

 

 

Comme c'est écris là :

#Put the line here to enable PHP5 = Mettez la ligne ici pour activer PHP5

 

Voir avec Amen quel est la ligne à mettre dans le fichier .htaccess

 

 

Le problème que vous avez ne concerne pas prestashop.

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