FORUM Tom's Hardware » Programmation » Autre » Re:j'ai Besoin d'aide je reprend ma question
 

Re:j'ai Besoin d'aide je reprend ma question

Il y a 314 utilisateurs connus et inconnus. Pour voir la liste des connectés connus, cliquez ici
Ajouter une réponse



 Mot :   Pseudo :  
 
Bas de page
Auteur
 Sujet : Re:j'ai Besoin d'aide je reprend ma question
 
Plus d'informations

Bonjour Toutes mes excuses pour le message précédent mal posté que je reprend.Il s'agit d'un script e-commerce, AJ Auction, exactement comme le système ebay.Je n'ai pas la possibilité d'attacher le fichier install.php a ce message sinon je l'aurait fait.
 
Voici l'erreur
 
 
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in G:\Program Files\wamp\www\upload\install.php on line 2412
 
Parse error: syntax error, unexpected '"' in G:\Program Files\wamp\www\upload\install.php on line 2412

 
et voici une portion du install.php vers la ligne 2412.
 
"2388" /*Installation notification mail code ending*/
 
 
//echo "<br>Database tables created... A new file vars.php has been created, plz don't delete that file and you can delete the installation files";
 
 
  $msg="";  
  //echo "<br>Database tables created... A new file vars.php has been created, plz don't delete that file and you can delete the installation files";
  if(is_writable("include/vars.php" ))
  {
  $f=fopen("include/vars.php","w" );
 fwrite($f,"<?php \n" );
 fwrite($f,"//***************** Do not Edit / Change anything in this file ********************// \n" );
 fwrite($f,"$"."sitename='".$domainname."';\n" );
 fwrite($f,"$"."dbhost='".$dhost."';\n" );
 fwrite($f,"$"."dbname='".$dname."';\n" );
 fwrite($f,"$"."dbuser='".$duser."';\n" );
 fwrite($f,"$"."dbpass='".$dpass."';\n" );
 fwrite($f,"$"."adminmail='".$adminemail."';\n" );
 fwrite($f,"?> \n" );
 fclose($f);

  }
ligne 2412else
  $first=1;
   
   
  $msg="<br>Database tables created... ";
  if($first==1)
  {
  $msg.="<br><br><font color=red>There is some error in creating the following files. <br> Assign write permission to the following files and try install again.</font><ol type=1> ";
  if($first==1)
  $msg.="<li>include/vars.php</li>";
  $msg.="</ol>";
  }
  else
  $msg.=" A new file vars.php has been created, please don't delete that file and you can delete the installation files";
  echo '<td width="74%" rowspan="2" valign="top" align="center" height="259">
<table width="90%" border="0" cellpadding="0" cellspacing="0" height="259">
          <tr>
            <td colspan="2" valign="top"><div align="left" style="font-family:Arial; font-size:14px; font-weight:500; padding-top:15px; padding-bottom:5px; padding-left:10px;">';
   
   if($first==1)
      echo 'Error In Insallation';
   else
     echo 'Installation Completed';
   echo '</div></td>
          </tr>
          <tr>
            <td width="1"><img src="images/images/spacer1.gif" / width="1px" height="280px"></td>
            <td width="447" valign="middle"><table width="400" align="center"><tr>
            <td colspan="2" valign="top"><div align="left" style="font-family:Arial; font-size:14px; font-weight:500; padding-top:15px; padding-bottom:5px; ">';
   echo $msg;
   
   echo '</div></td></tr></table></td></tr></table></td>';

zeb
Profil : Modérateur libre
Plus d'informations

:pfff:
 
Bon, si tu avais lu le règlement, tu serais tombé là dessus  :
http://site.voila.fr/zulu-echo-bravo/img/balisecodeppc.png
 
Je t'invite donc à re-re-formuler ton message. Pas besoin de recréer un sujet. Modifie celui-ci. Quand tu l'auras fait, je supprimerais ce message.
 
 
Comme tu n'es pas le premier à ne pas comprendre du premier coup, je me pose la question. Ce règlement n'est-il pas clair ? Est-il difficile à comprendre ?


---------------
Règlement du forum / Règlement de Programmation / Règlement du Monde de Linux euh, n'y en a pas...

Aller à :
Ajouter une réponse
  FORUM Tom's Hardware » Programmation » Autre » Re:j'ai Besoin d'aide je reprend ma question
 

Annonces Google
Publicité