osCommerce France : Accueil Forum Portail osCommerce France Réponses aux questions Foire aux contributions

Bienvenue invité ( Connexion | Inscription )

2 Pages V   1 2 >  
Reply to this topicStart new topic
> pb meme gro pb admin
tikanot
posté 16 Jun 2005, 22:52
Message #1


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 97
Inscrit : 15-June 05
Lieu : orléans
Membre no 6213



bonjour
j ai un tres gros je peu plus administrer mon site internet sous oscommerce
le probleme c est que hier un fichier nommer file_manager.php a ete enlever par erreur de l admin et en voulan annuler maintenant l admin ne marche plus j ai essayer de changer tout les fichier de l admin par ceu que l on trouve sur ce site maintenan cela ma fai ca

evil.gif twisted.gif excl.gif arrow.gif
Unable to connect to database server!

byzare vraimen
en plus mon site est toujour consultable
par contre moi je peu rien y rajouter et meme pas y toucher et voir mes commandes etc.... merci de votre aide
et es ce que le mot de passe changera etc... si ca remarche
Go to the top of the page
 
tikanot
posté 16 Jun 2005, 22:55
Message #2


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 97
Inscrit : 15-June 05
Lieu : orléans
Membre no 6213



par contre si je tappe cette commande
www.monsite.fr/admin/includes
ca me donne ca

Index of /admin/includes
Parent Directory
application_bottom.php
application_top.php
boxes
classes
column_left.php
configure.php
database_tables.php
filenames.php
footer.php
functions
general.js
graphs
header.php
javascript
languages
local
modules
stylesheet.css



es ce possible de faire que cela remarche correctement
merci de votre aide
Go to the top of the page
 
xaglo
posté 16 Jun 2005, 23:02
Message #3


5eme dan OSC
Icône de groupe

Groupe : Administrateur
Messages : 14914
Inscrit : 22-November 02
Membre no 610



si tu as remplacé tout tes fichiers de l'admin par des originaux, alors ton configure.php n'est plus paramétré correctement

édite admin/includes/configure.php et corrige le


--------------------
Ni Hot-line ni Service Après Vente, ces forums sont un lieu d'échanges.
Une Question? Rechercher / FAQ / docV1.pdf / docV2.pdf / contributions
Go to the top of the page
 
tikanot
posté 16 Jun 2005, 23:02
Message #4


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 97
Inscrit : 15-June 05
Lieu : orléans
Membre no 6213



ou es ce qu il y a pas un fichier dans l admin ou je dois mettre mon mot de passe de mon login par esemple je trouve ca byzare que l admin ne marche
mar par contre que lui le site il fonctionne
mais sans l admin c est chian
Go to the top of the page
 
tikanot
posté 16 Jun 2005, 23:04
Message #5


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 97
Inscrit : 15-June 05
Lieu : orléans
Membre no 6213



et ca devrai marcher en faisant ca et merci de ta reponse je dois modifier quoi precisement ca fai meme une semaine que je m enser et premiere fois que ca fai ca
Go to the top of the page
 
xaglo
posté 16 Jun 2005, 23:04
Message #6


5eme dan OSC
Icône de groupe

Groupe : Administrateur
Messages : 14914
Inscrit : 22-November 02
Membre no 610



desolégépastoutkompriscequetudis


--------------------
Ni Hot-line ni Service Après Vente, ces forums sont un lieu d'échanges.
Une Question? Rechercher / FAQ / docV1.pdf / docV2.pdf / contributions
Go to the top of the page
 
tikanot
posté 16 Jun 2005, 23:07
Message #7


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 97
Inscrit : 15-June 05
Lieu : orléans
Membre no 6213



excuse moi avec le peu de sommeil que j ai je t disai merci et je te demandais ce que je devai modifier exactement a ce fichier
Go to the top of the page
 
xaglo
posté 16 Jun 2005, 23:10
Message #8


5eme dan OSC
Icône de groupe

Groupe : Administrateur
Messages : 14914
Inscrit : 22-November 02
Membre no 610



arrow.gif FAQ


--------------------
Ni Hot-line ni Service Après Vente, ces forums sont un lieu d'échanges.
Une Question? Rechercher / FAQ / docV1.pdf / docV2.pdf / contributions
Go to the top of the page
 
tikanot
posté 16 Jun 2005, 23:13
Message #9


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 97
Inscrit : 15-June 05
Lieu : orléans
Membre no 6213



j avai sauvegarder ce fichier comme il etai parametrer au debut et que cela marcher mais ca me met toujour ca

Unable to connect to database server!
Go to the top of the page
 
tikanot
posté 16 Jun 2005, 23:17
Message #10


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 97
Inscrit : 15-June 05
Lieu : orléans
Membre no 6213



maintenant ca me met ce message la d erreur
doit y avoir un autre fichier a parametrer

1146 - Table monsite_fr1.configuration' doesn't exist

select configuration_key as cfgKey, configuration_value as cfgValue from configuration
Go to the top of the page
 
Ryu007
posté 17 Jun 2005, 02:26
Message #11


Ceinture marron OSC
Icône de groupe

Groupe : Membres
Messages : 1385
Inscrit : 3-June 04
Lieu : Saint-mandé
Membre no 2597



Bonjour,

Ouaie, ça tourne autour du pot ici ...

En réalité, si tu avais écouté après une bonne nuit de sommeil, les conseils de Xaglo, tu aurais compris que c'est normal que ton site marche et que ton administration ne marche plus !

Tu as écrasé tous les fichiers du dossier 'admin' (enfin tu as dut changer le nom) donc ton fichier *admin*/includes/configure.php qui permettait de te connecter à la base de donnée n'est plus valide !

Donc il te suffit de reprendre ton catalog/includes/configure.php pour faire des copier/coller des informations contenues dedans pour celui de l'administration (attention, il n'y a pas le meme nombre de define entre les deux, donc à toi de te debrouiller à partir de là)

Cordialement

P.S : si tu ne t'en sors toujours pas ... relance une réinstalle de oscommerce (ça éditera tes 2 fichiers configure.php pour toi) ...


--------------------
Image IPB Image IPB
Go to the top of the page
 
tikanot
posté 17 Jun 2005, 05:37
Message #12


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 97
Inscrit : 15-June 05
Lieu : orléans
Membre no 6213



BONJOUR merci j ai justement fais ce qu il a dis et j ai meme dis que avan d ecrasser j avai sauvegarder certain fichier , relis juste avant que tu reponde et avec le fichier config que j ai repris de quand j arriver a aller dans admin j ai mis l erreur que cela me met maintenant
Go to the top of the page
 
tikanot
posté 17 Jun 2005, 13:20
Message #13


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 97
Inscrit : 15-June 05
Lieu : orléans
Membre no 6213



donc pour recapitluer
j ai fais ce qui estt di dans le faq comme vous venez de me conseiller , avec le fichier config de avec les bonne information de dans
maintenan ca me ce message d errreur et cela n ouvre pas l administration

1146 - Table monsite_fr1.configuration' doesn't exist

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

donc si tu aurai bien lu au lieu de dire ca tourne au tour du pos les conseils donné je les ai suivi mais maintenan nouveau probleme !!!! que dire a ca
Go to the top of the page
 
MCS77
posté 17 Jun 2005, 20:51
Message #14


Ceinture verte OSC
Icône de groupe

Groupe : Membres
Messages : 624
Inscrit : 5-July 02
Lieu : Mulhouse
Membre no 284



Salut,
tikanot

arrow.gif pour avoir de l' aide affiches nous tes deux configure.php pour voir smile.gif
a+


--------------------
MS1 Créalod 5 Quick_update, Quick_add_products, UpdateCSV
Go to the top of the page
 
tikanot
posté 17 Jun 2005, 21:18
Message #15


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 97
Inscrit : 15-June 05
Lieu : orléans
Membre no 6213



salut merci de ton aide , je crois que le probleme viens aussi du fichier configuration qui est dans admin que je n ai pas modifier la suis pas sur le pc sur lequelle j ai recuperer certain fichier donc voila ,
sinon pour t dire j ai remodifier le fichier catalog/includes/ config.php
maintenant sur mon site j ai un message en haut d attention qui me dit que l on peut modifier le fichier config etc.. que mon site n est pas proteger
dis moi si j avance
Go to the top of the page
 
tikanot
posté 17 Jun 2005, 21:31
Message #16


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 97
Inscrit : 15-June 05
Lieu : orléans
Membre no 6213



voila j t' affiche mes 3fichiers: si tu peux m aider et me mettre ce que je dois corriger


fichier admin/configuration.php



CODE
<?php
/*
 $Id: configuration.php,v 1.43 2003/06/29 22:50:51 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 [URL=http://www.oscommerce.com]http://www.oscommerce.com[/URL]

 Copyright © 2003 osCommerce

 Released under the GNU General Public License
*/

 require('includes/application_top.php');

 $action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : '');

 if (tep_not_null($action)) {
   switch ($action) {
     case 'save':
       $configuration_value = tep_db_prepare_input($HTTP_POST_VARS['configuration_value']);
       $cID = tep_db_prepare_input($HTTP_GET_VARS['cID']);

       tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . tep_db_input($configuration_value) . "', last_modified = now() where configuration_id = '" . (int)$cID . "'");

       tep_redirect(tep_href_link(FILENAME_CONFIGURATION, 'gID=' . $HTTP_GET_VARS['gID'] . '&cID=' . $cID));
       break;
   }
 }

 $gID = (isset($HTTP_GET_VARS['gID'])) ? $HTTP_GET_VARS['gID'] : 1;

 $cfg_group_query = tep_db_query("select configuration_group_title from " . TABLE_CONFIGURATION_GROUP . " where configuration_group_id = '" . (int)$gID . "'");
 $cfg_group = tep_db_fetch_array($cfg_group_query);
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo TITLE; ?></title>
<link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
<script language="javascript" src="includes/general.js"></script>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF" onload="SetFocus();">
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->

<!-- body //-->
<table border="0" width="100%" cellspacing="2" cellpadding="2">
 <tr>
   <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="1" cellpadding="1" class="columnLeft">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
   </table></td>
<!-- body_text //-->
   <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
     <tr>
       <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
         <tr>
           <td class="pageHeading"><?php echo $cfg_group['configuration_group_title']; ?></td>
           <td class="pageHeading" align="right"><?php echo tep_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
         </tr>
       </table></td>
     </tr>
     <tr>
       <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
         <tr>
           <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
             <tr class="dataTableHeadingRow">
               <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_CONFIGURATION_TITLE; ?></td>
               <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_CONFIGURATION_VALUE; ?></td>
               <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_ACTION; ?>&nbsp;</td>
             </tr>
<?php
 $configuration_query = tep_db_query("select configuration_id, configuration_title, configuration_value, use_function from " . TABLE_CONFIGURATION . " where configuration_group_id = '" . (int)$gID . "' order by sort_order");
 while ($configuration = tep_db_fetch_array($configuration_query)) {
   if (tep_not_null($configuration['use_function'])) {
     $use_function = $configuration['use_function'];
     if (ereg('->', $use_function)) {
       $class_method = explode('->', $use_function);
       if (!is_object(${$class_method[0]})) {
         include(DIR_WS_CLASSES . $class_method[0] . '.php');
         ${$class_method[0]} = new $class_method[0]();
       }
       $cfgValue = tep_call_function($class_method[1], $configuration['configuration_value'], ${$class_method[0]});
     } else {
       $cfgValue = tep_call_function($use_function, $configuration['configuration_value']);
     }
   } else {
     $cfgValue = $configuration['configuration_value'];
   }

   if ((!isset($HTTP_GET_VARS['cID']) || (isset($HTTP_GET_VARS['cID']) && ($HTTP_GET_VARS['cID'] == $configuration['configuration_id']))) && !isset($cInfo) && (substr($action, 0, 3) != 'new')) {
     $cfg_extra_query = tep_db_query("select configuration_key, configuration_description, date_added, last_modified, use_function, set_function from " . TABLE_CONFIGURATION . " where configuration_id = '" . (int)$configuration['configuration_id'] . "'");
     $cfg_extra = tep_db_fetch_array($cfg_extra_query);

     $cInfo_array = array_merge($configuration, $cfg_extra);
     $cInfo = new objectInfo($cInfo_array);
   }

   if ( (isset($cInfo) && is_object($cInfo)) && ($configuration['configuration_id'] == $cInfo->configuration_id) ) {
     echo '                  <tr id="defaultSelected" class="dataTableRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\'' . tep_href_link(FILENAME_CONFIGURATION, 'gID=' . $HTTP_GET_VARS['gID'] . '&cID=' . $cInfo->configuration_id . '&action=edit') . '\'">' . "\n";
   } else {
     echo '                  <tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\'' . tep_href_link(FILENAME_CONFIGURATION, 'gID=' . $HTTP_GET_VARS['gID'] . '&cID=' . $configuration['configuration_id']) . '\'">' . "\n";
   }
?>
               <td class="dataTableContent"><?php echo $configuration['configuration_title']; ?></td>
               <td class="dataTableContent"><?php echo htmlspecialchars($cfgValue); ?></td>
               <td class="dataTableContent" align="right"><?php if ( (isset($cInfo) && is_object($cInfo)) && ($configuration['configuration_id'] == $cInfo->configuration_id) ) { echo tep_image(DIR_WS_IMAGES . 'icon_arrow_right.gif', ''); } else { echo '<a href="' . tep_href_link(FILENAME_CONFIGURATION, 'gID=' . $HTTP_GET_VARS['gID'] . '&cID=' . $configuration['configuration_id']) . '">' . tep_image(DIR_WS_IMAGES . 'icon_info.gif', IMAGE_ICON_INFO) . '</a>'; } ?>&nbsp;</td>
             </tr>
<?php
 }
?>
           </table></td>
<?php
 $heading = array();
 $contents = array();

 switch ($action) {
   case 'edit':
     $heading[] = array('text' => '<b>' . $cInfo->configuration_title . '</b>');

     if ($cInfo->set_function) {
       eval('$value_field = ' . $cInfo->set_function . '"' . htmlspecialchars($cInfo->configuration_value) . '");');
     } else {
       $value_field = tep_draw_input_field('configuration_value', $cInfo->configuration_value);
     }

     $contents = array('form' => tep_draw_form('configuration', FILENAME_CONFIGURATION, 'gID=' . $HTTP_GET_VARS['gID'] . '&cID=' . $cInfo->configuration_id . '&action=save'));
     $contents[] = array('text' => TEXT_INFO_EDIT_INTRO);
     $contents[] = array('text' => '<br><b>' . $cInfo->configuration_title . '</b><br>' . $cInfo->configuration_description . '<br>' . $value_field);
     $contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_update.gif', IMAGE_UPDATE) . '&nbsp;<a href="' . tep_href_link(FILENAME_CONFIGURATION, 'gID=' . $HTTP_GET_VARS['gID'] . '&cID=' . $cInfo->configuration_id) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
     break;
   default:
     if (isset($cInfo) && is_object($cInfo)) {
       $heading[] = array('text' => '<b>' . $cInfo->configuration_title . '</b>');

       $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_CONFIGURATION, 'gID=' . $HTTP_GET_VARS['gID'] . '&cID=' . $cInfo->configuration_id . '&action=edit') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a>');
       $contents[] = array('text' => '<br>' . $cInfo->configuration_description);
       $contents[] = array('text' => '<br>' . TEXT_INFO_DATE_ADDED . ' ' . tep_date_short($cInfo->date_added));
       if (tep_not_null($cInfo->last_modified)) $contents[] = array('text' => TEXT_INFO_LAST_MODIFIED . ' ' . tep_date_short($cInfo->last_modified));
     }
     break;
 }

 if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) {
   echo '            <td width="25%" valign="top">' . "\n";

   $box = new box;
   echo $box->infoBox($heading, $contents);

   echo '            </td>' . "\n";
 }
?>
         </tr>
       </table></td>
     </tr>
   </table></td>
<!-- body_text_eof //-->
 </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
<br>
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>



voila le deuximeme fichier
admin/includes/configure.php


CODE
<?php
/*
 $Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $

 osCommerce, Open Source E-Commerce Solutions
 [URL=http://www.oscommerce.com]http://www.oscommerce.com[/URL]

 Copyright © 2002 osCommerce

 Released under the GNU General Public License
*/

// define our webserver variables
// FS = Filesystem (physical)
// WS = Webserver (virtual)
 define('HTTP_SERVER', 'http://www.clicknmouse.fr/'); // eg, [URL=http://localhost]http://localhost[/URL] or - [URL=https://localhost]https://localhost[/URL] should not be NULL for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.clicknmouse.fr/');
 define('HTTPS_CATALOG_SERVER', 'http://www.clicknmouse.fr/');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
 define('DIR_WS_ADMIN', '/admin/');
 define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);
 define('DIR_WS_CATALOG', '/');
 define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
 define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
 define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

// define our database connection
 define('DB_SERVER', 'localhost');
 define('DB_SERVER_USERNAME', 'clicknmouse_fr');
 define('DB_SERVER_PASSWORD', 'mon mot de passe');
 define('DB_DATABASE', 'clicknmouse_fr_1');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', '');
?>


et le dernier fichier includes/configure.php

CODE
<?php
/*
 $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 [URL=http://www.oscommerce.com]http://www.oscommerce.com[/URL]

 Copyright © 2003 osCommerce

 Released under the GNU General Public License
*/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://www.clicknmouse.fr/'); // eg, [URL=http://localhost]http://localhost[/URL] - should not be empty for productive servers
 define('HTTPS_SERVER', 'http://www.clicknmouse.fr/'); // eg, [URL=https://localhost]https://localhost[/URL] - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', '');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '');
 define('HTTPS_COOKIE_PATH', '');
 define('DIR_WS_HTTP_CATALOG', '');
 define('DIR_WS_HTTPS_CATALOG', '');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'clicknmouse_fr');
 define('DB_SERVER_PASSWORD', 'mon mot de passe');
 define('DB_DATABASE', 'clicknmouse_fr_1');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
?>


merci d avance de votre aide
Go to the top of the page
 
MCS77
posté 17 Jun 2005, 21:45
Message #17


Ceinture verte OSC
Icône de groupe

Groupe : Membres
Messages : 624
Inscrit : 5-July 02
Lieu : Mulhouse
Membre no 284



QUOTE
maintenant sur mon site j ai un message en haut d attention qui me dit que l on peut modifier le fichier config etc.. que mon site n est pas proteger


ca c' est que tu dois mettre les permissions CHMOD par ton logiciel ftp sur "755"

arrow.gif peux tu rentrer maintenant dans ton admin ?

sinon pour tes deux fichiers mets voir

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

arrow.gif concernant SSL si tu a le SSL tu devrais avoir https
define('HTTPS_SERVER', 'https://www.clicknmouse.fr/'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?

voila
bon code
A+



--------------------
MS1 Créalod 5 Quick_update, Quick_add_products, UpdateCSV
Go to the top of the page
 
tikanot
posté 18 Jun 2005, 11:19
Message #18


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 97
Inscrit : 15-June 05
Lieu : orléans
Membre no 6213



merci pour ta reponse je voulais savoir ou trouver le chmod est mettre les permissions sur 755 ,
pour l instan je ne peu toujour pas aller dans l admin
Go to the top of the page
 
MCS77
posté 18 Jun 2005, 11:35
Message #19


Ceinture verte OSC
Icône de groupe

Groupe : Membres
Messages : 624
Inscrit : 5-July 02
Lieu : Mulhouse
Membre no 284



quel logiciel utilises tu pour tranférer ?
A+


--------------------
MS1 Créalod 5 Quick_update, Quick_add_products, UpdateCSV
Go to the top of the page
 
tikanot
posté 18 Jun 2005, 12:30
Message #20


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 97
Inscrit : 15-June 05
Lieu : orléans
Membre no 6213



pour transfer j utilise soit web ftp de lycos ou sinon je fais du copier coller en ouvrant mon ftp en prenant les fichier sur mon pc et en les mettant direct sur le serveur c est peut etre pas bien de faire comme ca j ai modifier les fichier que ta dis ma page d admi ne souvre toujour pas et sinon dernierement je me ser de leech ftp mais avec ce soft j ai pa trouver commen mettre des fichier sur mon hebergeur
si ta la soluce la je sais plus trop quoi faire
Go to the top of the page
 
tikanot
posté 18 Jun 2005, 12:34
Message #21


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 97
Inscrit : 15-June 05
Lieu : orléans
Membre no 6213



j ai lu que d autre personne avai le meme pb que ca venai de ca

Visiblement, il ne trouve pas le define de TABLE_CONFIGURATION (includes/database_tables.php).
donc comment corriger que ca ne trouve pas y a t il une modif a faire dans ce fichier
Go to the top of the page
 
MCS77
posté 18 Jun 2005, 15:15
Message #22


Ceinture verte OSC
Icône de groupe

Groupe : Membres
Messages : 624
Inscrit : 5-July 02
Lieu : Mulhouse
Membre no 284



Salut

Sur quelle version travailles tu ?
idea.gif (et met là dans ta signature tu n' aurras pas à le dire à chaque fois !)
arrow.gif si c' est MS2 alors
VOICI LE CODE DU FICHIER ADMIN/INCLUDES/database_tables.php
qui te faut :
et effectivement il y a :
define('TABLE_CONFIGURATION', 'configuration');

CODE

<?php
/*
 $Id: database_tables.php,v 1.1 2003/06/20 00:18:30 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

// define the database table names used in the project
 define('TABLE_ADDRESS_BOOK', 'address_book');
 define('TABLE_ADDRESS_FORMAT', 'address_format');
 define('TABLE_BANNERS', 'banners');
 define('TABLE_BANNERS_HISTORY', 'banners_history');
 define('TABLE_CATEGORIES', 'categories');
 define('TABLE_CATEGORIES_DESCRIPTION', 'categories_description');
 define('TABLE_CONFIGURATION', 'configuration');
 define('TABLE_CONFIGURATION_GROUP', 'configuration_group');
 define('TABLE_COUNTRIES', 'countries');
 define('TABLE_CURRENCIES', 'currencies');
 define('TABLE_CUSTOMERS', 'customers');
 define('TABLE_CUSTOMERS_BASKET', 'customers_basket');
 define('TABLE_CUSTOMERS_BASKET_ATTRIBUTES', 'customers_basket_attributes');
 define('TABLE_CUSTOMERS_INFO', 'customers_info');
 define('TABLE_LANGUAGES', 'languages');
 define('TABLE_MANUFACTURERS', 'manufacturers');
 define('TABLE_MANUFACTURERS_INFO', 'manufacturers_info');
 define('TABLE_NEWSLETTERS', 'newsletters');
 define('TABLE_ORDERS', 'orders');
 define('TABLE_ORDERS_PRODUCTS', 'orders_products');
 define('TABLE_ORDERS_PRODUCTS_ATTRIBUTES', 'orders_products_attributes');
 define('TABLE_ORDERS_PRODUCTS_DOWNLOAD', 'orders_products_download');
 define('TABLE_ORDERS_STATUS', 'orders_status');
 define('TABLE_ORDERS_STATUS_HISTORY', 'orders_status_history');
 define('TABLE_ORDERS_TOTAL', 'orders_total');
 define('TABLE_PRODUCTS', 'products');
 define('TABLE_PRODUCTS_ATTRIBUTES', 'products_attributes');
 define('TABLE_PRODUCTS_ATTRIBUTES_DOWNLOAD', 'products_attributes_download');
 define('TABLE_PRODUCTS_DESCRIPTION', 'products_description');
 define('TABLE_PRODUCTS_NOTIFICATIONS', 'products_notifications');
 define('TABLE_PRODUCTS_OPTIONS', 'products_options');
 define('TABLE_PRODUCTS_OPTIONS_VALUES', 'products_options_values');
 define('TABLE_PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS', 'products_options_values_to_products_options');
 define('TABLE_PRODUCTS_TO_CATEGORIES', 'products_to_categories');
 define('TABLE_REVIEWS', 'reviews');
 define('TABLE_REVIEWS_DESCRIPTION', 'reviews_description');
 define('TABLE_SESSIONS', 'sessions');
 define('TABLE_SPECIALS', 'specials');
 define('TABLE_TAX_CLASS', 'tax_class');
 define('TABLE_TAX_RATES', 'tax_rates');
 define('TABLE_GEO_ZONES', 'geo_zones');
 define('TABLE_ZONES_TO_GEO_ZONES', 'zones_to_geo_zones');
 define('TABLE_WHOS_ONLINE', 'whos_online');
 define('TABLE_ZONES', 'zones');
?>


et pour faire des chmod utilises un freeware comme FilleZilla

a suivre...
a+


--------------------
MS1 Créalod 5 Quick_update, Quick_add_products, UpdateCSV
Go to the top of the page
 
tikanot
posté 18 Jun 2005, 15:44
Message #23


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 97
Inscrit : 15-June 05
Lieu : orléans
Membre no 6213



j'utilise ms2
je suis t conseil et plus je verifie des fichiers et fais de modifs ca marche pu par momen
Go to the top of the page
 
tikanot
posté 18 Jun 2005, 15:58
Message #24


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 97
Inscrit : 15-June 05
Lieu : orléans
Membre no 6213



Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /data/members/paid/c/l/clicknmouse.fr/htdocs/www/includes/configure.php:48) in /data/members/paid/c/l/clicknmouse.fr/htdocs/www/includes/functions/sessions.php on line 67

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /data/members/paid/c/l/clicknmouse.fr/htdocs/www/includes/configure.php:48) in /data/members/paid/c/l/clicknmouse.fr/htdocs/www/includes/functions/sessions.php on line 67

maintenant j ai ca comme message d erreur j ai juste toucher au fichier configure comme tu ma dis par contre j arrive toujour pas ouvir mon administration et j ai fillezilla je l avai deja dans mon pc par contre tu trouve ou chmod dans le soft
merci
Go to the top of the page
 
tikanot
posté 18 Jun 2005, 19:19
Message #25


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 97
Inscrit : 15-June 05
Lieu : orléans
Membre no 6213



J UTILISE FILLEZILLA en ce moment et je trouve pas dutout les permissions chmod dans le soft !
Go to the top of the page
 

2 Pages V   1 2 >
Reply to this topicStart new topic
1 utilisateur(s) sur ce sujet (1 invité(s) et 0 utilisateur(s) anonyme(s))
0 membre(s) :

 



RSS Version bas débit Nous sommes le : 28th March 2024 - 19:35
Ce site est déclaré auprès de la commision Nationale
de l'Informatique et des Libertés (déclaration n°: 1043896)