Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    Regular Coder
    Join Date
    Apr 2003
    Location
    Canada, Ontario, Mississauga
    Posts
    312
    Thanks
    0
    Thanked 0 Times in 0 Posts

    PHP Upload Fatal error

    When I tried to upload something with my upload php script, it gave me this error, anyone know anything about it?

    Fatal error: Maximum execution time of 10800 seconds exceeded in C:\htdocs\member\storage.php on line 2

    Also, on code line 2, it has nothing to do with the error. ( line 2 is $button_num=3; )

    Thank you all

  • #2
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,108
    Thanks
    11
    Thanked 101 Times in 99 Posts
    how big is the file you are uploading ?
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)

  • #3
    Regular Coder
    Join Date
    Apr 2003
    Location
    Canada, Ontario, Mississauga
    Posts
    312
    Thanks
    0
    Thanked 0 Times in 0 Posts
    file size it about 10 mega bytes, I set the php.ini max size to 40 mega bytes.

  • #4
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,108
    Thanks
    11
    Thanked 101 Times in 99 Posts
    ok , thats a big file so your script probably is simply timing out ,

    <? set_time_limit(0); ?>

    at the head of the script may solve
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)

  • #5
    Regular Coder
    Join Date
    Apr 2003
    Location
    Canada, Ontario, Mississauga
    Posts
    312
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yup, thank you very much..

    Also, I really like the new look of codingforums.

    does the web master wrote this forum or is there a premade one?

  • #6
    Regular Coder
    Join Date
    Apr 2003
    Location
    Canada, Ontario, Mississauga
    Posts
    312
    Thanks
    0
    Thanked 0 Times in 0 Posts
    <? set_time_limit(0); ?> Doesn't work, I don't know why, I thought it works, but it doesn't

  • #7
    New Coder
    Join Date
    Apr 2004
    Location
    Texas
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts
    check out the 3rd post on this page....
    http://forums.devshed.com/t64691/s.html

    but? 10800 seconds is like 3 hours....hmm, how long does it take to upload?
    and what is your max_execution_time set to in the php.ini?
    Jason B

  • #8
    Regular Coder
    Join Date
    Apr 2003
    Location
    Canada, Ontario, Mississauga
    Posts
    312
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I know 10800 is long, that's why it's strange, I gave me this error in 1 or 2 minutes.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •