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

Duplicate Server Error while editing Image upload

Affected version
1.1.14

Freelancer

Well-known member
#1
I tried to upload two images to an album of my user account. I then deleted one of the images in the preview process and tried to only upload one picture. I used a title with an "&" in it which was then producing an error like "please enter a correct title"... I then exchanged the "&" for an "and" and then I got this Server Error:

Code:
Error Info
copy(/var/www/clients/client180/web812/web/internal_data/attachments/4/4273-6480a763ad7f5eb4d750ba4b164de8c3.data): failed to open stream: No such file or directory - library/XenGallery/Model/Watermark.php:161

Stack Trace
#0 [internal function]: XenForo_Application::handlePhpError(2, 'copy(/var/www/c...', '/var/www/client...', 161, Array)
#1 /var/www/clients/client180/web812/web/library/XenGallery/Model/Watermark.php(161): copy('/var/www/client...', '/var/www/client...')
#2 /var/www/clients/client180/web812/web/library/XenGallery/ControllerPublic/Media.php(3219): XenGallery_Model_Watermark->addWatermarkToImage(Array)
#3 /var/www/clients/client180/web812/web/library/XenGallery/ControllerPublic/Media.php(2988): XenGallery_ControllerPublic_Media->_associateAttachmentsAndMedia(Array, Array, Array)
#4 /var/www/clients/client180/web812/web/library/Nobita/Teams/XenGallery/ControllerPublic/Media.php(107): XenGallery_ControllerPublic_Media->actionSaveMedia()
#5 /var/www/clients/client180/web812/web/library/XenForo/FrontController.php(351): Nobita_Teams_XenGallery_ControllerPublic_Media->actionSaveMedia()
#6 /var/www/clients/client180/web812/web/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#7 /var/www/clients/client180/web812/web/index.php(13): XenForo_FrontController->run()
#8 {main}

Request State
Array
(
    [url] => https://www.mywebsite.com/media/save-media
    [_GET] => Array
        (
            [/media/save-media] => 
        )

    [_POST] => Array
        (
            [type] => album
            [album_id] => 115.ALBUM NAME
            [image_upload_type] => upload
            [image_upload] => Array
                (
                    [4285] => Array
                        (
                            [media_title] => 
                            [media_description] => 
                            [tags] => 
                            [custom_fields] => Array
                                (
                                    [Location] => 
                                    [Event] => 
                                )

                            [media_tag] => 
                            [media_embed_url_original] => 
                            [media_embed_url] => 
                        )

                    [4284] => Array
                        (
                            [media_title] => XXXXXXX XXXXXXX and XXXXXXX XXXXXXXX
                            [media_description] => XXXXXXXXREDACTED FOR BUG REPORTXXXXXX.
                            [tags] => 
                            [custom_fields] => Array
                                (
                                    [Location] => 
                                    [Event] => 
                                )

                            [media_tag] => 
                            [media_embed_url_original] => 
                            [media_embed_url] => 
                        )

                )

            [custom_fields_shown] => Array
                (
                    [0] => Location
                    [1] => Event
                    [2] => Location
                    [3] => Event
                )

            [media_image_upload] => true
            [media_] => true
            [image_upload_hash] => 143bfa7fc7349d600a4a9d83451b1fb1
            [video_upload_hash] => 5bd1bdf8cb4339b74c7c148d9b76a863
            [embed_url] => 
            [container_type] => album
            [container_id] => 115
            [_xfConfirm] => 1
            [_xfToken] => ********
            [_xfRequestUri] => /media/add?album_id=115
            [_xfNoRedirect] => 1
            [_xfResponseType] => json
        )

)