atvdev
Forum Replies Created
-
Forum: Plugins
In reply to: [Amazon S3 Uploads] s3 uploads and featured imagesHello,
featured images work without problems. But every wp setup is different, so I suggest trying out the plugin in a dev installation of your blog or making a backup of your blog prior to enabling the plugin.Also, enable versioning on your amazon s3.
Forum: Plugins
In reply to: [Amazon S3 Uploads] Moving web domainsHello,
you will have to re-configure the plugin.The plugin configuration is saved with site’s url. So when you do the re-configuration you will create another entry in the database.
If you don’t want that extra entry in the db, and you are able to use phpmyadmin or mysql console, in table (wp_db_prefix)_asssu there must be an entry with your site’s url, change that to your new site url.
Forum: Plugins
In reply to: [Amazon S3 Uploads] don't get anything useful after activatingseanstoner, you probably have php < 5.4 and short_open_tags = Off in php.ini
this will be fixed in the new release.
But if you want a fix for now, either update php version to greater that 5.4, or set short_open_tags = On in your php.ini. Ask your server support they will help you. If you want further help mail me atvdev at gmail.
Forum: Plugins
In reply to: [Amazon S3 Uploads] i couldn't find asssu-multisite-config.phpSorry this feature is not available yet
Forum: Plugins
In reply to: [Amazon S3 Uploads] does this work on multisite?No, sorry this feature is not available yet
Forum: Plugins
In reply to: [Amazon S3 Uploads] Large SitesHello,
about image delivery, I don’t think it will be a problem, as S3 is very adaptable and scalable.Currently the uploads to S3 are done by wp cron job, I am not sure if it will catch up with such demand. Currently the max limit is 100 files per hour, which is 2400 file per day, or 72000 files per month.
To start you can just install the plugin and leave it do the transfers. It will eventually upload all you files to S3.
But if you want fast results, you can manually transfer all files from the uploads directory on you web server, to the desired path on S3 and manually delete the files from you web server. If you choose to do it, first try it on a few files to see if everything is working ok.
Also for testing manual upload, you can setup the plugin, active it with correct settings and then deactivate it. This will generate the .htaccess file that will handle the redirects to S3, but won’t run the cron job, so you will be sure that manual upload works ok.
Forum: Plugins
In reply to: [Amazon S3 Uploads] Plug-in not doing anything?No probs, you are welcome
Forum: Plugins
In reply to: [Amazon S3 Uploads] Plug-in not doing anything?Please create a new file “your-blog-path/wp-content/uploads/test-delete.php” with this content, check the url “http://your-blog-url/wp-content/uploads/test-delete.php” and tell me what is the output?
Forum: Plugins
In reply to: [Amazon S3 Uploads] Plug-in not doing anything?The files are not going immediately to S3 because it slows media uploads a lot and can not be done until patch for this bug is released.
About the files not being deleted after successful upload, please check the your apache/php permissions. I know it is rare to be able to write to a directory, but not delete is the same directory, but it can be done.
If you can/want to help me debug this, please contact me at atvdev@gmail.com
Forum: Plugins
In reply to: [Amazon S3 Uploads] Plug-in not doing anything?Sorry but I can not make sense of your second sentence. If you deleted a file from your web server (public_html/wp-content/uploads/…), that file can not be served from your web server as it does not exist there.
Could you check if there is a file named “.htaccess” in public_html/wp-content/uploads/ ?
Btw, if you check the url of the image in the html, it will not change. But if you try to open image’s url in the browser, it will redirect you to S3 url of that image.
Forum: Plugins
In reply to: [Amazon S3 Uploads] Plug-in not doing anything?The plugin after each successful upload to S3, deletes the file from your web server.
Forum: Plugins
In reply to: [Amazon S3 Uploads] Plug-in not doing anything?Hello,
if the files are still on your web server, the plugin will serve those files. It won’t upload them, as it finds file with the same name on S3.If you are sure that all files are uploaded to S3, then you can delete them manually from your web server, so the files from S3 would be served.
For a try, you can just delete one file from web server and check it’s source to see if it is served from S3.
Forum: Plugins
In reply to: [Amazon S3 Uploads] Folders missed during uploadHello,
the images are uploaded via wp cron job, 50 files, every 30 minutes. That means that you blog must be visited by someone to get some files uploaded to s3 (that’s how wp cron job works). Probably if you had waited some more time, files would have eventually uploaded.Now that you have uploaded the files manually, the plugin sees that there is already a file with that name on s3 and leaves the local file as is. Currently the serving of s3 content is done by a redirect with htaccess, only if the requested file does not exist on local server. And that’s why you continue to see your local images although you have copied them to s3. To make the redirect work you have to delete the local files that you uploaded to s3. That’s also how the plugin works, after a successful upload to s3, the local file is deleted.
If the request was directed initially to s3, you would win some milliseconds before the webpage is cached, and maybe more if your wp shows a lot of images. But to make that I must make the plugin to work without cron jobs and upload files directly to s3, which slows media uploads a lot and can not be done until patch for this bug is released. So when the patch is released, I will review if it is worth it. Maybe I will leave both options for the user to choose, I don’t know yet.
Forum: Plugins
In reply to: [Amazon S3 Uploads] BuddyPress Avatar and Group thumbnailsThis can only be fixed if I make the plugin to upload the files directly to S3. But this makes image uploading slower, as the image first uploads to your server, then to S3 and after all thumbs are uploaded to S3. So I am not sure if this is a good solution.
Also WordPress 3.5.2 have a bug which disables making the plugin to upload the files directly to S3. When the patch is released, I will review if it is worth it.
PHP 5.3.3 was released 22 July 2010, thats 3 years ago…
PHP 5.2 end of life is 6 Jan 2011Ask them anyway, maybe they have set it up with another extension like .php53 (in that case you can add “AddType application/x-httpd-php53 .php” in your main .htaccess)
And there is no way you are the only one to use 5.3