David Radovanovic
Forum Replies Created
-
Forum: Plugins
In reply to: [Convert Post Types] Possible duplicates?If anyone else has the same problem here is a possible solution: http://wordpress.stackexchange.com/questions/47280/revision-records-in-wp-posts-have-original-post-type-instead-of-revision
I ran:
SELECT * FROMwp_posts`
WHERE (post_nameLIKE “%revision%” ORpost_nameLIKE “%autosave%”)
ANDpost_status= “inherit”
ANDpost_parent!=0
ANDpost_type!= “revision”`and deleted the 148 instances of saved revisions (as actual) posts. This may have been due to using “Post Type Switcher” at some point.
Each theme has its own customizations which may or may not transfer seamlessly when changing the theme. Either way, the only concern will be the widgets settings. You may want to search for a plugin that saves the widget settings prior to activating the new theme. Also remember to do a complete backup, both database and files. Good luck.
if anyone might benefit from the same misunderstanding of WordPress thumbnail settings here is my current (hopefully correct) setting. http://screencast.com/t/DeMCjM4ka3h
My objective is to make sure the width of Medium and Large do not exceed the width I specified for each. The height/s of 9999 is to have excessively large dimension that is unlikely to be ever used.
I should have looked at the obvious. I left the height measurement out (defaulted to zero) since I wanted WordPress to set the height to whatever it might be at the width I specified. Thanks for your time and explanation of how WordPress handles cropping.
Here’s some more errors:
[WARNING] – Couldn’t find or generate metadata for image: 2907-medium
[WARNING] – Couldn’t find or generate metadata for image: 2907-large
[ERROR] – Invalid derived dimensions: 500 x 0
[ERROR] – Resize path invalid: /home/whatsthe/webapps/wtbi/wp-content/uploads/ptetmp/2907/seo-button-500×0.jpg
[ERROR] – Error writing image: medium to ‘/home/whatsthe/webapps/wtbi/wp-content/uploads/ptetmp/2907/seo-button-500×0.jpg’
[ERROR] – Invalid derived dimensions: 960 x 0
[ERROR] – Resize path invalid: /home/whatsthe/webapps/wtbi/wp-content/uploads/ptetmp/2907/seo-button-960×0.jpg
[ERROR] – Error writing image: large to ‘/home/whatsthe/webapps/wtbi/wp-content/uploads/ptetmp/2907/seo-button-960×0.jpg’
[WARNING] – Buffered output:
<b>Warning</b>: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in <b>/home/whatsthe/webapps/wtbi/wp-includes/media.php</b> on line <b>1025</b><b>Warning</b>: imagecopyresampled(): supplied argument is not a valid Image resource in <b>/home/whatsthe/webapps/wtbi/wp-content/plugins/sewpafly-post-thumbnail-editor-7f28a92/php/functions.php</b> on line <b>360</b>
<b>Warning</b>: imagejpeg(): supplied argument is not a valid Image resource in <b>/home/whatsthe/webapps/wtbi/wp-content/plugins/sewpafly-post-thumbnail-editor-7f28a92/php/functions.php</b> on line <b>400</b>
<b>Warning</b>: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in <b>/home/whatsthe/webapps/wtbi/wp-includes/media.php</b> on line <b>1025</b>
<b>Warning</b>: imagecopyresampled(): supplied argument is not a valid Image resource in <b>/home/whatsthe/webapps/wtbi/wp-content/plugins/sewpafly-post-thumbnail-editor-7f28a92/php/functions.php</b> on line <b>360</b>
<b>Warning</b>: imagejpeg(): supplied argument is not a valid Image resource in <b>/home/whatsthe/webapps/wtbi/wp-content/plugins/sewpafly-post-thumbnail-editor-7f28a92/php/functions.php</b> on line <b>400</b>
Still errors:
20121003 13:34:26 – [string] ===== STARTUP PHP MESSAGES =====
20121003 13:34:26 – [string] ===== SERVER LOG =====
20121003 13:34:26 – [string] [DEBUG] – PARAMETERS: Array
(
[action] => pte_ajax
[pte-action] => launch
[id] => 2907
[TB_iframe] => true
[height] => 640
[width] => 850
)20121003 13:34:26 – [string] [WARNING] – Couldn’t find or generate metadata for image: 2907-medium
20121003 13:34:26 – [string] [WARNING] – Couldn’t find or generate metadata for image: 2907-large
20121003 13:34:26 – [string] [DEBUG] – USER-AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.79 Safari/537.4
20121003 13:34:26 – [string] [DEBUG] – WORDPRESS: 3.4.2
20121003 13:34:26 – [string] [DEBUG] – SIZER: 0.97799511
20121003 13:34:26 – [string] [DEBUG] – SIZES: Array
(
[thumbnail] => Array
(
[width] => 115
[height] => 115
[crop] => 1
[current] => Array
(
[file] => seo-button-115×115.jpg
[width] => 115
[height] => 115
[path] => ./seo-button-115×115.jpg
[url] => http://www.whatsthebigidea.com/wp-content/uploads/seo-button-115×115.jpg
))
[medium] => Array
(
[width] => 500
[height] => 0
[crop] => 1
[current] =>
)[large] => Array
(
[width] => 960
[height] => 0
[crop] => 1
[current] =>
)[post-thumbnail] => Array
(
[width] => 100
[height] => 100
[crop] => 1
[current] => Array
(
[file] => seo-button-100×100.jpg
[width] => 100
[height] => 100
[path] => ./seo-button-100×100.jpg
[url] => http://www.whatsthebigidea.com/wp-content/uploads/seo-button-100×100.jpg
))
[ttrust_post_thumb_big] => Array
(
[width] => 720
[height] => 220
[crop] => 1
[current] => Array
(
[file] => seo-button-720×220.jpg
[width] => 720
[height] => 220
[path] => ./seo-button-720×220.jpg
[url] => http://www.whatsthebigidea.com/wp-content/uploads/seo-button-720×220.jpg
))
[ttrust_post_thumb_small] => Array
(
[width] => 150
[height] => 150
[crop] => 1
[current] => Array
(
[file] => seo-button-150×150.jpg
[width] => 150
[height] => 150
[path] => ./seo-button-150×150.jpg
[url] => http://www.whatsthebigidea.com/wp-content/uploads/seo-button-150×150.jpg
))
[ttrust_post_thumb_tiny] => Array
(
[width] => 50
[height] => 50
[crop] => 1
[current] => Array
(
[file] => seo-button-50×50.jpg
[width] => 50
[height] => 50
[path] => ./seo-button-50×50.jpg
[url] => http://www.whatsthebigidea.com/wp-content/uploads/seo-button-50×50.jpg
))
[ttrust_one_fourth_cropped] => Array
(
[width] => 220
[height] => 170
[crop] => 1
[current] => Array
(
[file] => seo-button-220×170.jpg
[width] => 220
[height] => 170
[path] => ./seo-button-220×170.jpg
[url] => http://www.whatsthebigidea.com/wp-content/uploads/seo-button-220×170.jpg
))
[ttrust_one_fourth_short] => Array
(
[width] => 220
[height] => 100
[crop] => 1
[current] => Array
(
[file] => seo-button-220×100.jpg
[width] => 220
[height] => 100
[path] => ./seo-button-220×100.jpg
[url] => http://www.whatsthebigidea.com/wp-content/uploads/seo-button-220×100.jpg
))
[ttrust_one_fourth] => Array
(
[width] => 220
[height] => 9999
[crop] => 0
[current] => Array
(
[file] => seo-button-220×134.jpg
[width] => 220
[height] => 134
[path] => ./seo-button-220×134.jpg
[url] => http://www.whatsthebigidea.com/wp-content/uploads/seo-button-220×134.jpg
))
[ttrust_slideshow_image_full] => Array
(
[width] => 960
[height] => 350
[crop] => 1
[current] => Array
(
[file] => seo-button-960×350.jpg
[width] => 960
[height] => 350
[path] => ./seo-button-960×350.jpg
[url] => http://www.whatsthebigidea.com/wp-content/uploads/seo-button-960×350.jpg
))
[ttrust_background_image_full] => Array
(
[width] => 3000
[height] => 30000
[crop] => 0
[current] => Array
(
[file] => seo-button-3000×1828.jpg
[width] => 3000
[height] => 1828
[path] => ./seo-button-3000×1828.jpg
[url] => http://www.whatsthebigidea.com/wp-content/uploads/seo-button-3000×1828.jpg
))
)
20121003 13:34:27 – [string] ===== REFLOW =====
20121003 13:34:27 – [string] ===== FIXING THICKBOX =====
20121003 13:34:27 – [string] WINDOW WIDTH: 880Thanks!
as a matter of fact, ONLY when I select the two thumbs with “image_width x 0” does the problem occur. Here is a snippet of what happens when any other thumb with one of the “image_width x 0” thumbs are selected:
We noticed some potential issues: View logs for further information
[ERROR] – Invalid derived dimensions: 500 x 0
[ERROR] – Resize path invalid: /home/whatsthe/webapps/wtbi/wp-content/uploads/ptetmp/4240/hvconnoisseurearth_0-500×0.jpg
[ERROR] – Error writing image: medium to ‘/home/whatsthe/webapps/wtbi/wp-content/uploads/ptetmp/4240/hvconnoisseurearth_0-500×0.jpg’
[WARNING] – Buffered output:
<b>Warning</b>: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in <b>/home/whatsthe/webapps/wtbi/wp-includes/media.php</b> on line <b>1025</b><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>390</b>
<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>427</b>
I selected all and saved, though no affect on thumbs. In fact it just acted as if it did notning:
20121002 15:45:29 – [string] ===== REFLOW =====
20121002 15:45:29 – [string] ===== FIXING THICKBOX =====
20121002 15:45:29 – [string] THICKBOX: 670 x 818
20121002 15:45:30 – [string] WINDOW WIDTH: 880
20121002 15:45:30 – [string] ===== REFLOW =====
20121002 15:45:30 – [string] ===== FIXING THICKBOX =====
20121002 15:45:30 – [string] WINDOW WIDTH: 880
20121002 15:45:33 – [string] ===== SETTING ASPECTRATIO: null =====
20121002 15:45:44 – [string] ===== RESIZE-IMAGES =====
20121002 15:45:44 – [object] {“id”:”4240″,”action”:”pte_ajax”,”pte-action”:”resize-images”,”pte-sizes[]”:[“thumbnail”,”medium”,”large”,”post-thumbnail”,”ttrust_post_thumb_big”,”ttrust_post_thumb_small”,”ttrust_post_thumb_tiny”,”ttrust_one_fourth_cropped”,”ttrust_one_fourth_short”,”ttrust_one_fourth”,”ttrust_slideshow_image_full”,”ttrust_background_image_full”],”x”:108,”y”:412,”w”:829,”h”:1025}BTW – As alway, thank you very much for your quick response.
David, how would display the tagged images within a specific post category?
Gotcha. Thanks for the explanation and a great plugin.
What would you suggest the benefit/use of all the different tags?
Forum: Plugins
In reply to: [Link Library] [Plugin: Link Library] Import produces errorSo, I selected all the rows while the CSV file was opened in OpenOffice Calc and cut and pasted it into a blank spreadsheet. That seemed to work. All I can think is that there was empty lines/rows after the last occupied row and those empty rows offended link library.
Forum: Plugins
In reply to: [Link Library] [Plugin: Link Library] Import produces errorupload_max_filesize 30M is more than enough?