Announcement

Collapse
No announcement yet.

Attachment Time Out

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Attachment Time Out

    i am getting an error for uploading big files for the attachments when posting ... i changed the size of the files in the admin controls to be larger ... now i am getting a upload time out for the bigger files ... where do i change the amount of time needed to upload files ??? is it in the newattachment.php file ??? if so what line to i change to make the time longer than 90 seconds ??? i want to change the time to 5 minutes or longer ...

    this is the error message i get when uploading large attachments :

    Fatal error: Maximum execution time of 90 seconds exceeded in
    D:\mywebsite\www\forums\newattachment.php on line 14


    thank you for any help in this area

    later people

  • #2
    You need to increase the max_execution_time setting in php.ini, then restart your web server.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      Steve,

      where is this file ( php.ini ) located ??

      later

      Comment


      • #4
        It depends on your server. You can see the location in phpinfo.php.
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment


        • #5
          well Steve, i could not find that file on the server ... is that file ( phpinfo.php ) found in the zip file of the install program prior before loading vbulletin onto the server ??

          Comment


          • #6
            Upload the phpinfo.php file from the 'extras' directory of the zip file to your forums directory. Then post the URL here. Your php.ini location will show as Configuration File (php.ini) Path on that page.
            Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
            Change CKEditor Colors to Match Style (for 4.1.4 and above)

            Steve Machol Photography


            Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


            Comment


            • #7
              eh Steve ,

              i found that file phpinfo.php you were talking about ... that is in vbulletin v2.3 ... i am running v3 rc4 .. does it make a difference with this file ( phpinfo.php ) ????

              later dude

              Comment


              • #8
                nope, the code in it is always the same:

                PHP Code:
                 <?php phpinfo(); ?>
                The version of vB is not important

                Comment


                • #9
                  ok, how come in v3 that file does not exist ??? i could not find it ... i found it in v2 ... that is why i was lost .. lol

                  Comment


                  • #10
                    However the file shouldn't be always on the server, as potential hackers could get to know through it, how the config of your server is - and how they might enter it. Sooooo it is better if you delete it, after you used it

                    Comment


                    • #11
                      Originally posted by 5150
                      ok, how come in v3 that file does not exist ???
                      This is now an option in the Admin CP. Open the Server Settings and Optimization Options section and turn on the Public phpinfo() Display Enabled setting. You can then go to their forums and add &do=phpinfo to any page and it will display their phpinfo()page.
                      Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                      Change CKEditor Colors to Match Style (for 4.1.4 and above)

                      Steve Machol Photography


                      Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                      Comment


                      • #12
                        ok, cool ...

                        can you give me a step by step on how to do this ??? i would like to learn how to do these kind of things ..

                        thanks guys
                        later

                        Comment


                        • #13
                          You can only edit php.ini if you have root access to your server.

                          Comment


                          • #14
                            Originally posted by Zachery
                            You can only edit php.ini if you have root access to your server.
                            i have access to the server, abviously cause i uploaded vbulletin ... but do i have to go to the server company and get them to fix that php file or can i do that myself ????

                            Comment


                            • #15
                              Because you can upload vBulletin doesnt mean you have root access. Root Access would be defined as 100% total access to the whole harddrive.

                              If your on a shared host you dont have root access. If you dont have root access you would need to ask your host to change / modify.

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...
                              X