Pagina 2 din 3

Scris: 22-Mar-2007, 19:43:04
de Marian96
dar ai intrat in fisierul index.php?

Scris: 22-Mar-2007, 19:58:46
de M*i*h*a*i
Da.....Am intrat si am facut modificarile acestea:

Cod: Selectaţi tot

# 
#-----[ OPEN ]------------------------------------------ 
# 
index.php

# 
#-----[ FIND ]------------------------------------------ 
#
//
// End session management
//

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
include_once($phpbb_root_path.'includes/functions_color_groups.'.$phpEx);
color_groups_setup_list();

# 
#-----[ FIND ]------------------------------------------ 
#
								$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid(" POST_USERS_URL='  . $forum_data[$j]['>' . $forum_data[$j]['username'] . '</a> ';

# 
#-----[REPLACE WITH ]------------------------------------------ 
#
								$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : color_group_colorize_name($forum_data[$j]['user_id']);
# 

Scris: 22-Mar-2007, 20:15:49
de Kalipso
mura in gura nu se poate:) trebuie sa mai invete si el:) si daca se kinuie invata :P

Scris: 22-Mar-2007, 20:20:46
de M*i*h*a*i
De o luna am invatat destul php doar k eroarea asta parca nu-si are sensul :P .

Scris: 22-Mar-2007, 20:21:45
de Kalipso
uite ca pe zi ce trece apar provocari noi :)

Scris: 22-Mar-2007, 20:23:59
de Aliniuz
Nu ai bagat codul ala unde trebuie, reia instructiunea .

Scris: 31-Mar-2007, 13:44:21
de M*i*h*a*i
Am reluat si acum apare altceva:

Cod: Selectaţi tot

A apărut o eroare

DEBUG MODE

SQL Error : 1146 Table 'creed_speed_04.f2e1a19_color_groups' doesn't exist

SELECT * FROM f2e1a19_color_groups WHERE hidden = 0 ORDER BY order_num ASC

Line : 227
File : functions_color_groups.php
Si inca ceva.......Fisieul de instalare nu merge.Cand dau new install si sumit face un refresh la pagina si atat.Ce-am gresit?Am facut tot apoi am intrat in fisierul de instalare :?

Scris: 31-Mar-2007, 14:46:50
de Aliniuz
Executa aceasta comanda in phpMyAdmin

Cod: Selectaţi tot

CREATE TABLE `phpbb_color_groups` (
  `group_id` mediumint(8) unsigned NOT NULL auto_increment,
  `group_name` varchar(255) NOT NULL default '',
  `group_color` varchar(50) NOT NULL default '',
  PRIMARY KEY  (`group_id`),
  UNIQUE KEY `group_name` (`group_name`)
) TYPE=MyISAM ;
ALTER TABLE `phpbb_users` ADD `user_color_group` MEDIUMINT UNSIGNED NOT NULL ;
ALTER TABLE `phpbb_color_groups` ADD `hidden` TINYINT( 1 ) DEFAULT '0' NOT NULL ;
ALTER TABLE `phpbb_color_groups` ADD `order_num` MEDIUMINT NOT NULL ;
ALTER TABLE `phpbb_groups` ADD `group_color_group` MEDIUMINT UNSIGNED NOT NULL ;

Scris: 31-Mar-2007, 15:03:54
de M*i*h*a*i

Cod: Selectaţi tot

Error
SQL query: 

CREATE TABLE `phpbb_color_groups` (

`group_id` mediumint( 8 ) unsigned NOT NULL AUTO_INCREMENT ,
`group_name` varchar( 255 ) NOT NULL default '',
`group_color` varchar( 50 ) NOT NULL default '',
PRIMARY KEY ( `group_id` ) ,
UNIQUE KEY `group_name` ( `group_name` ) 
) TYPE = MYISAM ;



MySQL said:  

#1050 - Table 'phpbb_color_groups' already exists 


Scris: 31-Mar-2007, 15:04:49
de Aliniuz
Inseamna ca ai executat comenzile SQL si ca esti OK din acest punct de vedere .