Fatal error: Allowed memory size of 134217728 bytes exhausted

If you don't know russian language or can't post in russian please, post your questions about TB Dev SZ Edition here. You're not allow to post your's questions at another forums of this category.
Правила форума
Only non-russian talks here.

Fatal error: Allowed memory size of 134217728 bytes exhausted

Сообщение kitapuse » 21 апр 2009, 03:26

What to do ?

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 12657007 bytes) in /home/dailyfacts/domains/dailyfacts.org/public_html/include/db/dbal.php on line 606
kitapuse
 
Сообщения: 11
Зарегистрирован: 14 апр 2009, 17:49

Re: Fatal error: Allowed memory size of 134217728 bytes exhauste

Сообщение Nafania » 21 апр 2009, 09:01

what version do you use?
Аватара пользователя
Nafania
Администратор
 
Сообщения: 1207
Зарегистрирован: 30 июн 2007, 16:10

Re: Fatal error: Allowed memory size of 134217728 bytes exhauste

Сообщение kitapuse » 21 апр 2009, 13:34

I am using the latest SVN:

Адрес svn http://svn.tbdevsz.ru/project


This eror occured when users ,want to Singnup.
kitapuse
 
Сообщения: 11
Зарегистрирован: 14 апр 2009, 17:49

Re: Fatal error: Allowed memory size of 134217728 bytes exhauste

Сообщение Nafania » 21 апр 2009, 13:38

do you use fresh install from svn or upgrade existing version?
Аватара пользователя
Nafania
Администратор
 
Сообщения: 1207
Зарегистрирован: 30 июн 2007, 16:10

Re: Fatal error: Allowed memory size of 134217728 bytes exhauste

Сообщение kitapuse » 21 апр 2009, 18:27

I'am new user at this forum.So i downloaded a "fresh install ".

So how resolve this problem,because users can't singnup :|
kitapuse
 
Сообщения: 11
Зарегистрирован: 14 апр 2009, 17:49

Re: Fatal error: Allowed memory size of 134217728 bytes exhauste

Сообщение Nafania » 22 апр 2009, 09:34

Try to comment following line in dbal.php
Код: Выделить всё
write_log('sql error ' . $error['message'] . ' occured in sql query ' . $sql . '<br />Backtrace:<br />' . $backtrace, LOG_VIEW_SYSOP);

i.e.
it was
Код: Выделить всё
write_log('sql error ' . $error['message'] . ' occured in sql query ' . $sql . '<br />Backtrace:<br />' . $backtrace, LOG_VIEW_SYSOP);

and you replace it with
Код: Выделить всё
//write_log('sql error ' . $error['message'] . ' occured in sql query ' . $sql . '<br />Backtrace:<br />' . $backtrace, LOG_VIEW_SYSOP);


than enable DEBUG_EXTRA mode (if not enabled yet, it enabled by default).
Then logout from tracker and try to signup.
You'll see error message.
Post it here.
Аватара пользователя
Nafania
Администратор
 
Сообщения: 1207
Зарегистрирован: 30 июн 2007, 16:10

Re: Fatal error: Allowed memory size of 134217728 bytes exhauste

Сообщение kitapuse » 22 апр 2009, 12:48

General Error
SQL ERROR [ mysql4 ]

MySQL server has gone away [2006]

SQL

SELECT MAX(uid) AS max_uid FROM users

BACKTRACE

FILE: include/db/mysql.php
LINE: 173
CALL: dbal->sql_error()

FILE: signup.php
LINE: 287
CALL: dbal_mysql->sql_query()
kitapuse
 
Сообщения: 11
Зарегистрирован: 14 апр 2009, 17:49

Re: Fatal error: Allowed memory size of 134217728 bytes exhauste

Сообщение Nafania » 22 апр 2009, 13:33

Аватара пользователя
Nafania
Администратор
 
Сообщения: 1207
Зарегистрирован: 30 июн 2007, 16:10

Re: Fatal error: Allowed memory size of 134217728 bytes exhauste

Сообщение kitapuse » 22 апр 2009, 13:42

So how to resolve this problem ? and why is it only on signup ?
kitapuse
 
Сообщения: 11
Зарегистрирован: 14 апр 2009, 17:49

Re: Fatal error: Allowed memory size of 134217728 bytes exhauste

Сообщение Nafania » 22 апр 2009, 13:52

what version of mysql do you use? may be it's not stable version.
try to upgrade your mysql to the latest stable version
Аватара пользователя
Nafania
Администратор
 
Сообщения: 1207
Зарегистрирован: 30 июн 2007, 16:10

Re: Fatal error: Allowed memory size of 134217728 bytes exhauste

Сообщение kitapuse » 22 апр 2009, 13:56

My mysql Server versio :
Server version: 5.0.67

Or i need 4. xx ?
kitapuse
 
Сообщения: 11
Зарегистрирован: 14 апр 2009, 17:49

Re: Fatal error: Allowed memory size of 134217728 bytes exhauste

Сообщение kitapuse » 22 апр 2009, 14:03

and some more erors on admin panel:

User Permissions Control
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_ug_auth.php on line 606: Undefined offset: 0
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_ug_auth.php on line 664: Invalid argument supplied for foreach()
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_ug_auth.php on line 786: Undefined offset: 0
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/page_header_admin.php on line 130: Cannot modify header information - headers already sent by (output started at /include/global.php:233)
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/page_header_admin.php on line 136: Cannot modify header information - headers already sent by (output started at /include/global.php:233)
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/page_header_admin.php on line 137: Cannot modify header information - headers already sent by (output started at /include/global.php:233)


and When I warn user for ( 1,2,4,8 week)

General Error
SQL ERROR [ mysql4 ]

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 ' enabled = 1, hiddentorrents = 0, autodemote = 1, modcomment = 't1240394748 - Wa' at line 1 [1064]

SQL

UPDATE users SET avatar = '', download = 196608, upload = 327680, warneduntil = 1240999548, warn = warn + 1, torrents_limit = , enabled = 1, hiddentorrents = 0, autodemote = 1, modcomment = 't1240394748 - Warning for 7 days from user admin. Reason: aaaaaaa' WHERE uid = 2

BACKTRACE

FILE: include/db/mysql.php
LINE: 173
CALL: dbal->sql_error()

FILE: include/modtask/edituser.php
LINE: 196
CALL: dbal_mysql->sql_query()

FILE: modtask.php
LINE: 33
CALL: require_once()
kitapuse
 
Сообщения: 11
Зарегистрирован: 14 апр 2009, 17:49

Re: Fatal error: Allowed memory size of 134217728 bytes exhauste

Сообщение Nafania » 22 апр 2009, 15:05

kitapuse писал(а):My mysql Server versio :
Server version: 5.0.67

Or i need 4. xx ?

lastest stable is 5.1

and some more erors on admin panel:

you need setup forum auth access for basic groups

and When I warn user for ( 1,2,4,8 week)

you need setup torrents seeding and leeching limit in acp
Аватара пользователя
Nafania
Администратор
 
Сообщения: 1207
Зарегистрирован: 30 июн 2007, 16:10

Re: Fatal error: Allowed memory size of 134217728 bytes exhauste

Сообщение kitapuse » 22 апр 2009, 17:24

Thank you very much for help.

I have a torrent website.Using TorrrenTrader Classic V 1.8.
Which has running about 15000 peers,and want use your engine.
But i not want to lost everyghing.

Maybe can you wrote converting script ?

I need export only users and torrents to your engine.
kitapuse
 
Сообщения: 11
Зарегистрирован: 14 апр 2009, 17:49

Re: Fatal error: Allowed memory size of 134217728 bytes exhauste

Сообщение kitapuse » 22 апр 2009, 21:35

General,Forum Setttings
Creating New Forum.


[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_forums.php on line 453: Undefined index: prune_enable
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_forums.php on line 456: Undefined index: prune_enable

In Styles,Admin - Creating New Style

[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 324: Undefined index: template_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 324: Undefined index: template_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 324: Undefined index: template_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 342: Undefined variable: s_hidden_fields
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 347: Undefined index: style_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 348: Undefined index: body_text
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 349: Undefined index: body_link
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 350: Undefined index: body_vlink
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 351: Undefined index: body_alink
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 352: Undefined index: body_hlink
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 353: Undefined index: tr_color1
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 354: Undefined index: tr_color2
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 355: Undefined index: tr_color3
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 356: Undefined index: tr_class1
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 357: Undefined index: tr_class2
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 358: Undefined index: tr_class3
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 359: Undefined index: th_color1
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 360: Undefined index: th_color2
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 361: Undefined index: th_color3
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 362: Undefined index: th_class1
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 363: Undefined index: th_class2
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 364: Undefined index: th_class3
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 365: Undefined index: td_color1
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 366: Undefined index: td_color2
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 367: Undefined index: td_color3
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 368: Undefined index: td_class1
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 369: Undefined index: td_class2
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 370: Undefined index: td_class3
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 371: Undefined index: fontface1
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 372: Undefined index: fontface2
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 373: Undefined index: fontface3
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 374: Undefined index: fontsize1
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 375: Undefined index: fontsize2
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 376: Undefined index: fontsize3
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 377: Undefined index: fontcolor1
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 378: Undefined index: fontcolor2
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 379: Undefined index: fontcolor3
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 380: Undefined index: span_class1
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 381: Undefined index: span_class2
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 382: Undefined index: span_class3
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 384: Undefined index: tr_color1_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 385: Undefined index: tr_color2_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 386: Undefined index: tr_color3_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 387: Undefined index: tr_class1_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 388: Undefined index: tr_class2_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 389: Undefined index: tr_class3_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 390: Undefined index: th_color1_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 391: Undefined index: th_color2_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 392: Undefined index: th_color3_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 393: Undefined index: th_class1_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 394: Undefined index: th_class2_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 395: Undefined index: th_class3_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 396: Undefined index: td_color1_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 397: Undefined index: td_color2_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 398: Undefined index: td_color3_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 399: Undefined index: td_class1_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 400: Undefined index: td_class2_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 401: Undefined index: td_class3_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 402: Undefined index: fontface1_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 403: Undefined index: fontface2_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 404: Undefined index: fontface3_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 405: Undefined index: fontsize1_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 406: Undefined index: fontsize2_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 407: Undefined index: fontsize3_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 408: Undefined index: fontcolor1_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 409: Undefined index: fontcolor2_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 410: Undefined index: fontcolor3_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 411: Undefined index: span_class1_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 412: Undefined index: span_class2_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 413: Undefined index: span_class3_name
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 415: Undefined index: online_color
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 416: Undefined index: offline_color
[TB Dev SZ Edition Debug] PHP Notice: in file /admin/admin_styles.php on line 417: Undefined index: hidden_color
kitapuse
 
Сообщения: 11
Зарегистрирован: 14 апр 2009, 17:49

Re: Fatal error: Allowed memory size of 134217728 bytes exhauste

Сообщение Nafania » 23 апр 2009, 08:58

it's just notices for debugging, don't look at them or disable DEBUG_EXTRA and you'll not see them
Аватара пользователя
Nafania
Администратор
 
Сообщения: 1207
Зарегистрирован: 30 июн 2007, 16:10

Re: Fatal error: Allowed memory size of 134217728 bytes exhauste

Сообщение kitapuse » 23 апр 2009, 12:00

kitapuse писал(а):Thank you very much for help.

I have a torrent website.Using TorrrenTrader Classic V 1.8.
Which has running about 15000 peers,and want use your engine.
But i not want to lost everyghing.

Maybe can you wrote converting script ?

I need export only users and torrents to your engine.



Can you write converting script ?
kitapuse
 
Сообщения: 11
Зарегистрирован: 14 апр 2009, 17:49

Re: Fatal error: Allowed memory size of 134217728 bytes exhauste

Сообщение Nafania » 23 апр 2009, 12:38

not now
Аватара пользователя
Nafania
Администратор
 
Сообщения: 1207
Зарегистрирован: 30 июн 2007, 16:10

Re: Fatal error: Allowed memory size of 134217728 bytes exhauste

Сообщение kitapuse » 24 апр 2009, 02:46

Ok, I'll be waiting :)

One more question.Or SVN release has DHT disabled or enabled, multitracker ON or OFF ?
kitapuse
 
Сообщения: 11
Зарегистрирован: 14 апр 2009, 17:49

Re: Fatal error: Allowed memory size of 134217728 bytes exhauste

Сообщение Nafania » 24 апр 2009, 08:58

only private torrents
Аватара пользователя
Nafania
Администратор
 
Сообщения: 1207
Зарегистрирован: 30 июн 2007, 16:10


Вернуться в Forum for non-russian speak users

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 0

cron