Tag - WordPress

Swapping out the php.ini file for uploads

Maybe I am just a glutton for punishment. My other online buddy @rbuike – who also dabbles in WordPress on occasion has suggested I check out some php.ini file modifications. I updated the file based on this link he sent over from the support forums:

memory_limit = 100M
upload_max_filesize = 192M
post_max_size = 100M
file_uploads = On

As a result – I do now see a changed admin interface for media uploads – which should solve some issues I have with podcast episodes being too large to upload… but does it fix any of the whacked out picture issues from LiveWriter?

SNC00086

This is a picture I took while flying back from Newfoundland – it’s actually 1600×1200 and I changed it to 640 x 480 within LiveWriter to see if it helps. Previous attempts failed at this point – let’s hit publish to see how she works.

image

Nope – try… try again…

Windows Live Writer and WordPress Image Uploads

imageOk – not exactly the first post I wanted to put up – but I’ve spent the better part of an evening with @energizedTech helping me figure out why I have been unable to easily upload blog posts with images imbedded in them written by LiveWriter. I was leaving the default options of using the RPC connectivity to upload the files correctly into the Media library on the WP blog – nothing was working if the image pixels were over 300 x whatever – it just failed!

Web interface was no help either – I’d go into media libraries, manually upload a larger file (600 x 399 as an example) and it would error out on me after uploading with a simple red HTTP Error – seeming to fail.  But – with a refresh of the library contents – low and behold – the file would be there! To include it into a post – it would be a manual edit/add into a post to include the picture from the media library and finally – the thing would be done.

not exactly your easiest fix to get this working. Kinda stupid really. Got any ideas – I am all ears!

My work around for now? Using the FTP upload option properly configured to my particular hosting provider (1 and 1) and blog location.

image

Rockin’ it old school – just for some screenshots and simple image uploads! Thanks LiveWriter for having some flexibility on image storage options.


Warning: sizeof(): Parameter must be an array or an object that implements Countable in D:\home\site\wwwroot\wp-content\plugins\projectnami-blob-cache\project-nami-blob-cache.php on line 416

Fatal error: Uncaught WindowsAzure\Common\ServiceException: Fail: Code: 400 Value: The account being accessed does not support http. details (if any): <?xml version="1.0" encoding="utf-8"?><Error><Code>AccountRequiresHttps</Code><Message>The account being accessed does not support http. RequestId:acae59a9-b01e-000a-2c6b-44d1c6000000 Time:2021-05-09T00:39:17.7551917Z</Message><AccountName>ritgcache</AccountName></Error>. in D:\home\site\wwwroot\wp-content\plugins\projectnami-blob-cache\library\WindowsAzure\Common\Internal\Http\HttpClient.php:382 Stack trace: #0 D:\home\site\wwwroot\wp-content\plugins\projectnami-blob-cache\library\WindowsAzure\Common\Internal\Http\HttpClient.php(275): WindowsAzure\Common\Internal\Http\HttpClient::throwIfError(400, 'The account bei...', '\xEF\xBB\xBF<?xml versio...', Array) #1 D:\home\site\wwwroot\wp-content\plugins\projectnami-blob-cache\library\WindowsAzure\Common\Internal\RestProxy.php(141): WindowsAzure\Common\Internal\Http\HttpClient->send(Array, Object(WindowsAzure\Common\Internal\ in D:\home\site\wwwroot\wp-content\plugins\projectnami-blob-cache\library\WindowsAzure\Common\Internal\Http\HttpClient.php on line 382