vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   VB Attachment ERR need help (https://vborg.vbsupport.ru/showthread.php?t=145333)

vuiveclub_net 04-20-2007 08:58 AM

VB Attachment ERR need help
 
When attachment a file by using Vb 3.6.5 have err:

Quote:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1141628 bytes) in /var/www/html/nhaforum/includes/class_core.php on line 89
- I tried to upload a file < 1.0Mb it no problem
- Upload files > 1.0Mb Vb say that error

My server stastus:
Quote:

- Server Type: linux (safe mod)
- Web server: Apache ver 2.2.0
- PHP: 5.1.6
- PHP Max Post Size: 8.00Mb
- PHP Maximum upload size: 8.00Mb
- PHP Memory Limit: 8.00Mb
- MySQL Version: 5.0.27
- MySQL Packet Size: 1.00Mb
Thank for help

Rickie3 04-20-2007 09:20 AM

there's your problem MySQL Packet Size: 1.00Mb,contact your host to up the size to maybe 16Mb

Marco van Herwaarden 04-20-2007 09:24 AM

This error is actually not a MySQL error, but a PHP error. Please raise memory_limit for your PHP configuration, you might need assistence from your host to do so.

We recommend a memory_limit of 16Mb or higher.

vuiveclub_net 04-20-2007 09:27 AM

Quote:

Originally Posted by Rickie3 (Post 1231827)
there's your problem MySQL Packet Size: 1.00Mb,contact your host to up the size to maybe 16Mb


Thank very much, can you tell me how to config MySQL Packet Size, I have server root pass, but don't know how to..
relax,

Quote:

Originally Posted by Marco van Herwaarden (Post 1231830)
This error is actually not a MySQL error, but a PHP error. Please raise memory_limit for your PHP configuration, you might need assistence from your host to do so.

We recommend a memory_limit of 16Mb or higher.

First say Thank alot with help,

Tried config with PHP Memory Limit = 16Mb, Vb can upload max 3.0Mb
When config PHP Memory Limit = 32Mb, now VB can upload max 6.5Mb, if upload file > 6.5Mb try error: "Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1141628 bytes) in /var/www/html/nhaforum/includes/class_core.php on line 89 "

Now my server have:
Code:

- Server Type: linux (safe mod)
- Web server: Apache ver 2.2.0
- PHP: 5.1.6
- PHP Max Post Size: 8.00Mb
- PHP Maximum upload size: 8.00Mb
- PHP Memory Limit: 32.00Mb
- MySQL Version: 5.0.27
- MySQL Packet Size: 16.00Mb

Have U got a solution to config attachment donot go to database with Vbb 3.6.4 ? because this one will place my database files so big, and lost very much Server Memory, dangerous.

Thank again for fulhelp


All times are GMT. The time now is 11:54 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01055 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete