1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Server Issue Media Gallery Error

Discussion in 'Media Gallery Resolved Bugs' started by ŽivaAkcija, Aug 23, 2015.

  1. ŽivaAkcija

    ŽivaAkcija Well-Known Member

    when add media in example category got this error

    Code:
    ErrorException: Undefined index: tags - library/XenGallery/ControllerPublic/Media.php:2909
    Generated By: admin, prije nekoliko trenutaka
    Stack Trace
    
    #0 /home/ateist/public_html/klub/library/XenGallery/ControllerPublic/Media.php(2909): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/ateist/pu...', 2909, Array)
    #1 /home/ateist/public_html/klub/library/XenForo/FrontController.php(347): XenGallery_ControllerPublic_Media->actionSaveMedia()
    #2 /home/ateist/public_html/klub/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #3 /home/ateist/public_html/klub/index.php(13): XenForo_FrontController->run()
    #4 {main}
    
    Request State
    
    array(3) {
      ["url"] => string(50) "http://ateist.club/klub/index.php?media/save-media"
      ["_GET"] => array(1) {
        ["media/save-media"] => string(0) ""
      }
      ["_POST"] => array(14) {
        ["type"] => string(8) "category"
        ["category_id"] => string(1) "1"
        ["image_upload_type"] => string(6) "upload"
        ["media_"] => string(4) "true"
        ["image_upload_hash"] => string(32) "805564c91bdd398ad8dfe91fbf8447f6"
        ["video_embed"] => array(1) {
          ["55da39b0a2d72"] => array(3) {
            ["media_title"] => string(43) "Noise  Destruction - Laki je malo nervozan "
            ["media_tag"] => string(34) "[MEDIA=youtube]AvDf2K4_XW8[/MEDIA]"
            ["media_embed_url"] => string(43) "https://www.youtube.com/watch?v=AvDf2K4_XW8"
          }
        }
        ["media_video_embed"] => string(4) "true"
        ["container_type"] => string(8) "category"
        ["container_id"] => string(1) "1"
        ["_xfConfirm"] => string(1) "1"
        ["_xfToken"] => string(8) "********"
        ["_xfRequestUri"] => string(25) "/klub/index.php?media/add"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfResponseType"] => string(4) "json"
      }
    }
    
    
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    That's odd - I can't see how this could happen.

    Have you made any changes to templates? (Related to tagging). Are you continuing to have the issue, or has it been a one off?
     
  3. ŽivaAkcija

    ŽivaAkcija Well-Known Member

    no changes its a fresh install in test forum.

    Code:
    ErrorException: Undefined index: media_description - library/XenGallery/ControllerPublic/Media.php:2916
    Generated By: admin, Jučer u 22:23
    Stack Trace
    
    #0 /home/ateist/public_html/klub/library/XenGallery/ControllerPublic/Media.php(2916): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/ateist/pu...', 2916, Array)
    #1 /home/ateist/public_html/klub/library/XenForo/FrontController.php(347): XenGallery_ControllerPublic_Media->actionSaveMedia()
    #2 /home/ateist/public_html/klub/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #3 /home/ateist/public_html/klub/index.php(13): XenForo_FrontController->run()
    #4 {main}
    
    Request State
    
    array(3) {
      ["url"] => string(50) "http://ateist.club/klub/index.php?media/save-media"
      ["_GET"] => array(1) {
        ["media/save-media"] => string(0) ""
      }
      ["_POST"] => array(14) {
        ["type"] => string(8) "category"
        ["category_id"] => string(1) "1"
        ["image_upload_type"] => string(6) "upload"
        ["media_"] => string(4) "true"
        ["image_upload_hash"] => string(32) "805564c91bdd398ad8dfe91fbf8447f6"
        ["video_embed"] => array(1) {
          ["55da39b0a2d72"] => array(3) {
            ["media_title"] => string(43) "Noise  Destruction - Laki je malo nervozan "
            ["media_tag"] => string(34) "[MEDIA=youtube]AvDf2K4_XW8[/MEDIA]"
            ["media_embed_url"] => string(43) "https://www.youtube.com/watch?v=AvDf2K4_XW8"
          }
        }
        ["media_video_embed"] => string(4) "true"
        ["container_type"] => string(8) "category"
        ["container_id"] => string(1) "1"
        ["_xfConfirm"] => string(1) "1"
        ["_xfToken"] => string(8) "********"
        ["_xfRequestUri"] => string(25) "/klub/index.php?media/add"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfResponseType"] => string(4) "json"
      }
    }
    
    
     
  4. ŽivaAkcija

    ŽivaAkcija Well-Known Member

    its happened everytime when add videos
     
  5. Chris D

    Chris D XenForo Developer Staff Member

    I can't seem to reproduce this.

    Could you submit a ticket with login and FTP details please. I'll have a look what's causing this.
     
  6. ŽivaAkcija

    ŽivaAkcija Well-Known Member

    my host are down, maybe its related with that, when be up again, will post details to access FTP and test forum
     
  7. ŽivaAkcija

    ŽivaAkcija Well-Known Member

    sorry for delay i put ticket in client area
     
  8. Chris D

    Chris D XenForo Developer Staff Member

    I have updated the ticket with more info, but this is basically an issue with the server.

    Something on the server is unsetting $_POST parameters somewhere between the request being sent from the browser and being received by our code. Therefore, if you don't include a description or tags then these values are completely missing instead of just being empty.

    I have produced a test case for you. You will need to contact your host for further support.
     
    ŽivaAkcija likes this.

Share This Page