Problema "Muta subiect"

Folosiţi acest forum pentru a discuta problemele apărute în timpul folosirii forumului phpBB 2.0.x.
Închis
Avatar utilizator
Aliniuz
Fost coleg
Mesaje: 3629
Membru din: 19-Mai-2006, 08:06:42
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Galati
Contact:

Problema "Muta subiect"

Mesaj de Aliniuz »

Cand vreau sa mut un subiect de pe un forum pe alt forum imi da urmatoarea eroare :

Cod: Selectaţi tot

PHP Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in d:\Domains\aliniuz.byo.ro\wwwroot\galati-forum\modcp.php on line 1236
Iar eu in modcp.php in linia 1236 am :

Cod: Selectaţi tot

'TOPIC_ID' => $topic_id, TOPIC_ATTACHMENT_IMG' => topic_attachment_image($row['topic_attachment']),
Care e problema ? Unde trebuie pus ")" ?
flowers
AdministratorAdministrator
Mesaje: 4641
Membru din: 03-Iun-2004, 17:50:34
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Bucureşti, România
Contact:

Mesaj de flowers »

Cod: Selectaţi tot

'TOPIC_ID' => $topic_id,
'TOPIC_ATTACHMENT_IMG' => topic_attachment_image($row['topic_attachment']),
Avatar utilizator
Aliniuz
Fost coleg
Mesaje: 3629
Membru din: 19-Mai-2006, 08:06:42
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Galati
Contact:

Mesaj de Aliniuz »

acum imi zice

Cod: Selectaţi tot

PHP Parse error: parse error, unexpected T_VARIABLE in d:\Domains\aliniuz.byo.ro\wwwroot\galati-forum\modcp.php on line 1243
iar la 1243 este

Cod: Selectaţi tot

		$template->assign_vars(array(
...
flowers
AdministratorAdministrator
Mesaje: 4641
Membru din: 03-Iun-2004, 17:50:34
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Bucureşti, România
Contact:

Mesaj de flowers »

Vezi ce alte modificari ai in modcp.php, Attachment Mod si altele si instaleaza-le corect. Respecta sintaxa:
## When you find a 'AFTER, ADD'-Statement, the Code have to be added after the
## last line quoted in the 'FIND'-Statement.
## When you find a 'BEFORE, ADD'-Statement, the Code have to be added before the
## first line quoted in the 'FIND'-Statement.
## When you find a 'REPLACE WITH'-Statement, the Code quoted in the
## 'FIND'-Statement have to be replaced completely with the quoted Code in the
## 'REPLACE WITH'-Statement.
##
## When you find more than one 'FIND'-Statement it just means that you go down the
## code within the order of the 'FIND'-Statements, if you found the lines for the
## first 'FIND'-Statement, you continue to search the lines for the second
## 'FIND'-Statement. The last 'FIND'-Statement includes the codeblock to work
## with.
##
## For a comprehensive explanation about installing MODs, please visit this url:
## http://www.phpbb.com/kb/article.php?article_id=150
Avatar utilizator
Aliniuz
Fost coleg
Mesaje: 3629
Membru din: 19-Mai-2006, 08:06:42
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Galati
Contact:

Mesaj de Aliniuz »

toate modificarile care le-am facut , le-am facut corect respectand instructiunile cu strictete !
flowers
AdministratorAdministrator
Mesaje: 4641
Membru din: 03-Iun-2004, 17:50:34
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Bucureşti, România
Contact:

Mesaj de flowers »

Pune aici modcp.php intr-o arhiva sa o downloadam si spune ce MODificari ai pe forum, mai ales pe cele care afecteaza fisierul respectiv.
Închis

Înapoi la “2.0.x Funcţionare”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 4 vizitatori