La Communauté Webmaster  forum rss


  Forum-webmaster
  Technique - programmation
  PHP / MySQL
(Modérateurs: Shain, Jey, erwinol, Lilian, lauryv, ToToMaStEr)
  probleme parse error
« Précédent Suivant »
Pages: [1] Descendre
Répondre    Aviser des réponses    Envoyer le sujet    Imprimer
  Auteur  Sujet: probleme parse error  (Lu 556 fois)
probleme parse error
« sur: le 01-06-2007 a 19:35:15 »
sephirots
Membre récent
*

Hors-Ligne

Messages: 2



Je suis un lama!

Voir le Profil    E-Mail
Répondre avec citation

Bonjour
Utilisant le CMS datalife engine (plus connu en russie qu'en france  ) j'ai recemment recupéré une version traduite en anglais. hors apres le changement de langue lors de mon acces a la partie adminitration j'obtient ceci :

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in xxx/language/English/adminpanel.lng on line 38

seulement ce fichier etant un fichier de traduction je ne trouve aps le probleme

Php version: ?
mysql V5
hebergeur 1&1

voila les lignes a partir de la ligne 1 jusqua la ligne 50 (je me base sur les ligne de dreamweaver)
Code:
<?php

$lang = array (

'charset'        =>  "windows-1251",

// 5.7
'user_avatar'      =>  "Upload avatar:",
'user_del_avatar'      =>  "Are you sure you want to delete this avatar?",
'opt_sfind'        =>  "Find and Replace",
'opt_sfindc'      =>  "Find and replace data in MySQL database",
'find_main'      =>  "Find and replace text in MySQL database",
'find_info'        =>  "This utility will help you to find and replace text in any comment or article on your site through MySQL database. It's useful when you need to make minor corrections e.g author's credentials, his email address, link to his site etc. Always backup your database before you make any changes.",
'find_ftable'      =>  "Choose a table where the text can be found:",
'find_ftext'      =>  "Find what:",
'find_rtext'      =>  "Replace with:",
'find_rstart'      =>  "Replace",
'find_rnews'      =>  "in the news",
'find_rcomms'      =>  "in the comments",
'find_rpm'        =>  "in the personal messages",
'find_rstatic'      =>  "in the static pages",
'find_done_h'      =>  "Request complete",
'find_done'      =>  "The text has been successfully replaced.",
'mail_info_3'      =>  "New article submittion e-mail notification",
'mail_news_info'      =>  "Here is some tags that can be used in this template:<br /><b>{%title%}</b> - title<br /><b>{%username%}</b> - username, <br /><b>{%date%}</b> - article date<br /><b>{%category%}</b> - category",
'mail_info_4'      =>  "E-mail notification of a new comment submittion:",
'mail_comm_info'      =>  "Here is some tags that can be used in this template:<br /><b>{%link%}</b> - article link<br /><b>{%username%}</b> - username <br /><b>{%date%}</b> - comment date<br /><b>{%ip%}</b> - user IP <br /><b>{%text%}</b> - comment body",
'opt_sys_nmail'      =>  "Notify me by e-mail of new article submittions",
'opt_sys_nmaild'      =>  "An e-mail notification will be send to you every time a new article is submitted for validation.",
'opt_sys_cmail'      =>  "Notify me by e-mail of new comment submitions",
'opt_sys_cmaild'      =>  "An e-mail notification will be send to you every time a new comment is submitted for validation.",
'bb_t_leech'      =>  "Insert protected link",
'group_icon'      =>  "Usergroup icon",
'hint_gicon'      =>  "You can assign an specific icon for the usergroup. You can use <b>{THEME}</b> tag which will be replaced with your site URL."
// 5.7

// 5.5
'opt_sys_related'      =>  "Display related news",
'opt_sys_relatedd'      =>  "This module displays other context related news articles. Disabling this module will reduce the load on the MySQL server",
'anti_snap'            =>  "Ñäåëàòü ñíèìîê",
'anti_snapalert'      =>  "Âû óâåðåíû ÷òî ñïèñîê îáíàðóæåííûõ ôàéëîâ áåçîïàñåí, è âû õîòèòå ñäåëàòü íîâûé ñíèìîê ôàéëîâ.",
'anti_modified'        =>  "íåñîîòâåòñòâóåò ñäåëàííîìó ñíèìêó",
'anti_not'            =>  "íåèçâåñòíåí äèñòðèáóòèâó",
'anti_snap'            =>  "Ñäåëàòü ñíèìîê",
'anti_creates'        =>  "Your system files script and templates to be",
'ip_found_comments'      =>  "List of users using the IP address in writing comments",
'static_tpl'        =>  "Use template",
'hint_stpl'            =>  "Name of the template you wish to use for static pages, leave blank for the default template <b>static.tpl</b>",
'opt_sys_nodate'      =>  "Ïîääåðæêà ïóáëèêàöèè íîâîñòåé íà åùå íå íàñòóïèøóþ äàòó",
'opt_sys_nodated'      =>  "If this option you will be able to establish news is not yet onset date, and when the date of this news will be published on the site automatically. If you disable this option you will use abbreviated queries to the database, which greatly enhances your performance and reduces the load on the server with a very large databases.",

« Dernière Édition: le 01-06-2007 a 19:36:05 par sephirots » Rapporter au modérateur  

Re:probleme parse error
« Répondre #1 sur: le 01-06-2007 a 20:28:28 »
killian
Modérateur Global
*****

Hors-Ligne

Sexe: Male
Messages: 92



EBEL Killian, Webmaster

Voir le Profil    WWW    E-Mail
Répondre avec citation

Je crois que l'erreur vient de là :

Code:

'hint_gicon'      =>  "You can assign an specific icon for the usergroup. You can use <b>{THEME}</b> tag which will be replaced with your site URL."
// 5.7

// 5.5
'opt_sys_related'      =>  "Display related news",

Tu as oublié la virgule après "your site URL." !

J'espère que c'était ça 

Rapporter au modérateur  

Killian EBEL - Webmaster - Développeur et Intégrateur Web, PHP, SQL, xHTML, Javascript, AJAX, CSS...
Re:probleme parse error
« Répondre #2 sur: le 03-06-2007 a 07:27:49 »
sephirots
Membre récent
*

Hors-Ligne

Messages: 2



Je suis un lama!

Voir le Profil    E-Mail
Répondre avec citation

Merci beaucoup c'etait ca le probleme!! Probleme resolu!!

Rapporter au modérateur  
Répondre    Aviser des réponses    Envoyer le sujet    Imprimer
Pages: [1] Monter
« Précédent Suivant »
Sauter à: 

Votre statut : Invité
Vous devez être membre pour participer.
 
 
Let’s Encrypt : le certificat SSL gratuit
Tester votre site internet sur différents navigateurs
[WordPress] Des problèmes avec l’administration ?
Rappel : Mettez à jour vos CMS et vos sites E-commerce
Le .fr fête ses 25 années d’existence !
Mesurer votre audience en temps réel avec BubbleStat
Porter réclamation contre Google Panda ?
Zlio n’est plus …
 
 
 
 
 

Copyright (c) Devclic 2002 - 2026 - Tous droits réservés

creation site internet strasbourg