| 
 | 
  melo - 2006-10-16 19:47:31  
Hello,  
i have this error : Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/meloman/public_html/cp1/php5/ocity.cls.php on line 6 
 
please help me thanks 
  
  Johan Barbier - 2006-10-17 06:15:01 -  In reply to message 1 from melo 
Hi, you do not have PHP5, and are using PHP5 classes, obviously. 
Try the PHP4 version. 
Anyawy, there was errors in the php4 version, I will upload the new files today (I had forgotten, sorry). 
  
  melo - 2006-10-17 08:03:56 -  In reply to message 2 from Johan Barbier 
merci johan 
  
  Johan Barbier - 2006-10-17 12:16:15 -  In reply to message 3 from melo 
Mais de rien ;-) 
 
  
  melo - 2006-10-17 18:39:32 -  In reply to message 1 from melo 
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/meloman/public_html/cp1/villes/php5/ocity.cls.php on line 6 
 
j ai encore ce message :( 
  
  melo - 2006-10-17 18:40:20 -  In reply to message 5 from melo 
  
  Johan Barbier - 2006-10-18 08:23:01 -  In reply to message 6 from melo 
Même chose : ton serveur n'a pas PHP5, et tu utilises la classe faite pour PHP5. 
  
  melo - 2006-10-18 11:19:00 -  In reply to message 7 from Johan Barbier 
que dois-je faire au juste ? 
 
  
  Johan Barbier - 2006-10-18 12:54:37 -  In reply to message 8 from melo 
Dans l'index, tu as ceci je pense : 
 
require_once 'php5/ocity.cls.php'; 
require_once 'php5/oajax.cls.php'; 
require_once 'php5/soundex2.cls.php'; 
require_once 'php5/phonex.cls.php'; 
 
 
/** 
*includes pour php4 
* 
*/ 
/* 
require_once 'php4/ocity.cls.php'; 
require_once 'php4/oajax.cls.php'; 
require_once 'php4/soundex2.cls.php'; 
require_once 'php4/phonex.cls.php'; 
*/ 
 
Tu dois mettre ceci : 
/* 
require_once 'php5/ocity.cls.php'; 
require_once 'php5/oajax.cls.php'; 
require_once 'php5/soundex2.cls.php'; 
require_once 'php5/phonex.cls.php'; 
*/ 
 
/** 
*includes pour php4 
* 
*/ 
 
require_once 'php4/ocity.cls.php'; 
require_once 'php4/oajax.cls.php'; 
require_once 'php4/soundex2.cls.php'; 
require_once 'php4/phonex.cls.php'; 
 
  
   |