Discuţii legate de instalarea şi funcţionarea unor MODificări vechi sau noi ale forumului phpBB 2.0.x .
Shumi
Utilizator înregistrat
Mesaje: 284 Membru din: 19-Dec-2005, 12:09:41
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Botosani
Contact:
Mesaj
de Shumi » 15-Apr-2006, 15:47:45
Am instalat si eu At A Glance si dupa ce am primit mai intai o prima eroare pe care am eliminat-o citind la erori acum am alta si nu stiu ce sa ii fac. Forumul este www.forum.shumi.ro
Cod: Selectaţi tot
Warning: Cannot modify header information - headers already sent by (output started at /home/shumi1/public_html/forum/db/mysql4.php:342) in /home/shumi1/public_html/forum/includes/sessions.php on line 370
Warning: Cannot modify header information - headers already sent by (output started at /home/shumi1/public_html/forum/db/mysql4.php:342) in /home/shumi1/public_html/forum/includes/sessions.php on line 371
Warning: Cannot modify header information - headers already sent by (output started at /home/shumi1/public_html/forum/db/mysql4.php:342) in /home/shumi1/public_html/forum/includes/page_header.php on line 510
Warning: Cannot modify header information - headers already sent by (output started at /home/shumi1/public_html/forum/db/mysql4.php:342) in /home/shumi1/public_html/forum/includes/page_header.php on line 512
Warning: Cannot modify header information - headers already sent by (output started at /home/shumi1/public_html/forum/db/mysql4.php:342) in /home/shumi1/public_html/forum/includes/page_header.php on line 513
Ma ajutati baieti?
[/b]
Shumi.
seelview
Fost coleg
Mesaje: 2146 Membru din: 13-Apr-2005, 21:24:50
Versiune: 3.x
Ext: Da
Server: UNIX/Linux
Nivel phpBB: Foarte experimentat
Localitate: Cu curu' pe scaun
Contact:
Mesaj
de seelview » 15-Apr-2006, 16:18:37
In fisierul config.php ai setat $dbms = 'mysql4'; . Schimba cu $dbms = 'mysql';
Shumi
Utilizator înregistrat
Mesaje: 284 Membru din: 19-Dec-2005, 12:09:41
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Botosani
Contact:
Mesaj
de Shumi » 15-Apr-2006, 17:18:02
Mersi mult seelview. Asta era eroarea
Shumi.
roadiro
Utilizator înregistrat
Mesaje: 226 Membru din: 05-Iun-2006, 12:32:05
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Bucureşti
Contact:
Mesaj
de roadiro » 17-Iun-2006, 14:45:38
BuGsY scrie: Alexcuby, deschide fişierul
glance_config.php aflat în directorul rădăcină al forumului tău şi caută linia:
înlocuieşte această linie cu:
multumesc baieti faceti treaba buna, daca ati stii de cate ori m-am uitat peste '/pbpBB2/' dar orbul nu vedea ca nu este '/phpBB2/
Gaby Stan
Utilizator înregistrat
Mesaje: 372 Membru din: 14-Iun-2006, 16:17:01
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Bihor, Suplacul de B
Mesaj
de Gaby Stan » 05-Iul-2006, 01:08:51
aparuse eroarea asta
Cod: Selectaţi tot
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in .../db/mysql4.php on line 214
....am rezolvat-o cu ajutorul tutorialului
dar sub eroarea acea mai apare
Cod: Selectaţi tot
Parse error: parse error, unexpected $ in /home/vhosts/mobile-portal.lxhost.org/phpBB2/includes/template.php(151) : eval()'d code on line 58
si nu stiu sa-i dau de cap....iar tabelul tot nu apare in index in dreapta
sa fie oare probelama aici in
index_body.tpl ? ..nu am facut bine?
Cod: Selectaţi tot
table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2" class="thCornerL" height="25" nowrap="nowrap"> {L_FORUM} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_TOPICS} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_POSTS} </th>
<th class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<!-- BEGIN catrow -->
<tr>
<td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
<td class="rowpic" colspan="3" align="right"> </td>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
</span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
</span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
<!-- END catrow -->
</tr>
<td> </td>
<!-- INCEPUT a treia celula -->
<td valign="top" width="180">{GLANCE_OUTPUT}</td>
<!-- SFARSIT a treia celula -->
</table>
roadiro
Utilizator înregistrat
Mesaje: 226 Membru din: 05-Iun-2006, 12:32:05
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Bucureşti
Contact:
Mesaj
de roadiro » 05-Iul-2006, 02:01:08
table width="100%" cellpadding="0" cellspacing="0" border="0"
<tr>
<!-- Inceput prima celula -->
table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2" class="thCornerL" height="25" nowrap="nowrap"> {L_FORUM} </th>
.
.
.
</table>
</td>
<!-- SFARSIT a prima celula -->
<!-- INCEPUT a doua celula -->
<td> </td>
<!-- SFARSIT a doua celula -->
<!-- INCEPUT a treia celula -->
<td>
<table width="200" cellpadding="0" cellspacing="0" border="0">
<tr> <td valign="top"> {GLANCE_OUTPUT} </td> </tr>
</table>
</td>
<!-- SFARSIT a treia celula -->
</tr>
</table>
eu am pus in stanga
Gaby Stan
Utilizator înregistrat
Mesaje: 372 Membru din: 14-Iun-2006, 16:17:01
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Bihor, Suplacul de B
Mesaj
de Gaby Stan » 05-Iul-2006, 05:45:23
Nu-mi apare....daca nu te superi nu postezi asa cum este la tin in index_body.tpl...deci complet tabelul doi...ca numai nu reusesc ....thanx
roadiro
Utilizator înregistrat
Mesaje: 226 Membru din: 05-Iun-2006, 12:32:05
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Bucureşti
Contact:
Mesaj
de roadiro » 05-Iul-2006, 10:25:22
deci :
</tr>
<!-- END forumrow -->
<!-- END catrow -->
</tr>
<td> </td>
<!-- INCEPUT a treia celula -->
nu au ce cauta 2 de </tr> unul dula altul, in loc de <td> </td> pune <td> </td> .
Eu daca iti pun fisierul meu are o gramada de alte modificari in el.
Asa ca trimite mai bine pe al tau atasat de un mail, ti-l modific si rezolvam problema. Acceseaza adresa forum din semnatura sa vezi ca la mine sunt si alte schimbari, nici nu mai stiu cum era la inceput. Sau modifica mesajul tau de mai sus si pune fisierul curat, fara partea de css si fara modificarile tale.
Gaby Stan
Utilizator înregistrat
Mesaje: 372 Membru din: 14-Iun-2006, 16:17:01
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Bihor, Suplacul de B
Mesaj
de Gaby Stan » 05-Iul-2006, 16:16:59
Azazel scrie: Dupa ce am facut modificarile in glance.php imi da eroarea
fara sa fac modificarile merge bine
Parse error: parse error, unexpected $ in /srv/www/htdocs/forum/includes/template.php(151) : eval()'d code on line 51
???
help me pls
Azazel scrie: gata s-a rezolvat
multumiri
Se poate asa ceva ?
...cum ai facut...ca si la mine apare eroarea aia
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 » 10-Iul-2006, 17:21:14
Am facut modificarea in index.php dar in index_body.tpl nu stiu unde sa pun {GLANCE_OUTPUT} pt. a-mi afisa casuta cu discutii recente in stanga ?
Cu cat trebuie sa micsorez forumurile ?
Continut index_body.tpl :
Cod: Selectaţi tot
<table>
<tr>
<td><span>
<BEGIN>
{LAST_VISIT_DATE}<br>
<END>
{CURRENT_TIME}<br></span><span><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
<td>
<BEGIN>
<a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br>
<END>
<a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
</tr>
</table>
<BEGIN>
<table>
<tr>
<td>{catrow.CAT_ICON}<span><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
<td> </td>
</tr>
<tr>
<th> {L_FORUM} </th>
<th> {L_TOPICS} </th>
<th> {L_POSTS} </th>
<th> {L_LASTPOST} </th>
</tr>
<BEGIN>
<tr>
<td><img></td>
<td>{catrow.forumrow.FORUM_ICON}<span> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br>
</span> <span>{catrow.forumrow.FORUM_DESC}<br>
</span><span>{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span>
<BEGIN>
<BEGIN>
<br>
<END>
<span><b>{catrow.forumrow.switch_attached_forums.L_ATTACHED_FORUMS}:</b>
<BEGIN>
<a class="nav" href="{catrow.forumrow.switch_attached_forums.attached_forums.U_VIEWFORUM}"><img>{catrow.forumrow.switch_attached_forums.attached_forums.FORUM_NAME}</a>
<END>
<span>
<END>
</td>
<td><span>{catrow.forumrow.TOPICS}</span></td>
<td><span>{catrow.forumrow.POSTS}</span></td>
<td> <span>{catrow.forumrow.LAST_POST}</span></td>
</tr>
<END>
<br>
</table>
<END>
<table>
<tr>
<td>
<BEGIN>
<span><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span>
<END>
</td>
<td><span>{S_TIMEZONE}</span></td>
</tr>
</table>
<table>
<tr>
<td><span><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></td>
</tr>
<tr>
<td><img></td>
<td><span>{TOTAL_POSTS}<br>{TOTAL_USERS}<br>{NEWEST_USER}</span>
</td>
</tr>
<tr>
<td><span>{TOTAL_USERS_ONLINE} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]<br>{RECORD_USERS}<br>{LOGGED_IN_USER_LIST}</span></td>
</tr>
</table>
<table>
<tr>
<td><span>{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table><Clock>
<br>
<table>
<tr>
<td>
<span>{CLOCK_NAME}</span>
</td>
</tr>
<tr>
<td>
<div><embed>
</div>
</td>
</tr>
</table>
<Clock>
<BEGIN>
<form>
<table>
<tr>
<td><a name="login"></a><span>{L_LOGIN_LOGOUT}</span></td>
</tr>
<tr>
<td><span>{L_USERNAME}:
<input>
{L_PASSWORD}:
<input>
<BEGIN>
{L_AUTO_LOGIN}
<input>
<END>
<input>
</span> </td>
</tr>
</table>
</form>
<END>
<br>
<table>
<tr>
<td><img></td>
<td><span>{L_NEW_POSTS}</span></td>
<td> </td>
<td><img></td>
<td><span>{L_NO_NEW_POSTS}</span></td>
<td> </td>
<td><img></td>
<td><span>{L_FORUM_LOCKED}</span></td>
</tr>
</table>
Asvrea un exemplu concret unde sa pun {GLANCE_OUTPUT} .
Multumesc anticipat.
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 1 vizitator