View Full Version : Unable to upload pdf
mdreamer
01-18-2010, 07:29 PM
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
JamesC70
01-18-2010, 08:30 PM
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.
mdreamer
01-19-2010, 03:22 AM
I am trying to upload from my computer and the so called VBulletin?s ?self-explanatory? :rolleyes::confused: is no good.
screenshot attached
https://vborg.vbsupport.ru/attachment.php?attachmentid=110426&stc=1&d=1266555662
please help
thanks!
JamesC70
01-19-2010, 03:19 PM
Ask your webhost to increase your PHP upload timeout and your PHP maximum upload size. These are server settings beyond vBulletin's control.
mdreamer
01-21-2010, 02:21 PM
seems its work!
Thanks!
mdreamer
01-23-2010, 12:13 PM
I got another error
do i need to change another parameter?
Lynne
01-23-2010, 02:50 PM
You need to view the page source of that page in order to see what the actual database error is.
mdreamer
01-24-2010, 01:02 AM
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><989B2DCD269D7147AC86C888DD2A3C7F>]>>\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\nxb``` ?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/attachment.php?attachmentid=19242&d=1264112371
Referrer : http://www.efly.co.il/forums/showthread.php?t=17307
IP Address : 79.181.31.157
Username : hodai
thanks guys
JamesC70
01-24-2010, 02:28 PM
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/attachment.php?attachmentid=19242&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.
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.
mdreamer
01-24-2010, 03:10 PM
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?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.