WordPress.org

Ready to get started?Download WordPress

Forums

Post Thumbnail Editor
Not saving image files, with errors (2 posts)

  1. David Radovanovic
    Member
    Posted 2 years ago #

    Tried uninstalling plugin and reinstall. /home/whatsthe/webapps/wtbi/wp-content/uploads/ptetmp/3077 exists and after deleting the folder, it gets regenerated. So, it's not a permissions problem. Just can't figure it out.

    20111226 00:06:05 - [string] ===== STARTUP PHP MESSAGES =====
    20111226 00:06:05 - [string] ===== SERVER LOG =====
    20111226 00:06:05 - [string] [DEBUG] - PARAMETERS: Array
    (
        [action] => pte_ajax
        [pte-action] => launch
        [id] => 3077
    )
    
    20111226 00:06:05 - [string] [WARNING] - Couldn't find or generate metadata for image: 3077-0
    20111226 00:06:05 - [string] [DEBUG] - USER-AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0
    20111226 00:06:05 - [string] [DEBUG] - WORDPRESS: 3.3
    20111226 00:06:05 - [string] [DEBUG] - SIZER: 0.39062500
    20111226 00:06:05 - [string] [DEBUG] - META: Array
    (
        [width] => 1024
        [height] => 768
        [hwstring_small] => height='96' width='128'
        [file] => OETbanner.jpg
        [sizes] => Array
            (
                [thumbnail] => Array
                    (
                        [file] => OETbanner-250x115.jpg
                        [width] => 250
                        [height] => 115
                    )
    
                [medium] => Array
                    (
                        [file] => OETbanner-400x300.jpg
                        [width] => 400
                        [height] => 300
                    )
    
                [large] => Array
                    (
                        [file] => OETbanner-600x450.jpg
                        [width] => 600
                        [height] => 450
                    )
    
                [excerpt-thumbnail] => Array
                    (
                        [file] => OETbanner-120x120.jpg
                        [width] => 120
                        [height] => 120
                    )
    
                [post-thumbnail] => Array
                    (
                        [file] => OETbanner-875x200.jpg
                        [width] => 875
                        [height] => 200
                    )
    
                [large-feature] => Array
                    (
                        [file] => OETbanner-1000x125.jpg
                        [width] => 1000
                        [height] => 125
                    )
    
                [small-feature] => Array
                    (
                        [file] => OETbanner-500x300.jpg
                        [width] => 500
                        [height] => 300
                    )
    
                [detail] => Array
                    (
                        [file] => OETbanner-75x75.jpg
                        [width] => 75
                        [height] => 75
                    )
    
                [0] => Array
                    (
                        [file] => 3077
                        [width] =>
                        [height] =>
                    )
    
            )
    
        [image_meta] => Array
            (
                [aperture] => 0
                [credit] =>
                [camera] =>
                [caption] =>
                [created_timestamp] => 0
                [copyright] =>
                [focal_length] => 0
                [iso] => 0
                [shutter_speed] => 0
                [title] =>
            )
    
    )
    
    20111226 00:06:05 - [string] ===== REFLOW =====
    20111226 00:06:05 - [string] ===== FIXING THICKBOX =====
    20111226 00:06:05 - [string] THICKBOX: 879.76666 x 679.76666
    20111226 00:06:05 - [string] WINDOW WIDTH: 880
    20111226 00:06:05 - [string] ===== REFLOW =====
    20111226 00:06:05 - [string] ===== FIXING THICKBOX =====
    20111226 00:06:05 - [string] THICKBOX: 879.76666 x 677.76666
    20111226 00:06:05 - [string] WINDOW WIDTH: 880
    20111226 00:06:06 - [string] THICKBOX: 879.76666 x 677.76666
    20111226 00:06:06 - [string] THICKBOX: 879.76666 x 677.76666
    20111226 00:06:06 - [string] ===== REFLOW =====
    20111226 00:06:06 - [string] ===== FIXING THICKBOX =====
    20111226 00:06:06 - [string] THICKBOX: 879.76666 x 677.76666
    20111226 00:06:06 - [string] WINDOW WIDTH: 880
    20111226 00:06:07 - [string] THICKBOX: 879.76666 x 677.76666
    20111226 00:06:10 - [string] ===== SETTING ASPECTRATIO: 50:23 =====
    20111226 00:06:39 - [string] ===== RESIZE-IMAGES =====
    20111226 00:06:39 - [object] {"id":"3077","action":"pte_ajax","pte-action":"resize-images","pte-sizes[]":["thumbnail"],"x":220,"y":179,"w":601,"h":276}
    20111226 00:06:40 - [string] ===== RESIZE-IMAGES SUCCESS =====
    20111226 00:06:40 - [object] {"thumbnails":{"thumbnail":{"url":"http://www.whatsthebigidea.com/wp-content/uploads/ptetmp/3077/OETbanner-250x115.jpg","file":"OETbanner-250x115.jpg"}},"pte-nonce":"7b68ee8a9f","pte-delete-nonce":"baf7961d81","error":["[WARNING] - Couldn't find or generate metadata for image: 3077-0","[ERROR] - Resize path invalid: /home/whatsthe/webapps/wtbi/wp-content/uploads/ptetmp/3077/OETbanner-0x0.jpg","[ERROR] - Error writing image: 0 to '/home/whatsthe/webapps/wtbi/wp-content/uploads/ptetmp/3077/OETbanner-0x0.jpg'","[WARNING] - Buffered output: <br />\n<b>Warning</b>:  imagecreatetruecolor() [<a href='function.imagecreatetruecolor'>function.imagecreatetruecolor</a>]: Invalid image dimensions in <b>/home/whatsthe/webapps/wtbi/wp-includes/media.php</b> on line <b>1010</b><br />\n<br />\n<b>Warning</b>:  imagecopyresampled(): supplied argument is not a valid Image resource in <b>/home/whatsthe/webapps/wtbi/wp-content/plugins/post-thumbnail-editor/php/functions.php</b> on line <b>375</b><br />\n<br />\n<b>Warning</b>:  imagejpeg(): supplied argument is not a valid Image resource in <b>/home/whatsthe/webapps/wtbi/wp-content/plugins/post-thumbnail-editor/php/functions.php</b> on line <b>412</b><br />\n"],"log":["[DEBUG] - PARAMETERS: Array\n(\n    [id] => 3077\n    [action] => pte_ajax\n    [pte-action] => resize-images\n    [pte-sizes] => Array\n        (\n            [0] => thumbnail\n        )\n\n    [x] => 220\n    [y] => 179\n    [w] => 601\n    [h] => 276\n)\n","[WARNING] - Couldn't find or generate metadata for image: 3077-0","[DEBUG] - BASE FILE DIMENSIONS/INFO: Array\n(\n    [0] => 1024\n    [1] => 768\n    [2] => 2\n    [3] => width=\"1024\" height=\"768\"\n    [bits] => 8\n    [channels] => 3\n    [mime] => image/jpeg\n)\n","[DEBUG] - Array\n(\n    [type] => 2\n    [dst_x] => 0\n    [dst_y] => 0\n    [dst_w] => 250\n    [dst_h] => 115\n    [src_x] => 220\n    [src_y] => 179\n    [src_w] => 601\n    [src_h] => 276\n)\n","[DEBUG] - Array\n(\n    [type] => 2\n    [dst_x] => 0\n    [dst_y] => 0\n    [dst_w] => 0\n    [dst_h] => 0\n    [src_x] => 220\n    [src_y] => 179\n    [src_w] => 601\n    [src_h] => 276\n)\n","[ERROR] - Resize path invalid: /home/whatsthe/webapps/wtbi/wp-content/uploads/ptetmp/3077/OETbanner-0x0.jpg","[ERROR] - Error writing image: 0 to '/home/whatsthe/webapps/wtbi/wp-content/uploads/ptetmp/3077/OETbanner-0x0.jpg'","[WARNING] - Buffered output: <br />\n<b>Warning</b>:  imagecreatetruecolor() [<a href='function.imagecreatetruecolor'>function.imagecreatetruecolor</a>]: Invalid image dimensions in <b>/home/whatsthe/webapps/wtbi/wp-includes/media.php</b> on line <b>1010</b><br />\n<br />\n<b>Warning</b>:  imagecopyresampled(): supplied argument is not a valid Image resource in <b>/home/whatsthe/webapps/wtbi/wp-content/plugins/post-thumbnail-editor/php/functions.php</b> on line <b>375</b><br />\n<br />\n<b>Warning</b>:  imagejpeg(): supplied argument is not a valid Image resource in <b>/home/whatsthe/webapps/wtbi/wp-content/plugins/post-thumbnail-editor/php/functions.php</b> on line <b>412</b><br />\n"]}
    20111226 00:06:40 - [string] ===== SERVER LOG =====
    20111226 00:06:40 - [string] [DEBUG] - PARAMETERS: Array
    (
        [id] => 3077
        [action] => pte_ajax
        [pte-action] => resize-images
        [pte-sizes] => Array
            (
                [0] => thumbnail
            )
    
        [x] => 220
        [y] => 179
        [w] => 601
        [h] => 276
    )
    
    20111226 00:06:40 - [string] [WARNING] - Couldn't find or generate metadata for image: 3077-0
    20111226 00:06:40 - [string] [DEBUG] - BASE FILE DIMENSIONS/INFO: Array
    (
        [0] => 1024
        [1] => 768
        [2] => 2
        [3] => width="1024" height="768"
        [bits] => 8
        [channels] => 3
        [mime] => image/jpeg
    )
    
    20111226 00:06:40 - [string] [DEBUG] - Array
    (
        [type] => 2
        [dst_x] => 0
        [dst_y] => 0
        [dst_w] => 250
        [dst_h] => 115
        [src_x] => 220
        [src_y] => 179
        [src_w] => 601
        [src_h] => 276
    )
    
    20111226 00:06:40 - [string] [DEBUG] - Array
    (
        [type] => 2
        [dst_x] => 0
        [dst_y] => 0
        [dst_w] => 0
        [dst_h] => 0
        [src_x] => 220
        [src_y] => 179
        [src_w] => 601
        [src_h] => 276
    )
    
    20111226 00:06:40 - [string] [ERROR] - Resize path invalid: /home/whatsthe/webapps/wtbi/wp-content/uploads/ptetmp/3077/OETbanner-0x0.jpg
    20111226 00:06:40 - [string] [ERROR] - Error writing image: 0 to '/home/whatsthe/webapps/wtbi/wp-content/uploads/ptetmp/3077/OETbanner-0x0.jpg'
    20111226 00:06:40 - [string] [WARNING] - Buffered output: <br />
    <b>Warning</b>:  imagecreatetruecolor() [<a href='function.imagecreatetruecolor'>function.imagecreatetruecolor</a>]: Invalid image dimensions in <b>/home/whatsthe/webapps/wtbi/wp-includes/media.php</b> on line <b>1010</b><br />
    <br />
    <b>Warning</b>:  imagecopyresampled(): supplied argument is not a valid Image resource in <b>/home/whatsthe/webapps/wtbi/wp-content/plugins/post-thumbnail-editor/php/functions.php</b> on line <b>375</b><br />
    <br />
    <b>Warning</b>:  imagejpeg(): supplied argument is not a valid Image resource in <b>/home/whatsthe/webapps/wtbi/wp-content/plugins/post-thumbnail-editor/php/functions.php</b> on line <b>412</b><br />
    
    20111226 00:06:40 - [array] [-1,-880,true]
    20111226 00:06:41 - [array] [-1,0,false]
    20111226 00:06:41 - [string] running callback with no arguments
    20111226 00:06:41 - [string] finished running callback
    20111226 00:06:41 - [string] ===== CHECK SUBMIT BUTTON =====
    20111226 00:06:41 - [string] ENABLE

    http://wordpress.org/extend/plugins/post-thumbnail-editor/

  2. sewpafly
    Member
    Plugin Author

    Posted 2 years ago #

    Could it be a conflict with another plugin?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic