Problem uploading more than 30 pictures

51463

Well-known member
I have been having some problems uploading 30 or more images.
Anything under 3o images its fine.

The problem is more than 30 images.

At the time, I was uploading 80 images. I was getting a big error message but i was unable to see what it said because it quickly shutdown my server. The cloudflare screen came up and i think it was either a error 522,521 or 520 i can't remember the error screen I had to wait 8 seconds then refresh and my site was back online. It keep happening every time i uploaded a big amount of images.

It did not produce an server error in the admin panel.



So i tried with 50 images instead and i am unable to upload that many images also.

What would be causing this?

Here is the 2 errors:

Code:
ErrorException: copy(/home/mywebsite/public_html/internal_data/attachments/2/2594-0aecd064422b93e04828fbcd19301a39.data): failed to open stream: No such file or directory - library/XenGallery/Model/Watermark.php:161
Generated By: joey_tbf, A moment ago

Stack Trace

#0 [internal function]: XenForo_Application::handlePhpError(2, 'copy(/home/wask...', '/home/mywebsite...', 161, Array)
#1 /home/mywebsite/public_html/library/XenGallery/Model/Watermark.php(161): copy('/home/mywebsite...', '/home/mywebsite...')
#2 /home/mywebsite/public_html/library/XenGallery/DataWriter/Media.php(381): XenGallery_Model_Watermark->addWatermarkToImage(Array)
#3 /home/mywebsite/public_html/library/XenForo/DataWriter.php(1409): XenGallery_DataWriter_Media->_postSave()
#4 /home/mywebsite/public_html/library/XenGallery/Model/Media.php(2726): XenForo_DataWriter->save()
#5 /home/mywebsite/public_html/library/XenGallery/ControllerPublic/Media.php(2801): XenGallery_Model_Media->associateAttachmentsAndMedia(Array, Array, Array, 'album')
#6 /home/mywebsite/public_html/library/*******/ShareThisAlbum/ControllerPublic/Media.php(13): XenGallery_ControllerPublic_Media->actionSaveMedia()
#7 /home/mywebsite/public_html/library/XenForo/FrontController.php(347): *******_ShareThisAlbum_ControllerPublic_Media->actionSaveMedia()
#8 /home/mywebsite/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /home/mywebsite/public_html/index.php(13): XenForo_FrontController->run()
#10 {main}

Request State

array(3) {
  ["url"] => string(37) "http://mywebsite.com/media/save-media"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(19) {
    ["type"] => string(5) "album"
    ["album_id"] => string(10) "114.error2"
    ["image_url"] => string(0) ""
    ["media_title_all"] => string(0) ""
    ["media_description_all"] => string(72) "the-best-coollookingandbestpictures-aroundtheworld-big-pics"
    ["media_title"] => array(1) {
      ["image_upload"] => array(50) {
        [2648] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics080"
        [2647] => string(82) "the-best-coollookingandbestpictures-aroundtheworld-big-pics080 - Copy"
        [2646] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics079"
        [2645] => string(82) "the-best-coollookingandbestpictures-aroundtheworld-big-pics079 - Copy"
        [2644] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics078"
        [2643] => string(82) "the-best-coollookingandbestpictures-aroundtheworld-big-pics078 - Copy"
        [2642] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics077"
        [2641] => string(82) "the-best-coollookingandbestpictures-aroundtheworld-big-pics077 - Copy"
        [2640] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics076"
        [2639] => string(82) "the-best-coollookingandbestpictures-aroundtheworld-big-pics076 - Copy"
        [2638] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics075"
        [2637] => string(82) "the-best-coollookingandbestpictures-aroundtheworld-big-pics075 - Copy"
        [2636] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics074"
        [2635] => string(82) "the-best-coollookingandbestpictures-aroundtheworld-big-pics074 - Copy"
        [2634] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics073"
        [2633] => string(82) "the-best-coollookingandbestpictures-aroundtheworld-big-pics073 - Copy"
        [2632] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics072"
        [2631] => string(82) "the-best-coollookingandbestpictures-aroundtheworld-big-pics072 - Copy"
        [2630] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics071"
        [2629] => string(82) "the-best-coollookingandbestpictures-aroundtheworld-big-pics071 - Copy"
        [2628] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics070"
        [2627] => string(82) "the-best-coollookingandbestpictures-aroundtheworld-big-pics070 - Copy"
        [2626] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics069"
        [2625] => string(82) "the-best-coollookingandbestpictures-aroundtheworld-big-pics069 - Copy"
        [2624] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics068"
        [2623] => string(82) "the-best-coollookingandbestpictures-aroundtheworld-big-pics068 - Copy"
        [2622] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics067"
        [2621] => string(82) "the-best-coollookingandbestpictures-aroundtheworld-big-pics067 - Copy"
        [2620] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics066"
        [2619] => string(82) "the-best-coollookingandbestpictures-aroundtheworld-big-pics066 - Copy"
        [2618] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics065"
        [2617] => string(82) "the-best-coollookingandbestpictures-aroundtheworld-big-pics065 - Copy"
        [2616] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics064"
        [2615] => string(82) "the-best-coollookingandbestpictures-aroundtheworld-big-pics064 - Copy"
        [2614] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics063"
        [2613] => string(82) "the-best-coollookingandbestpictures-aroundtheworld-big-pics063 - Copy"
        [2612] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics062"
        [2611] => string(82) "the-best-coollookingandbestpictures-aroundtheworld-big-pics062 - Copy"
        [2610] => string(82) "the-best-coollookingandbestpictures-aroundtheworld-big-pics061 - Copy"
        [2609] => string(89) "the-best-coollookingandbestpictures-aroundtheworld-big-pics061 - Copy - Copy"
        [2608] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics060"
        [2607] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics059"
        [2606] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics058"
        [2605] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics057"
        [2604] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics056"
        [2603] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics055"
        [2602] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics054"
        [2601] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics053"
        [2600] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics052"
        [2599] => string(75) "the-best-coollookingandbestpictures-aroundtheworld-big-pics051"
      }
    }
    ["media_description"] => array(1) {
      ["image_upload"] => array(50) {
        [2648] => string(0) ""
        [2647] => string(0) ""
        [2646] => string(0) ""
        [2645] => string(0) ""
        [2644] => string(0) ""
        [2643] => string(0) ""
        [2642] => string(0) ""
        [2641] => string(0) ""
        [2640] => string(0) ""
        [2639] => string(0) ""
        [2638] => string(0) ""
        [2637] => string(0) ""
        [2636] => string(0) ""
        [2635] => string(0) ""
        [2634] => string(0) ""
        [2633] => string(0) ""
        [2632] => string(0) ""
        [2631] => string(0) ""
        [2630] => string(0) ""
        [2629] => string(0) ""
        [2628] => string(0) ""
        [2627] => string(0) ""
        [2626] => string(0) ""
        [2625] => string(0) ""
        [2624] => string(0) ""
        [2623] => string(0) ""
        [2622] => string(0) ""
        [2621] => string(0) ""
        [2620] => string(0) ""
        [2619] => string(0) ""
        [2618] => string(0) ""
        [2617] => string(0) ""
        [2616] => string(0) ""
        [2615] => string(0) ""
        [2614] => string(0) ""
        [2613] => string(0) ""
        [2612] => string(0) ""
        [2611] => string(0) ""
        [2610] => string(0) ""
        [2609] => string(0) ""
        [2608] => string(0) ""
        [2607] => string(0) ""
        [2606] => string(0) ""
        [2605] => string(0) ""
        [2604] => string(0) ""
        [2603] => string(0) ""
        [2602] => string(0) ""
        [2601] => string(0) ""
        [2600] => string(0) ""
        [2599] => string(0) ""
      }
    }
    ["media_tag"] => array(1) {
      ["image_upload"] => array(50) {
        [0] => string(0) ""
        [1] => string(0) ""
        [2] => string(0) ""
        [3] => string(0) ""
        [4] => string(0) ""
        [5] => string(0) ""
        [6] => string(0) ""
        [7] => string(0) ""
        [8] => string(0) ""
        [9] => string(0) ""
        [10] => string(0) ""
        [11] => string(0) ""
        [12] => string(0) ""
        [13] => string(0) ""
        [14] => string(0) ""
        [15] => string(0) ""
        [16] => string(0) ""
        [17] => string(0) ""
        [18] => string(0) ""
        [19] => string(0) ""
        [20] => string(0) ""
        [21] => string(0) ""
        [22] => string(0) ""
        [23] => string(0) ""
        [24] => string(0) ""
        [25] => string(0) ""
        [26] => string(0) ""
        [27] => string(0) ""
        [28] => string(0) ""
        [29] => string(0) ""
        [30] => string(0) ""
        [31] => string(0) ""
        [32] => string(0) ""
        [33] => string(0) ""
        [34] => string(0) ""
        [35] => string(0) ""
        [36] => string(0) ""
        [37] => string(0) ""
        [38] => string(0) ""
        [39] => string(0) ""
        [40] => string(0) ""
        [41] => string(0) ""
        [42] => string(0) ""
        [43] => string(0) ""
        [44] => string(0) ""
        [45] => string(0) ""
        [46] => string(0) ""
        [47] => string(0) ""
        [48] => string(0) ""
        [49] => string(0) ""
      }
    }
    ["media_embed_url_original"] => array(1) {
      ["image_upload"] => array(50) {
        [0] => string(0) ""
        [1] => string(0) ""
        [2] => string(0) ""
        [3] => string(0) ""
        [4] => string(0) ""
        [5] => string(0) ""
        [6] => string(0) ""
        [7] => string(0) ""
        [8] => string(0) ""
        [9] => string(0) ""
        [10] => string(0) ""
        [11] => string(0) ""
        [12] => string(0) ""
        [13] => string(0) ""
        [14] => string(0) ""
        [15] => string(0) ""
        [16] => string(0) ""
        [17] => string(0) ""
        [18] => string(0) ""
        [19] => string(0) ""
        [20] => string(0) ""
        [21] => string(0) ""
        [22] => string(0) ""
        [23] => string(0) ""
        [24] => string(0) ""
        [25] => string(0) ""
        [26] => string(0) ""
        [27] => string(0) ""
        [28] => string(0) ""
        [29] => string(0) ""
        [30] => string(0) ""
        [31] => string(0) ""
        [32] => string(0) ""
        [33] => string(0) ""
        [34] => string(0) ""
        [35] => string(0) ""
        [36] => string(0) ""
        [37] => string(0) ""
        [38] => string(0) ""
        [39] => string(0) ""
        [40] => string(0) ""
        [41] => string(0) ""
        [42] => string(0) ""
        [43] => string(0) ""
        [44] => string(0) ""
        [45] => string(0) ""
        [46] => string(0) ""
        [47] => string(0) ""
        [48] => string(0) ""
        [49] => string(0) ""
      }
    }
    ["media_embed_url"] => array(1) {
      ["image_upload"] => array(50) {
        [0] => string(0) ""
        [1] => string(0) ""
        [2] => string(0) ""
        [3] => string(0) ""
        [4] => string(0) ""
        [5] => string(0) ""
        [6] => string(0) ""
        [7] => string(0) ""
        [8] => string(0) ""
        [9] => string(0) ""
        [10] => string(0) ""
        [11] => string(0) ""
        [12] => string(0) ""
        [13] => string(0) ""
        [14] => string(0) ""
        [15] => string(0) ""
        [16] => string(0) ""
        [17] => string(0) ""
        [18] => string(0) ""
        [19] => string(0) ""
        [20] => string(0) ""
        [21] => string(0) ""
        [22] => string(0) ""
        [23] => string(0) ""
        [24] => string(0) ""
        [25] => string(0) ""
        [26] => string(0) ""
        [27] => string(0) ""
        [28] => string(0) ""
        [29] => string(0) ""
        [30] => string(0) ""
        [31] => string(0) ""
        [32] => string(0) ""
        [33] => string(0) ""
        [34] => string(0) ""
        [35] => string(0) ""
        [36] => string(0) ""
        [37] => string(0) ""
        [38] => string(0) ""
        [39] => string(0) ""
        [40] => string(0) ""
        [41] => string(0) ""
        [42] => string(0) ""
        [43] => string(0) ""
        [44] => string(0) ""
        [45] => string(0) ""
        [46] => string(0) ""
        [47] => string(0) ""
        [48] => string(0) ""
        [49] => string(0) ""
      }
    }
    ["media_image_upload"] => string(4) "true"
    ["image_upload_hash"] => string(32) "568c0c5cc7fa4d88535eb4e790d4033d"
    ["container_type"] => string(5) "album"
    ["container_id"] => string(3) "114"
    ["_xfConfirm"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(23) "/media/add?album_id=114"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
 
Last edited:
and error number 2

Code:
ErrorException: Fatal Error: Maximum execution time of 30 seconds exceeded - library/XenGallery/Helper/Image.php:506
Generated By: joey_tbf, 9 minutes ago

Stack Trace

#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}

Request State

array(3) {
  ["url"] => string(37) "http://mywebsite.com/media/save-media"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(19) {
    ["type"] => string(5) "album"
    ["album_id"] => string(10) "115.error3"
    ["image_url"] => string(0) ""
    ["media_title_all"] => string(0) ""
    ["media_description_all"] => string(0) ""
    ["media_title"] => array(1) {
      ["image_upload"] => array(50) {
        [2723] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (50)"
        [2722] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (49)"
        [2721] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (48)"
        [2720] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (47)"
        [2719] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (46)"
        [2718] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (45)"
        [2717] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (44)"
        [2716] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (43)"
        [2715] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (42)"
        [2714] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (41)"
        [2713] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (40)"
        [2712] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (39)"
        [2711] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (38)"
        [2710] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (37)"
        [2709] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (36)"
        [2708] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (35)"
        [2707] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (34)"
        [2706] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (33)"
        [2705] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (32)"
        [2704] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (31)"
        [2703] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (30)"
        [2702] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (29)"
        [2701] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (28)"
        [2700] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (27)"
        [2699] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (26)"
        [2698] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (25)"
        [2697] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (24)"
        [2696] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (23)"
        [2695] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (22)"
        [2694] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (21)"
        [2693] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (20)"
        [2692] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (19)"
        [2691] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (18)"
        [2690] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (17)"
        [2689] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (16)"
        [2688] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (15)"
        [2687] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (14)"
        [2686] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (13)"
        [2685] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (12)"
        [2684] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (11)"
        [2683] => string(81) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (10)"
        [2682] => string(80) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (9)"
        [2681] => string(80) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (8)"
        [2680] => string(80) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (7)"
        [2679] => string(80) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (6)"
        [2678] => string(80) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (5)"
        [2677] => string(80) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (4)"
        [2676] => string(80) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (3)"
        [2675] => string(80) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (2)"
        [2674] => string(80) "the-best-coollookingandbestpictures-aroundtheworld-big-pics (1)"
      }
    }
    ["media_description"] => array(1) {
      ["image_upload"] => array(50) {
        [2723] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2722] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2721] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2720] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2719] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2718] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2717] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2716] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2715] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2714] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2713] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2712] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2711] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2710] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2709] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2708] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2707] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2706] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2705] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2704] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2703] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2702] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2701] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2700] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2699] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2698] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2697] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2696] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2695] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2694] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2693] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2692] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2691] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2690] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2689] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2688] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2687] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2686] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2685] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2684] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2683] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2682] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2681] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2680] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2679] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2678] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2677] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2676] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2675] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
        [2674] => string(77) "the-best-coollookingandbestpictures-aroundtheworld-big-pics "
      }
    }
    ["media_tag"] => array(1) {
      ["image_upload"] => array(50) {
        [0] => string(0) ""
        [1] => string(0) ""
        [2] => string(0) ""
        [3] => string(0) ""
        [4] => string(0) ""
        [5] => string(0) ""
        [6] => string(0) ""
        [7] => string(0) ""
        [8] => string(0) ""
        [9] => string(0) ""
        [10] => string(0) ""
        [11] => string(0) ""
        [12] => string(0) ""
        [13] => string(0) ""
        [14] => string(0) ""
        [15] => string(0) ""
        [16] => string(0) ""
        [17] => string(0) ""
        [18] => string(0) ""
        [19] => string(0) ""
        [20] => string(0) ""
        [21] => string(0) ""
        [22] => string(0) ""
        [23] => string(0) ""
        [24] => string(0) ""
        [25] => string(0) ""
        [26] => string(0) ""
        [27] => string(0) ""
        [28] => string(0) ""
        [29] => string(0) ""
        [30] => string(0) ""
        [31] => string(0) ""
        [32] => string(0) ""
        [33] => string(0) ""
        [34] => string(0) ""
        [35] => string(0) ""
        [36] => string(0) ""
        [37] => string(0) ""
        [38] => string(0) ""
        [39] => string(0) ""
        [40] => string(0) ""
        [41] => string(0) ""
        [42] => string(0) ""
        [43] => string(0) ""
        [44] => string(0) ""
        [45] => string(0) ""
        [46] => string(0) ""
        [47] => string(0) ""
        [48] => string(0) ""
        [49] => string(0) ""
      }
    }
    ["media_embed_url_original"] => array(1) {
      ["image_upload"] => array(50) {
        [0] => string(0) ""
        [1] => string(0) ""
        [2] => string(0) ""
        [3] => string(0) ""
        [4] => string(0) ""
        [5] => string(0) ""
        [6] => string(0) ""
        [7] => string(0) ""
        [8] => string(0) ""
        [9] => string(0) ""
        [10] => string(0) ""
        [11] => string(0) ""
        [12] => string(0) ""
        [13] => string(0) ""
        [14] => string(0) ""
        [15] => string(0) ""
        [16] => string(0) ""
        [17] => string(0) ""
        [18] => string(0) ""
        [19] => string(0) ""
        [20] => string(0) ""
        [21] => string(0) ""
        [22] => string(0) ""
        [23] => string(0) ""
        [24] => string(0) ""
        [25] => string(0) ""
        [26] => string(0) ""
        [27] => string(0) ""
        [28] => string(0) ""
        [29] => string(0) ""
        [30] => string(0) ""
        [31] => string(0) ""
        [32] => string(0) ""
        [33] => string(0) ""
        [34] => string(0) ""
        [35] => string(0) ""
        [36] => string(0) ""
        [37] => string(0) ""
        [38] => string(0) ""
        [39] => string(0) ""
        [40] => string(0) ""
        [41] => string(0) ""
        [42] => string(0) ""
        [43] => string(0) ""
        [44] => string(0) ""
        [45] => string(0) ""
        [46] => string(0) ""
        [47] => string(0) ""
        [48] => string(0) ""
        [49] => string(0) ""
      }
    }
    ["media_embed_url"] => array(1) {
      ["image_upload"] => array(50) {
        [0] => string(0) ""
        [1] => string(0) ""
        [2] => string(0) ""
        [3] => string(0) ""
        [4] => string(0) ""
        [5] => string(0) ""
        [6] => string(0) ""
        [7] => string(0) ""
        [8] => string(0) ""
        [9] => string(0) ""
        [10] => string(0) ""
        [11] => string(0) ""
        [12] => string(0) ""
        [13] => string(0) ""
        [14] => string(0) ""
        [15] => string(0) ""
        [16] => string(0) ""
        [17] => string(0) ""
        [18] => string(0) ""
        [19] => string(0) ""
        [20] => string(0) ""
        [21] => string(0) ""
        [22] => string(0) ""
        [23] => string(0) ""
        [24] => string(0) ""
        [25] => string(0) ""
        [26] => string(0) ""
        [27] => string(0) ""
        [28] => string(0) ""
        [29] => string(0) ""
        [30] => string(0) ""
        [31] => string(0) ""
        [32] => string(0) ""
        [33] => string(0) ""
        [34] => string(0) ""
        [35] => string(0) ""
        [36] => string(0) ""
        [37] => string(0) ""
        [38] => string(0) ""
        [39] => string(0) ""
        [40] => string(0) ""
        [41] => string(0) ""
        [42] => string(0) ""
        [43] => string(0) ""
        [44] => string(0) ""
        [45] => string(0) ""
        [46] => string(0) ""
        [47] => string(0) ""
        [48] => string(0) ""
        [49] => string(0) ""
      }
    }
    ["media_image_upload"] => string(4) "true"
    ["image_upload_hash"] => string(32) "ded2084eba4dfe10f7104db12fb06ba6"
    ["container_type"] => string(5) "album"
    ["container_id"] => string(3) "115"
    ["_xfConfirm"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(10) "/media/add"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}


this all happens after i upload the images and i press "Save Media"

The first error after i press save media its shuts down my website,

The second error It just gets stuck on that page with the "Save Media" I click it and it gives me an error message. Can't go any farther.

And only when i upload more than 30 pictures.
 
Last edited:
I can usually upload 100-200 at a time relatively easily, and even then it doesn't take longer than 30 seconds, though if you're watermarking the images that can take longer -- even longer if they're animated gif image you're uploading.

It can of course take longer if the images are large, too, as it takes more effort and potentially more time to create thumbnails of them.

I'm unsure what would be causing the first error, but certainly the second error relates to the max_execution_time in PHP.

Though, really, 30 seconds should be enough. If you can tell me a little more about the pictures you're uploading, file size, resolution, whether they are animated or not there may be an explanation as to why it's taking so long.
 
Mission: Upload all images to album
Total Images: 100
Type: JPEG
Animated: None
Watermark: On
Total Size: 35.1MB
Biggest Size: 454KB
Small Size: 323KB
Biggest Resolution: 960 x 1280
Smallest Resolution: 531 x 800
Time to upload all images after pressing on "upload": 1 minute 39 seconds
Set All Descriptions & Titles: 2 seconds
Press Save Media: Shuts down server.

This time i used a camera to record what happens when i press save media. So i was able to capture the error screen before disappears. Here is what the error screen said:

The Following Error 520 Ray ID: 1dca (numbers and time here)
Web server is returning an unkown error
You
Browser
Working
Newark
Working
Host
Error
What happened
There is unkown connection issue between cloudflare and the origin web server,


and also captured the cloudflare screen
1.webp

should i increase the max_execution_time in the php?
Would that solve my problem? What time should i do it? 2 minutes?
 
Press Save Media: Shuts down server.
How long after pressing "Save Media" does the server get "shut down"? Instantly? Or after 30 seconds? I'm assuming that's where the max execution time error comes in.

How long does it take to come back? After it comes back, what happens?

If you turn watermarking off, does that improve things?
 
How long after pressing "Save Media" does the server get "shut down"? Instantly? Or after 30 seconds? I'm assuming that's where the max execution time error comes in.
After i press "Save Media" It shows that small thinking icon. Like it's going to save but about 6 seconds it shuts down and goes to the cloudflare screen. It never goes past 30 seconds after pressing save media.


How long does it take to come back? After it comes back, what happens?
It takes about 10 seconds to come back. All i have to do is refresh. If i refresh before the 10 second it just shows the cloudflare screen.

If you turn watermarking off, does that improve things?
I have tried again this time with watermark disabled and it saves the media. I don't get errors and it doesn't shut down the server.
 
Update..

I have changed the:

max_execution_time

to
240 seconds


and it worked! It saved the media! It didn't shut down my server or give me any problems.

This was with watermark enabled. It seems we have solved the problem.

Mission Accomplished.

thanks!
 
Top Bottom