tlallen00 — 2013-04-14T16:24:35-04:00 — #1
I am struggling to find the answer to my problem through any forum or Google search (probably because I am not well-versed in server language or settings.
I have a basic file upload form...
<form action=http://www.thelogoapproach.com/Admin/updateInventory.php method=post enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" value="400000" />
Inventory File: <input name="inventory" type="file">
<br><br><input type=submit value="Upload Inventory">
When I click submit to the form, the browser just keeps "processing" and updateInventory.php never loads (nor do I get any errors at any point). updateInventory.php is in a protected folder, but it is the same folder that this form upload is located in.
The file that I am trying to upload is a .csv file that is only 310KB.
Does anyone know what I may be doing wrong?
rubble — 2013-04-14T16:31:36-04:00 — #2
Why not do a test by putting your code into an unprotected folder and see what happens?
tlallen00 — 2013-04-14T16:39:18-04:00 — #3
So initially I got the same results...
At the bottom of the browser it says, "Waiting for www.thelogoapproach.com..." after "Sending Request to www.thelogoapproach.com...".
9 out of 10 times, it does that and just keeps processing. 1 out of 10 times it will work.
Would there be anything on my own personal computer that would be slowing down the upload or connection (the 1 time it works, it goes quickly)?
rubble — 2013-04-14T16:54:38-04:00 — #4
Try adding this to the top of the updateInventory.php file and see if it displays any errors.
tlallen00 — 2013-04-15T02:15:36-04:00 — #5
I do not see what you are wanting me to add.
rubble — 2013-04-15T02:56:45-04:00 — #6
tlallen00 — 2013-04-16T19:55:43-04:00 — #7
When I executed it in the unprotected file today, it worked on the first try. I did not get any error messages though.
Any ideas on what CHMOD settings I would need on this directory or how I could get it to work with the current (755) settings?
tlallen00 — 2013-04-16T20:11:15-04:00 — #8
And the second time that I tried executing it with a script to connect to mysql and ftp that was previously located in the protected folder as well, the problem came back.
tlallen00 — 2013-04-20T14:33:55-04:00 — #9
system — 2014-10-08T00:06:22-04:00 — #10
This topic is now closed. New replies are no longer allowed.