10.04.2017 Views

Sell Media S3- pdf

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1. Theme Functions File – There are cases where we have<br />

seen that just by adding the following code in the theme<br />

function’s file, you can increase the upload size:@ini_set(<br />

'upload_max_size', '64M' );<br />

@ini_set( 'post_max_size', '64M');<br />

@ini_set( 'max_execution_time', '300' );2. Create or Edit an<br />

existing PHP.INI file – In most cases if you are on a<br />

shared host, you will not see a php.ini file in your<br />

directory. If you do not see one, then create a file called<br />

php.ini and upload it in the root folder. In that file add the<br />

following code:upload_max_filesize = 64M<br />

post_max_size = 64M<br />

max_execution_time = 3003. htaccess Method – Some people<br />

have tried using the htaccess method where by<br />

modifying the .htaccess file in the root directory, you can<br />

increase the maximum upload size in WordPress. Open<br />

or create the .htaccess file in the root folder and add the<br />

following code:php_value upload_max_filesize 64M<br />

php_value post_max_size 64M<br />

php_value max_execution_time 300<br />

php_value max_input_time 300<br />

Again, it is important that we emphasize that if you are on a shared<br />

hosting package, these techniques may not work. In that case, you<br />

would have to contact your web hosting provider to increase the<br />

limit for you<br />

Transactions are not posting. Why?<br />

Please visit the Add <strong>Media</strong> -> Settings -> Payments page and<br />

double check all of your settings. Also, if you are using PayPal, you<br />

need to make sure you have [added your IPN Listener URL to<br />

PayPal](https://cms.paypal.com/us/cgi-bin/?cmd=_rendercontent&content_ID=developer/e_howto_admin_IPNSetup).<br />

Also, PayPal computers use IP ranges 66.211.*.* and 173.0.*.* and<br />

visit the IPN URL with NO User-Agent. Some web hosting<br />

companies have their servers set up to block incoming pings when<br />

the User-Agent is not explicitly set (as is the case with PayPal’s<br />

IPN). In this case, you’ll want to modify your .htaccess file to<br />

override user-agent blocking with these address ranges.<br />

Page | 26

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!