Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3339678
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T00:31:13+00:00 2026-05-18T00:31:13+00:00

Weird… Originally i thought that php was not correctly handling large file uploads (800mb-2gb)

  • 0

Weird… Originally i thought that php was not correctly handling large file uploads (800mb-2gb)

now i’ve figured out that the file is moved correctly, but the mysql query that enters the file info into the DB seems to be skipped when large files are uploaded.

The mysql query is executed like it should be when small files are uploaded. This problem only seems to arise with larger files

Also, the mysql queries before the file is moved seem to work fine.

Process:

Wait for uploaded file, 
check file size, 
get md5 of file, 
move file from temp folder to uploads folder, 
if moving file is successful then mysql query.

The file is where is should be, but the query isnt executed.

Should i put a 10 second delay between after the file is moved and when the mysql query is called?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T00:31:13+00:00Added an answer on May 18, 2026 at 12:31 am

    If the file move is working than the problem is most likely on the last step – the MySQL query. Max out the error level with error_reporting(E_ALL) and setup a PHP error log – this will record any MySQL warnings and any other problems. Log the SQL query you’re trying to execute. Does it work from a MySQL client?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Some weird problem is haunting me right now: One of my apps (not yet
Some weird case when I tried a simple php code to check the file
Weird question, but one that puzzles me a bit. In the old days when
Weird question but here it is. What are the programming concepts that were automated
Weird question I think its more of I am not sure what it is
weird question. I'm trying to extend a little plugin that's in my blog's sidebar.
Something weird that I've been seeing, a web application written in ASP.Net (C#) that
Weird, real weird. I have some Jquery Validation statements that still allow a post
Weird , i had this working before but stopped out now and doesn't seem
Weird question, perhaps. We have a number of simple utilities written in-house that need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.