vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Problems with attachments (https://vborg.vbsupport.ru/showthread.php?t=168463)

pedro84 01-22-2008 12:13 PM

Problems with attachments
 
Hi!

I got big problems with attachments. When I try to upload attachment bigger than usually, about 20-30 MBytes I got following error:

Code:

Fatal error: Out of memory (allocated 27262976) (tried to allocate 25169921 bytes) in /forums/includes/class_upload.php on line 235
The same error is appearing when I try to upload files from my PC & via URL.

Details about my system:
Code:

vBulletin version: 3.6.8 Patch Level 2
Attachments storage type: database
Server Type: FreeBSD
Web Server: ucgi5
PHP: 5.2.1
PHP Max Post Size: 64.00 MB
PHP Maximum Upload Size: 64.00 MB
PHP Memory Limit: 128.00 MB                   
MySQL Version: 5.0.33-log


Does anyone has any suggestion or idea how to solve that problem?

Cheers!
Pedro


Edit:
Could any Moderator be so kind & edit thread and name it correctly?

Edit 2:
Now I got following error:
Code:

Fatal error: Out of memory (allocated 42467328) (tried to allocate 40243244 bytes) in /forums/includes/class_core.php on line 1806

snakes1100 01-22-2008 12:50 PM

Yes, you need to set the memory_limit to a higher value and restart apache/iis or if your on a vhost, you need to edit the htaccess file in your public html dir and set it there, no need to restart apache if thats the case as your on a vhost and the setting is loaded automatically.

memory_limit = 256M

Thats if your host allows you to use that much ram.

pedro84 01-22-2008 01:22 PM

Hi There!

Very thanks for reply!

I'm using some shitty hosting at the moment. I paste in .htaccess
memory_limit = 256M

Tried to upload attachment with the same result.

Any other tips how to solve it?

Marco van Herwaarden 01-22-2008 01:28 PM

Please the following code in a file named phpinfo.php and upload o your forumhome directory and provide us with the link to this script:

PHP Code:

<?php
phpinfo
();
?>



All times are GMT. The time now is 10:24 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.03147 seconds
  • Memory Usage 1,714KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_php_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