To jest tylko wersja do druku, aby zobaczyć pełną wersję tematu, kliknij TUTAJ
phpBB2 by Przemo
Support forów phpBB2 modified by Przemo

Problem z modyfikacją - problem z includes.php

Rakom111 - 10-07-2010, 19:29
Temat postu: problem z includes.php
Wchodzę w profil coś tam se zmienię daje wyślij i błąd

Kod:

 Parse error: syntax error, unexpected T_FOR, expecting ')' in /var/www/virtual/cl-moa.cba.pl/includes/functions_validate.php  on line 176


w includes.php na tej Lini mam :

Kod:
    for($i = 0; $i < count($check_var_length);

Jasek - 10-07-2010, 20:03

znajdź

for($i = 0; $i < count($check_var_length);

zamien na

for($i = 0; $i < count($check_var_length); $i++)

Rakom111 - 10-07-2010, 20:30

i dalej to samo
kevin_ - 10-07-2010, 21:18

Rakom111, podrzuć plik w załączniku
krystianr - 11-07-2010, 10:05

zobacz :
Rakom111 - 11-07-2010, 11:36

nic
Kod:
  Parse error: syntax error, unexpected T_FOR, expecting ')' in /var/www/virtual/cl-moa.cba.pl/includes/functions_validate.php  on line 177

xlesiu - 11-07-2010, 11:47

Spróbuj
Rakom111 - 11-07-2010, 12:52

o kurcze

Kod:

Could not update users table

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''',user_nastroj = '', user_nastroj_emot = '3',user_attachsig = 1, user_allowsmil' at line 2

UPDATE phpb_users SET user_email = 'Rakom@znajomi.pl', user_icq = '', user_website = '', user_occ = '', user_interests = '', user_from = '', user_sig = '', user_custom_color = '', user_custom_rank = '', user_sig_bbcode_uid = '', user_viewemail = 1, user_viewaim = 1, user_aim = '', user_yim = '', user_msnm = '', '',user_nastroj = '', user_nastroj_emot = '3',user_attachsig = 1, user_allowsmile = 1, user_allowhtml = 1, user_allowbbcode = 1, user_allow_viewonline = 1, user_notify = 0, user_notify_gg = 0, user_notify_pm = 1, user_popup_pm = 1, user_timezone = 1, user_lang = 'polish', user_style = 4, user_active = 1, user_actkey = '', user_birthday = '999999', user_next_birthday_greeting = '0', user_gender = 0, allowpm = 1, user_ip_login_check = 1 WHERE user_id = 2

Line : 707
File : usercp_register.php


no i co zrobić teraz?

xlesiu - 11-07-2010, 13:23

Rakom111, pokaż usercp_register.php
Rakom111 - 11-07-2010, 17:03

proszę
krystianr - 11-07-2010, 17:17

zobacz :
Rakom111 - 11-07-2010, 18:12

kurcze jeszcze


Kod:
Could not update users table

DEBUG MODE

SQL Error : 1054 Unknown column 'user_nastroj' in 'field list'

UPDATE phpb_users SET user_email = 'Rakom@znajomi.pl', user_icq = '', user_website = '', user_occ = '', user_interests = '', user_from = '', user_sig = '', user_custom_color = '', user_custom_rank = '', user_sig_bbcode_uid = '', user_viewemail = 1, user_viewaim = 1, user_aim = '', user_yim = '', user_msnm = '', user_nastroj = '', user_nastroj_emot = '3', user_attachsig = 1, user_allowsmile = 1, user_allowhtml = 1, user_allowbbcode = 1, user_allow_viewonline = 1, user_notify = 0, user_notify_gg = 0, user_notify_pm = 1, user_popup_pm = 1, user_timezone = 1, user_lang = 'polish', user_style = 4, user_active = 1, user_actkey = '', user_birthday = '999999', user_next_birthday_greeting = '0', user_gender = 0, allowpm = 1, user_ip_login_check = 1 WHERE user_id = 2

Line : 707
File : usercp_register.php

xlesiu - 11-07-2010, 18:16

Rakom111, jak Ty zainstalowałeś tego moda Nastrój. Zobacz jeszcze raz instrukcję od tego moda. Wykonałeś zapytania
Kod:
ALTER TABLE `phpbb_users` ADD `user_nastroj` VARCHAR( 255 ) ;
ALTER TABLE `phpbb_users` ADD `user_nastroj_emot` TINYINT not null DEFAULT "0";

Rakom111 - 12-07-2010, 20:28

sprawdziłem wszystko i jest ok wiec nie wiem co jest

a i jeszcze chyba przez tego moda coś mi się stało z PA
Kod:

Warning: include(./../attach_mod/attachment_mod.php) [function.include]: failed to open stream: No such file or directory in /var/www/virtual/cl-moa.cba.pl/common.php  on line 379

Warning: include() [function.include]: Failed opening './../attach_mod/attachment_mod.php' for inclusion (include_path='.:/usr/local/lib/php5:/usr/share/pear') in /var/www/virtual/cl-moa.cba.pl/common.php on line 379

Fatal error: Call to undefined function attach_setup_basic_auth() in /var/www/virtual/cl-moa.cba.pl/includes/auth.php on line 138

Rakom111 - 12-07-2010, 20:50

nie da się wejść w profil

Kod:
Warning: mysql_connect() [function.mysql-connect]: Too many connections in /var/www/virtual/cl-moa.cba.pl/db/mysql4.php  on line 48
phpBB by Przemo : Critical Error

Could not connect to the database.
Too many connections



a może chodzi oto

Kod:
#
#-----[ SQL ]------------------------------------------------
#

ALTER TABLE `phpbb_users` ADD `user_nastroj` VARCHAR( 255 ) ;
ALTER TABLE `phpbb_users` ADD `user_nastroj_emot` TINYINT not null DEFAULT "0";


tylko nie wiem jak to dodać



Powered by phpBB modified by Przemo © 2003 phpBB Group