Pure PHP Upload 2 Support Product Page

This topic is locked
This topic was archived

Problems with upload

Reported 17 Oct 2008 18:44:00
1
has this problem
17 Oct 2008 18:44:00 Neil Brown posted:
Hi,

I installed Pure PHP Upload and had success uploading smaller files.

Here is the page it is installed:
www.allthingsoffice.com/success.php

I am having two error messages occur. This:

Upload Error
An error has occured saving uploaded file!

Filename: COVER.jpg
File is not uploaded correctly or is empty.
Please correct and try again

— and this —

Safari can’t open the page “www.allthingsoffice.com/success.php?&GP_upload=true” because it can’t find the server “www.allthingsoffice.com”.

Both errors seem to be occurring for files over 2MB. Ones smaller than 2MB appear to be uploading fine. I left the "Limit Upload Size" blank and set the Timeout for 700 sec during my set up. Any ideas?

# # #

Also, another issue I'm having is that I don't have all the selections for the progress bar. Specifically, I'm missing the DHTML Progress Bar.

Please help!
Neil Brown

Replies

Replied 20 Oct 2008 13:28:57
20 Oct 2008 13:28:57 Miroslav Zografski replied:
Hi Neil,

I've uploaded 2 files, one of them twice. A image under 1Mb and a camtasia project - over 9Mb. First i did it with FF3.0.3 and then with Safari 3.2.1 In both browsers the 9Mb file was uploaded OK after a little of waiting, but it gave me no errors. As i can see you have redirection to ok.html and it work ok as well. Also i can browse back to success.php and if i add ?&GP_upload=true it redirects me to ok.html which is the way it should act.
Please, send a screen shot of the Missing DHTML Progress Bar option in PPHPU user interface.

Regards,

M.Zografski

-----------------------------------
DMXZone.com Support Team
-----------------------------------
Replied 20 Oct 2008 16:02:06
20 Oct 2008 16:02:06 Neil Brown replied:
Hello,

I am attaching a screenshot of the progress bar choices.

Also, I tested again this morning and I'm still not able to upload anything over 2 MB. I tried a 2.8 MB JPG file in both FireFox 3.03 and Safari 3.12 (Mac) but still got an error. I attached a screenshot of the error as well as my main settings in PPHPU interface.

Any ideas???

Neil

<img src="www.surrypublishing.com/samples/Picture11.png" border=0>
<img src="www.surrypublishing.com/samples/Picture12.png" border=0>
<img src="www.surrypublishing.com/samples/Picture13.png" border=0>
Replied 20 Oct 2008 17:52:42
20 Oct 2008 17:52:42 Miroslav Zografski replied:
Hi Neil,

About DHTML Progress:
Check following location for showProgress.htm :
MacintoshHD:Users:%currentuser%:Library:Application Support:Adobereamweaver 9:Configuration:sharedMXZone<img src=../images/dmxzone/forum/icon_smile_tongue.gif border=0 align=middle>ureUpload<img src=../images/dmxzone/forum/icon_smile_tongue.gif border=0 align=middle>rogressBars:

About Upload Problem chek your server permissions for permitted upload size. Also check your settings when uploaded file size is too big. I guess that the serer just interrupts the link and the error message is incorrect.

Regards,

M.Zografski

-----------------------------------
DMXZone.com Support Team
-----------------------------------
Replied 20 Oct 2008 18:07:25
20 Oct 2008 18:07:25 Neil Brown replied:
I checked and do not have the DHTML progress bar in my Progress Bars folder. How do I add it back in there?

The website is hosted through GoDaddy. As far as I know, there are no file upload limits (how would I check?). I had the 1.1 version of Pure PHP Upload previously and my client says users had been able to upload large files in the past. I certainly wouldn't consider 2.8 MB an excessive amount. Would it make a difference for me to enter a high max file limit in the main settings for PPHPU?

Neil
Replied 21 Oct 2008 10:12:48
21 Oct 2008 10:12:48 Miroslav Zografski replied:
I checked and do not have the DHTML progress bar in my Progress Bars folder. How do I add it back in there?

The website is hosted through GoDaddy. As far as I know, there are no file upload limits (how would I check?). I had the 1.1 version of Pure PHP Upload previously and my client says users had been able to upload large files in the past. I certainly wouldn't consider 2.8 MB an excessive amount. Would it make a difference for me to enter a high max file limit in the main settings for PPHPU?


Hi Neil,

You can reinstall the extension, but first make sure to remove it from Extension Manager. Other option is to send you that file. It contains all necessary stuff and you need just to place it in the mentioned location.

About upload problem - create a totally blank page with only form, file field and submit button and apply PPU there. Add following in document's header
<pre id=code><font face=courier size=2 id=code>&lt;?php
$DMX_debug = true;
?&gt;</font id=code></pre id=code>
test it on the server under question.

Also you can ask the support personnel in hosting company for POST upload allowed size.

Regards,

M.Zografski

-----------------------------------
DMXZone.com Support Team
-----------------------------------
Replied 22 Oct 2008 17:16:06
22 Oct 2008 17:16:06 Neil Brown replied:
OK, I think it is fixed now.

The reinstall of PPHPU added the DHTML progress bar back.

And the issue with file upload was with GoDaddy. They have a php.ini file that you can edit to increase the file upload and post sizes.

Thanks for your help!

Neil
Replied 23 Oct 2008 13:24:15
23 Oct 2008 13:24:15 Miroslav Zografski replied:
Hi Neil,

Glad all is fine.

Regards,

M.Zografski

-----------------------------------
DMXZone.com Support Team
-----------------------------------
Replied 05 Nov 2008 18:08:23
05 Nov 2008 18:08:23 Greta Garberini replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
....
Both errors seem to be occurring for files over 2MB. Ones smaller than 2MB appear to be uploading fine. I left the "Limit Upload Size" blank and set the Timeout for 700 sec during my set up. Any ideas?
...
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

This seems a server limitation and has nothing to do with the extension.
Make a file where you put
<pre id=code><font face=courier size=2 id=code>
phpinfo();

</font id=code></pre id=code>
as a php expression. (Google for "phpinfo" for more info)
save it as phpinfo.php and upload it to your server.
Direct your browser toward this file (e.g. yoursite.com/phpinfo.php)
There should be a long description about this server's installed components. Find the line which is called
"PHP Core"
find:
<pre id=code><font face=courier size=2 id=code>memory_limit</font id=code></pre id=code>
and
<pre id=code><font face=courier size=2 id=code>post_max_size</font id=code></pre id=code>
and check the numbers. If its only 2MB you can send a message to your provider. Sometimes they grant bigger sizes. google for .htaccess for more details.

regards,
Reinhard

Reply to this topic