Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Contribution Installation problem


Recommended Posts

Hello,

 

I have tried to install some features to my OsCommerce and i have an error ...

 

I have installed this :

- oscommerce-2.2ms2-FR-060817-2010 (Because i'm french ... so excuse my english !)

- after i install that : sts_htc in the lastest version

- and that : Admin_Access_22a (With the bug FIX)

- and finaly that : fckeditor-oscommerce

 

In my admin panel, i have this message :

tep_not_null($heading)) && (tep_not_null($contents)) ) { echo ' ' . "\n"; $box = new box; echo $box->infoBox($heading, $contents); echo ' ' . "\n"; } ?>

 

you can see here : screenbf6.png

 

And this is the php code from the page :

 

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="ltr" lang="fr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>CarAuto70</title>
<link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
<script language="javascript" src="includes/general.js"></script>


<script language="JavaScript" type="text/JavaScript">
<!--
function validateForm() {
 var p,z,xEmail,errors='',dbEmail,result=0,i;

 var adminName1 = document.newmember.admin_firstname.value;
 var adminName2 = document.newmember.admin_lastname.value;
 var adminEmail = document.newmember.admin_email_address.value;

 if (adminName1 == '') {
errors+='- Obligatoire: Prénom \n';
 } else if (adminName1.length < 2) {
errors+='- First Name must be longer than  2\n';
 }

 if (adminName2 == '') {
errors+='- Obligatoire: Nom \n';
 } else if (adminName2.length < 2) {
errors+='- Last Name must be longer than  2\n';
 }

 if (adminEmail == '') {
errors+='- Obligatoire: Email \n';
 } else if (adminEmail.indexOf("@") <= 1 || adminEmail.indexOf("@") >= (adminEmail.length - 3) || adminEmail.indexOf(".") <= 3 || adminEmail.indexOf(".") >= (adminEmail.length - 2) || adminEmail.indexOf("@.") >= 0 ) {
errors+='- Votre Email n'est pas valide! \n';
 } else if (adminEmail.length < 6) {
errors+='- Votre Email n'est pas valide! \n';
 }

 if (errors) alert('The following error(s) occurred:\n'+errors);
 document.returnValue = (errors == '');
}


function checkGroups(obj) {
 var subgroupID,i;
 subgroupID = eval("this.defineForm.subgroups_"+parseFloat((obj.id).substring(7)));

 if (subgroupID.length > 0) {
for (i=0; i<subgroupID.length; i++) {
  if (obj.checked == true) { subgroupID[i].checked = true; }
  else { subgroupID[i].checked = false; }
}
 } else {
if (obj.checked == true) { subgroupID.checked = true; }
else { subgroupID.checked = false; }
 }
}

function checkSub(obj) {
 var groupID,subgroupID,i,num=0;
 groupID = eval("this.defineForm.groups_"+parseFloat((obj.id).substring(10)));
 subgroupID = eval("this.defineForm."+(obj.id));

 if (subgroupID.length > 0) {
for (i=0; i < subgroupID.length; i++) {
  if (subgroupID[i].checked == true) num++;
}
 } else {
if (subgroupID.checked == true) num++;
 }
 if (num>0) { groupID.checked = true; }
 else { groupID.checked = false; }
}
//-->
</script>

</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF" onload="SetFocus();">
<!-- header //-->
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
<td><img src="images/oscommerce.gif" border="0" alt="osCommerce" title=" osCommerce " width="204" height="50"></td>
<td align="right"><a href="http://www.oscommerce.com" target="_blank"><img src="images/header_support.gif" border="0" alt="Site officiel" title=" Site officiel " width="50" height="50"></a>  <a href="http://www.lotc.fr/carauto70/"><img src="images/header_checkout.gif" border="0" alt="Catalogue en ligne" title=" Catalogue en ligne " width="53" height="50"></a>  <a href="http://www.lotc.fr/carauto70/admin/index.php"><img src="images/header_administration.gif" border="0" alt="Administration" title=" Administration " width="50" height="50"></a>  </td>
 </tr>
 <tr class="headerBar">
<!-- BOE Access with Level Account (v. 2.2a) for the Admin Area of osCommerce (MS2) 1 of 1 -->
<!-- reverse comments to below lines to disable this contribution -->
<!--	<td class="headerBarContent">  <a href="http://www.lotc.fr/carauto70/admin/index.php" class="headerLink">Administration</a></td> -->
<td class="headerBarContent">  <a href="http://www.lotc.fr/carauto70/admin/admin_account.php" class="headerLink">Mon Compte</a> | <a href="http://www.lotc.fr/carauto70/admin/logoff.php" class="headerLink">Déconnexion</a></td>
<!-- BOE Access with Level Account (v. 2.2a) for the Admin Area of osCommerce (MS2) 1 of 1 -->
<td class="headerBarContent" align="right"><a href="http://www.oscommerce.com" class="headerLink">Site officiel</a>  |  <a href="http://www.lotc.fr/carauto70/" class="headerLink">Catalogue en ligne</a>  |  <a href="http://www.lotc.fr/carauto70/admin/index.php" class="headerLink">Administration</a>  </td>
 </tr>
</table><!-- header_eof //-->

<!-- body //-->
<table border="0" width="100%" cellspacing="2" cellpadding="2">
 <tr>
<td width="125" valign="top"><table border="0" width="125" cellspacing="1" cellpadding="1" class="columnLeft">
<!-- left_navigation //-->
<!-- administrator //-->
	  <tr>
		<td>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
 <tr>
<td class="menuBoxHeading" onmouseover="this.style.cursor='hand'" onclick="document.location.href='http://www.lotc.fr/carauto70/admin/admin_members.php?selected_box=administrator'"> <a href="http://www.lotc.fr/carauto70/admin/admin_members.php?selected_box=administrator" class="menuBoxHeadingLink">Administrateur</a> </td>
 </tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
 <tr>
<td class="menuBoxContent"><a href="http://www.lotc.fr/carauto70/admin/admin_members.php" class="menuBoxContentLink">Groupes de membres</a><br><a href="http://www.lotc.fr/carauto70/admin/admin_files.php" class="menuBoxContentLink">Accès Fichiers</a><br></td>
 </tr>
</table>
		</td>
	  </tr>
<!-- administrator_eof //--><!-- configuration //-->
	  <tr>
		<td>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
 <tr>
<td class="menuBoxHeading" onmouseover="this.style.cursor='hand'" onclick="document.location.href='http://www.lotc.fr/carauto70/admin/configuration.php?gID=1&selected_box=configuration'"> <a href="http://www.lotc.fr/carauto70/admin/configuration.php?gID=1&selected_box=configuration" class="menuBoxHeadingLink">Configuration</a> </td>
 </tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
</table>
		</td>
	  </tr>
<!-- configuration_eof //-->
<!-- catalog //-->
	  <tr>
		<td>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
 <tr>
<td class="menuBoxHeading" onmouseover="this.style.cursor='hand'" onclick="document.location.href='http://www.lotc.fr/carauto70/admin/categories.php?selected_box=catalog'"> <a href="http://www.lotc.fr/carauto70/admin/categories.php?selected_box=catalog" class="menuBoxHeadingLink">Catalogue</a> </td>
 </tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
</table>
		</td>
	  </tr>
<!-- catalog_eof //-->
<!-- modules //-->
	  <tr>
		<td>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
 <tr>
<td class="menuBoxHeading" onmouseover="this.style.cursor='hand'" onclick="document.location.href='http://www.lotc.fr/carauto70/admin/modules.php?set=payment&selected_box=modules'"> <a href="http://www.lotc.fr/carauto70/admin/modules.php?set=payment&selected_box=modules" class="menuBoxHeadingLink">Modules</a> </td>
 </tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
</table>
		</td>
	  </tr>
<!-- modules_eof //-->
<!-- customers //-->
	  <tr>
		<td>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
 <tr>
<td class="menuBoxHeading" onmouseover="this.style.cursor='hand'" onclick="document.location.href='http://www.lotc.fr/carauto70/admin/customers.php?selected_box=customers'"> <a href="http://www.lotc.fr/carauto70/admin/customers.php?selected_box=customers" class="menuBoxHeadingLink">Clients</a> </td>
 </tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
</table>
		</td>
	  </tr>
<!-- customers_eof //-->
<!-- taxes //-->
	  <tr>
		<td>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
 <tr>
<td class="menuBoxHeading" onmouseover="this.style.cursor='hand'" onclick="document.location.href='http://www.lotc.fr/carauto70/admin/countries.php?selected_box=taxes'"> <a href="http://www.lotc.fr/carauto70/admin/countries.php?selected_box=taxes" class="menuBoxHeadingLink">Lieux / Taxes</a> </td>
 </tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
</table>
		</td>
	  </tr>
<!-- taxes_eof //-->
<!-- localization //-->
	  <tr>
		<td>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
 <tr>
<td class="menuBoxHeading" onmouseover="this.style.cursor='hand'" onclick="document.location.href='http://www.lotc.fr/carauto70/admin/currencies.php?selected_box=localization'"> <a href="http://www.lotc.fr/carauto70/admin/currencies.php?selected_box=localization" class="menuBoxHeadingLink">Localisation</a> </td>
 </tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
</table>
		</td>
	  </tr>
<!-- localization_eof //-->
<!-- reports //-->
	  <tr>
		<td>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
 <tr>
<td class="menuBoxHeading" onmouseover="this.style.cursor='hand'" onclick="document.location.href='http://www.lotc.fr/carauto70/admin/stats_products_viewed.php?selected_box=reports'"> <a href="http://www.lotc.fr/carauto70/admin/stats_products_viewed.php?selected_box=reports" class="menuBoxHeadingLink">Rapports</a> </td>
 </tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
</table>
		</td>
	  </tr>
<!-- reports_eof //-->
<!-- tools //-->
	  <tr>
		<td>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
 <tr>
<td class="menuBoxHeading" onmouseover="this.style.cursor='hand'" onclick="document.location.href='http://www.lotc.fr/carauto70/admin/backup.php?selected_box=tools'"> <a href="http://www.lotc.fr/carauto70/admin/backup.php?selected_box=tools" class="menuBoxHeadingLink">Outils</a> </td>
 </tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
</table>
		</td>
	  </tr>
<!-- tools_eof //-->
<!-- left_navigation_eof //-->
</table></td>
<!-- body_text //-->
<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
  <tr>
	<td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="0">
	  <tr>
		<td class="pageHeading">Administrateurs</td>
		<td class="pageHeading" align="right"><img src="images/pixel_trans.gif" border="0" alt="" width="57" height="40"></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">Nom</td>
			<td class="dataTableHeadingContent">Email</td>
			<td class="dataTableHeadingContent" align="center">Groupes</td>
			<td class="dataTableHeadingContent" align="center">NumLog</td>
			<td class="dataTableHeadingContent" align="right">Action </td>
		  </tr>
			  <tr class="dataTableRowSelected" onmouseover="this.style.cursor='hand'" onclick="document.location.href='http://www.lotc.fr/carauto70/admin/admin_members.php?page=1&mID=1&action=edit_member'">
			<td class="dataTableContent"> Romuald MAIRE</td>
			<td class="dataTableContent">[email protected]</td>
			<td class="dataTableContent" align="center">Top Administrator</td>
			<td class="dataTableContent" align="center">3</td>
			<td class="dataTableContent" align="right"><img src="images/icon_arrow_right.gif" border="0" alt=""> </td>
		  </tr>
		  <tr>
			<td colspan="5"><table border="0" width="100%" cellspacing="0" cellpadding="2">
			  <tr>
				<td class="smallText" valign="top">Affichage de <b>1</b> à <b>1</b> (sur <b>1</b> membres)<br>Page 1 sur 1</td>
				<td class="smallText" valign="top" align="right"><a href="http://www.lotc.fr/carauto70/admin/admin_members.php?gID=groups"><img src="includes/languages/french/images/buttons/button_admin_groups.gif" border="0" alt="Liste des Groupes" title=" Liste des Groupes "></a> <a href="http://www.lotc.fr/carauto70/admin/admin_members.php?page=1&mID=1&action=new_member"><img src="includes/languages/french/images/buttons/button_admin_member.gif" border="0" alt="Nouveau Membre" title=" Nouveau Membre "></a> </td>
			  </tr>
			</table></td>
		  </tr>
		</table>
		</td>
		<td width="25%" valign="top">
<table border="0" width="100%" cellspacing="0" cellpadding="2">
 <tr class="infoBoxHeading">
<td class="infoBoxHeading"><b> Administrateur</b></td>
 </tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
 <tr>
<td align="center" class="infoBoxContent"><a href="http://www.lotc.fr/carauto70/admin/admin_members.php?page=1&mID=1&action=edit_member"><img src="includes/languages/french/images/buttons/button_edit.gif" border="0" alt="Editer" title=" Editer "></a> <a href="http://www.lotc.fr/carauto70/admin/admin_members.php?page=1&mID=1&action=del_member"><img src="includes/languages/french/images/buttons/button_delete.gif" border="0" alt="Supprimer" title=" Supprimer "></a><br> </td>
 </tr>
 <tr>
<td class="infoBoxContent"> <b>Nom complet: </b><br> Romuald MAIRE</td>
 </tr>
 <tr>
<td class="infoBoxContent"> <b>Email: </b><br> [email protected]</td>
 </tr>
 <tr>
<td class="infoBoxContent"> <b>Groupe: </b>Top Administrator</td>
 </tr>
 <tr>
<td class="infoBoxContent"> <b>Compte créé: </b><br> 2007-01-18 11:31:17</td>
 </tr>
 <tr>
<td class="infoBoxContent"> <b>Compte modifié: </b><br> 2007-01-18 11:38:15</td>
 </tr>
 <tr>
<td class="infoBoxContent"> <b>Dernière connexion: </b><br> 2007-01-18 14:10:53</td>
 </tr>
 <tr>
<td class="infoBoxContent"> <b>Numéro Log: </b>3</td>
 </tr>
 <tr>
<td class="infoBoxContent"><br></td>
 </tr>
</table>
		</td>
	  </tr>
	</table></td>
  </tr>
</table></td>
<!-- body_text_eof //-->
 </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
<br>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
 <tr>
<td align="center" class="smallText">
E-Commerce Engine Copyright © 2005 <a href="http://www.oscommerce.com" target="_blank">osCommerce</a><br>
osCommerce provides no warranty and is redistributable under the <a href="http://www.fsf.org/licenses/gpl.txt" target="_blank">GNU General Public License</a>
</td>
 </tr>
 <tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="1" height="5"></td>
 </tr>
 <tr>
<td align="center" class="smallText">Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a><br>Traduction Française Delaballe</td>
 </tr>
</table>
<!-- footer_eof //-->
<br>
</body>
</html>
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 //-->
<br>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
 <tr>
<td align="center" class="smallText">
E-Commerce Engine Copyright © 2005 <a href="http://www.oscommerce.com" target="_blank">osCommerce</a><br>
osCommerce provides no warranty and is redistributable under the <a href="http://www.fsf.org/licenses/gpl.txt" target="_blank">GNU General Public License</a>
</td>
 </tr>
 <tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="1" height="5"></td>
 </tr>
 <tr>
<td align="center" class="smallText">Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a><br>Traduction Française Delaballe</td>
 </tr>
</table>
<!-- footer_eof //-->
<br>
</body>
</html>

 

I think the problem come from the ADMIN ACCESS ... I search the file who had the problem but don't find which ...

 

Please help me a bit ^^

 

Thank you !

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.
Note: Your post will require moderator approval before it will be visible.

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