Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 01-18-2010, 07:29 PM
mdreamer's Avatar
mdreamer mdreamer is offline
 
Join Date: Jul 2008
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Unable to upload pdf

Hi guys,

I am running VB 3.8.2
I set the PDF size file to 15M, when i am trying to uplad 3MB PDF and each time the upload fails.
The PDF is good (readable) but i can?t attached it here. Here is link to download it..
http://manuals.hobbico.com/osm/120ax-manual.pdf
Other PDFs files are being attached well and some not.
Do you have any idea why it fails?

Regards
Maayan
Reply With Quote
  #2  
Old 01-18-2010, 08:30 PM
JamesC70 JamesC70 is offline
 
Join Date: Jun 2007
Posts: 219
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mdreamer View Post
Other PDFs files are being attached well and some not.
Do you have any idea why it fails?
Are you trying to upload from a URL? The other website may not allow their files to be "uploaded" that way. It's called "hotlinking".

If you're uploading from your own computer and the upload fails, check the top of the upload box for an error message. Usually the error message is self-explanatory.
Reply With Quote
  #3  
Old 01-19-2010, 03:22 AM
mdreamer's Avatar
mdreamer mdreamer is offline
 
Join Date: Jul 2008
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am trying to upload from my computer and the so called VBulletin?s ?self-explanatory? is no good.
screenshot attached



please help

thanks!
Attached Images
File Type: jpg 111.JPG (44.7 KB, 0 views)
Reply With Quote
  #4  
Old 01-19-2010, 03:19 PM
JamesC70 JamesC70 is offline
 
Join Date: Jun 2007
Posts: 219
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ask your webhost to increase your PHP upload timeout and your PHP maximum upload size. These are server settings beyond vBulletin's control.
Reply With Quote
  #5  
Old 01-21-2010, 02:21 PM
mdreamer's Avatar
mdreamer mdreamer is offline
 
Join Date: Jul 2008
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

seems its work!

Thanks!
Reply With Quote
  #6  
Old 01-23-2010, 12:13 PM
mdreamer's Avatar
mdreamer mdreamer is offline
 
Join Date: Jul 2008
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got another error
do i need to change another parameter?
Attached Images
File Type: jpg DB errr.JPG (45.1 KB, 0 views)
Reply With Quote
  #7  
Old 01-23-2010, 02:50 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to view the page source of that page in order to see what the actual database error is.
Reply With Quote
  #8  
Old 01-24-2010, 01:02 AM
mdreamer's Avatar
mdreamer mdreamer is offline
 
Join Date: Jul 2008
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i got 2 types of errors..

Database error in vBulletin 3.8.2:

Invalid SQL:
INSERT INTO attachment
(dateline, thumbnail_dateline, visible, userid, extension, filename, posthash, filehash, filesize, filedata)
VALUES
(1264301385, 1264301385, 1, 1, 'pdf', 'ACCUCEL_manual.pdf', '039f7cc2de82f6acc0431a663a35bb58', '9a4eaa65b3d577d595ca79105a9c1952', 2401960, '%PDF-1.6\r%גדֿ׃\r\n273 0 obj\r<</Linearized 1/L 2401960/O 275/E 35141/N 21/T 2396452/H [ 556 637]>>\rendobj\r \r\nxref\r\n273 13\r\n0000000016 00000 n\r\n0000001193 00000 n\r\n0000001299 00000 n\r\n0000001827 00000 n\r\n0000002018 00000 n\r\n0000002132 00000 n\r\n0000002865 00000 n\r\n0000003287 00000 n\r\n0000003511 00000 n\r\n0000003872 00000 n\r\n0000004122 00000 n\r\n0000034897 00000 n\r\n0000000556 00000 n\r\ntrailer\r\n<</Size 286/Prev 2396440/Root 274 0 R/Info 272 0 R/ID[<E9858D8E64350F448211351A1AD9FCA7><989B2DCD269D714 7AC86C888DD2A3C7F>]>>\r\nstartxref\r\n0\r\n%%EOF\r\n \r\n285 0 obj\r<</Length 542/C 760/Filter/FlateDecode/I 782/O 744/S 569>>stream\r\nxb``` ?i , l @ • (־ְׁ ְ \0 ?[ׁpן€״/~—• ?תƒKtg? .73ױ(hַ ֻ?׃ֺ+ ?ל5חˆ?8\04s‚ ‹y * N - 3 ?₪ >-iם׃ף9˜ִגֶddsaדQ?I\\ /? ?ד׀י?₪?‡?ג ׃“3b\n. &פ?ט :-יmוד”rY= ?Q??k’ ?U Dֹ g‘n ֽWW ֽtם ע >˜? 3?י G?ּײfׁV?I 6ֲf+ :@צ yaGב<9 בrV0ןa*Xn?+?ֺם(ת??ט ׀\'g \"ב\nח?״₪X?\"xF:I ח?f?i?60 * ֲ? X<\Z€L ? ? ˜ֽ b??? ִ˜4 \\\\ְ? ױ \r ׁ ‚ Z b I‘ 4ֵ ןסo ֽ ִמאט5e `?ֽ׀ֵ`ֻ?‚? a5? ֳׁ\n&†‎ ז83 b ך ֲp ?F•! A–A”!’ֱ–ב40M?ct`״ֺ?ֽ ֶטֽ ־אֳ?‚1 Q‡!‘?€?ƒׁ ? Hת2N`?d^ַטּ?‚ב2 7ƒ ד2ֶV :wFoֶ [ # ף ] —3j1Z Y ס L־ 3 ?‚‚b ~ ?? ?O יy ׂ‘@:‡A$י L ?\0ƒJןW ˆ— \0G1טB\r\nendstream\rendobj\r274 0 obj\r<</Outlines 115 0 R/Metadata 271 0 R/Pages 266 0 R/StructTreeRoot 158 0 R/Type/Catalog>>\rendobj\r275 0 obj\r<</CropBox[0.0 0.0 354.331 524.409]/Parent 267 0 R/StructParents 0/Contents 278 0 R/Rotate 0/BleedBox[0.0 0.0 354.331 524.409]/ArtBox[22.2842 21.6562 345.784 461.304]/MediaBox[0.0 0.0 354.331 524.409]/TrimBox[0.0 0.0 354.331 524.409]/Resources<</XObject<</Im0 283 0 R>>/Font<</TT0 276 0 R/TT1 279 0 R/TT2 281 0 R>>/ProcSet[/PDF/Text/ImageC]/Properties<</MC0<</Color[20224 ..........

and

Database error in vBulletin 3.8.2:

Invalid SQL:

SELECT attachmentid, SUBSTRING(filedata, 0 + 1, 2097152) AS filedata
FROM attachment
WHERE attachmentid = 19242;

MySQL Error : Out of memory (Needed 2097168 bytes)
Error Number : 5
Request Date : Friday, January 22nd 2010 @ 07:43:25 AM
Error Date : Friday, January 22nd 2010 @ 07:43:25 AM
Script : http://www.efly.co.il/forums/attachm...2&d=1264112371
Referrer : http://www.efly.co.il/forums/showthread.php?t=17307
IP Address : 79.181.31.157
Username : hodai


thanks guys
Reply With Quote
  #9  
Old 01-24-2010, 02:28 PM
JamesC70 JamesC70 is offline
 
Join Date: Jun 2007
Posts: 219
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mdreamer View Post
MySQL Error : Out of memory (Needed 2097168 bytes)
Error Number : 5
Request Date : Friday, January 22nd 2010 @ 07:43:25 AM
Error Date : Friday, January 22nd 2010 @ 07:43:25 AM
Script : http://www.efly.co.il/forums/attachm...2&d=1264112371
Referrer : http://www.efly.co.il/forums/showthread.php?t=17307
IP Address : 79.181.31.157
Username : hodai
Please note that I inverted these errors from your post yesterday.

When your error message says "Database error in vBulletin 3.8...." your server is letting you know that vBulletin (as opposed to other software, like your mail server software, shopping cart software, or photo gallery software) is experiencing this error. It doesn't mean that vBulletin is the direct cause.

The error above means that SQL could not allocate memory. This is a server issue, not a vBulletin issue.

Quote:
Originally Posted by mdreamer View Post
Invalid SQL:
INSERT INTO attachment
(dateline, thumbnail_dateline, visible, userid, extension, filename, posthash, filehash, filesize, filedata)
VALUES
(1264301385, 1264301385, 1, 1, 'pdf', 'ACCUCEL_manual.pdf', '039f7cc2de82f6acc0431a663a35bb58', '9a4eaa65b3d577d595ca79105a9c1952', 2401960, '%PDF-1.6\r%גדֿ׃\r\n273
We need the rest of the error message; specifically the part that looks like what I replied to first.
Reply With Quote
  #10  
Old 01-24-2010, 03:10 PM
mdreamer's Avatar
mdreamer mdreamer is offline
 
Join Date: Jul 2008
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I opened a request support in my host´s support for the first error.

The thing is, that in the second error, its just keep on the gibberish for couple of thousand lines until its end with no other notice.

how can i get the info that you are talking about?
Reply With Quote
Reply

Thread Tools
Display Modes

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 02:50 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.03993 seconds
  • Memory Usage 2,273KB
  • 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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (2)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete