Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-24-2008, 09:05 AM
Khalid-B's Avatar
Khalid-B Khalid-B is offline
 
Join Date: Apr 2007
Location: NL
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Attachment Help needed

Hello.

I am getting error when i try to attach MP3 files.
i am getting this erro.

PHP Code:
Fatal errorAllowed memory size of 23068672 bytes exhausted (tried to allocate 4712039 bytesin /home/user/public_html/forum/includes/class_core.php on line 3139 
How can i fix this issue?

Plz help.

Thank you
Reply With Quote
  #2  
Old 07-24-2008, 09:14 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You will need to raise the PHP memory limit. You might have to contact your host about this.
Reply With Quote
  #3  
Old 07-24-2008, 09:38 AM
Khalid-B's Avatar
Khalid-B Khalid-B is offline
 
Join Date: Apr 2007
Location: NL
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi.

I followed your instructions nad increased memory limmite and now getting database error.

PHP Code:
Invalid SQL:
INSERT INTO attachment
       
(datelinethumbnail_datelinevisibleuseridextensionfilenameposthashfilehashfilesizefiledata)
VALUES
       
(1216895199121689519911'mp3''song.mp3''16c07d00ac44b4abdc8f133e1cd42ccc''5c150877203d3cb159416c9dc764f51a'2279519'ID3 \0\0\0\0 vPRIV\0\0\0 \0\0PeakValue\0? \0\0PRIV\0\0\0 \0\0AverageLevel\ 

Thanks for the help.
Reply With Quote
  #4  
Old 07-24-2008, 09:59 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please provide the full error mesage.
Reply With Quote
  #5  
Old 07-24-2008, 10:17 AM
Khalid-B's Avatar
Khalid-B Khalid-B is offline
 
Join Date: Apr 2007
Location: NL
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi.
its too long and so gonna attach it.
plz check attach file

thank you
Attached Files
File Type: txt error.txt (70.1 KB, 5 views)
Reply With Quote
  #6  
Old 07-24-2008, 10:46 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is still missing the important last few lines.
Reply With Quote
  #7  
Old 07-24-2008, 10:48 AM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Delete the big load of stuff in the middle. All the text before and after it is what we need.
Reply With Quote
  #8  
Old 07-24-2008, 10:49 AM
Khalid-B's Avatar
Khalid-B Khalid-B is offline
 
Join Date: Apr 2007
Location: NL
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi.

well i got this in my email and i just copied and pasted so there is no line missing any more as i seen again in my email.

Thank You
Reply With Quote
  #9  
Old 07-24-2008, 10:52 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please test again with a small and a large attachement. Does it only happen with a large attachment?

You might need to change some other settings like Max Post Size (PHP) and the MySQL maximum size.
Reply With Quote
  #10  
Old 07-24-2008, 11:02 AM
Khalid-B's Avatar
Khalid-B Khalid-B is offline
 
Join Date: Apr 2007
Location: NL
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi.
hi i treid as u said and still same error and here are the sizes that u asked..

PHP Max Post Size 1,000.00 MB
PHP Maximum Upload Size 1,000.00 MB
PHP Memory Limit 32.00 MB
MySQL Version 5.0.51a-community
MySQL Packet Size 1.00 MB


Thank you

--------------- Added [DATE]1216901057[/DATE] at [TIME]1216901057[/TIME] ---------------

Quote:
Originally Posted by Opserty View Post
Delete the big load of stuff in the middle. All the text before and after it is what we need.

here it is as u said.

PHP Code:
Invalid SQL:
INSERT INTO attachment
       
(datelinethumbnail_datelinevisibleuseridextensionfilenameposthashfilehashfilesizefiledata)
VALUES
       
(1216900745121690074511'mp3''terebin sanu.mp3''5f4c3acf322574b1b6a2b081cd9e8a36''55d3091366abf22cbbb00dfbed98df3b'1982505'ID3 \0\0\0\0\0 

Thank you
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:16 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07167 seconds
  • Memory Usage 2,278KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete