Thinkpatience
Forum Replies Created
-
Forum: Plugins
In reply to: [Post Thumbnail Editor] Image doesn't appear in editor.Boom! That was it, thanks for the help, I was just looking around at my Apache install to see if there was anything missing… comparing with other WordPress sites… honestly I didn’t know what I was looking for, thanks for letting me know.
I didn’t have either, so I ran
apt-get update apt-get install php5-gd apt-get install imagemagick php5-imagick service apache2 restartand now it all works!
Forum: Plugins
In reply to: [Post Thumbnail Editor] Image doesn't appear in editor.Hey, made the change and nothing seemed to show up. Not sure if this is helpful, but I got this error when I enabled “Check this to save the generated working image to disk instead of creating on the fly (experimental)”:
string(45) “/var/www/wordpress/wp-content/uploads/ptetmp/”
Fatal error: Call to undefined method WP_Error::resize() in /var/www/wordpress/wp-content/plugins/post-thumbnail-editor/php/functions.php on line 298
This is with the change.
I’m also getting this JS console error in the editor page:
Error: [ngRepeat:dupes] http://errors.angularjs.org/1.2.1/ngRepeat/dupes?p0=thumbnail%20in%20thumbnails&p1=string%3Ar F/<@http://54.172.4.164/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:6:440 qe</<.link/<@http://54.172.4.164/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:182:228 xd/this.$get</g.prototype.$watchCollection/<@http://54.172.4.164/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:98:35 xd/this.$get</g.prototype.$digest@http://54.172.4.164/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:98:432 xd/this.$get</g.prototype.$apply@http://54.172.4.164/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:101:155 g@http://54.172.4.164/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:67:162 Q@http://54.172.4.164/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:71:64 md/</t.onreadystatechange@http://54.172.4.164/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:72:27Forum: Plugins
In reply to: [Post Thumbnail Editor] Image doesn't appear in editor.I meant to say that I just created another instance with a blank install of WordPress using the guide linked above followed exactly (the guide was also used on the production server) and it didn’t work,
The entire WordPress install has 777 on it at the moment and it still doesn’t work. Could it have something to do with ownership?
Uploads Folder:
drwxrwxrwx 4 www-data www-data 4096 Oct 9 19:13 uploadsInside Uploads (Just created the ptetmp folder):
drwxrwxrwx 3 www-data www-data 4096 Oct 9 18:53 2014
drwxr-xr-x 2 www-data www-data 4096 Oct 9 19:13 ptetmpForum: Plugins
In reply to: [Post Thumbnail Editor] Image doesn't appear in editor.Thanks for the quick reply, I definitely think it has something to do with permissions – I just set up another EC2 instance with just he plugin, blank WordPress… same problem.
In case you’re interested… I followed this guide to create the server (Skipping the user/port change, starting at Installing WordPress all moving down to Configure WordPress):
http://code.tutsplus.com/tutorials/installing-wordpress-in-the-amazon-cloud–cms-21126
Sorry, I’m not great at server admin, but I’m going to try what you suggested and report back…Forum: Plugins
In reply to: [Post Thumbnail Editor] Image doesn't appear in editor.I think this is why I’m having issues with a log displaying… any idea on how I can give it permissions?
Just turned WP_DEBUG on and got this on the post editor page:
Warning: touch(): Unable to create file /var/www/wordpress/wp-content/uploads/ptetmp/log.txt because Permission denied in /var/www/wordpress/wp-content/plugins/post-thumbnail-editor/php/log.php on line 104 Warning: fopen(/var/www/wordpress/wp-content/uploads/ptetmp/log.txt): failed to open stream: Permission denied in /var/www/wordpress/wp-content/plugins/post-thumbnail-editor/php/log.php on line 144 Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/wordpress/wp-content/plugins/post-thumbnail-editor/php/log.php on line 145 Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/wordpress/wp-content/plugins/post-thumbnail-editor/php/log.php on line 146 Warning: fopen(/var/www/wordpress/wp-content/uploads/ptetmp/log.txt): failed to open stream: Permission denied in /var/www/wordpress/wp-content/plugins/post-thumbnail-editor/php/log.php on line 144 Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/wordpress/wp-content/plugins/post-thumbnail-editor/php/log.php on line 145 Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/wordpress/wp-content/plugins/post-thumbnail-editor/php/log.php on line 146Forum: Themes and Templates
In reply to: [Hueman] How to make the Slider autoplayYup, solved a while ago but never updated this post. I was just looking back at the code to find out where I had changed it to answer your question.
Anyways glad you got it working!
Esmi… Same question, no answer… no harm done, but good job moderating! Keep up the good work ;-D