Search
-
Recent Posts
Tags
adwords amazon analytics api apple aws blog chrome chromium cloud Design dropbox ec2 email error facebook firefox google google-apps homebrew ipad javascript jQuery linux lion mac microsoft mysql osx os x paypal php plugin quicksilver raspberry pi scam social spam twitter ubuntu unix video windows woo wordpress
Tag Archives: error
E00044 – Customer Information Manager is not enabled [solved]
If you are using the Authorize.net CIM API for web services and are ending up with a XML / SOAP response (SimpleXMLElement Object) with the error: E00044 – Customer Information Manager is not enabled If you have a production Authorize account Authorize.Net requires you to agree to the CIM Terms of Service before the API can be enabled. Please perform the following steps below. Log into your Authorize.Net Account Click Account Click “Merchant Profile” Under “Additional Services” click the “sign-up” link where CIM is listed. Agree to the Terms and Services If you have a Authorize.net / auth.net sandbox account and you do not have CIM enabled: “Customer Information Manager (CIM) is not available within shared test accounts. If you need to process CIM transactions, please request a new test account at: http://developer.authorize.net/testaccount/.”
Uncaught exception ‘CFCredentials_Exception’ with message ‘No credentials were provided. [solved]
If you’re using the Amazon Web Services (AWS) SDK (Software Developer Kit) version 1.5 “Allegro” for PHP you may have noticed an error like: Fatal error: Uncaught exception ‘CFCredentials_Exception’ with message ‘No credentials were provided. The SDK attempts to retrieve Instance Profile credentials from the EC2 Instance Metadata Service, but doing this requires the “default_cache_config” option to be set in the config.inc.php file or constructor. In order to cache the retrieved credentials.’ in #0 amazon-php-sdk/sdk-1.5.17.1/sdk.class.php:439 Stack trace: amazon-php-sdk/sdk-1.5.17.1/services/ec2.class.php(155): CFRuntime->__construct(Array) #1 amazon-php-sdk/sdk-1.5.17.1/_samples/cli-ec2_sorting_and_filtering.php(59): AmazonEC2->__construct() #2 {main} thrown in amazon-php-sdk/sdk-1.5.17.1/sdk.class.php on line 439 My solution was fairly simple – the PHP SDK download has a config-sample.inc.php file that you can copy to config.inc.php and then add your AWS key and secret key. After doing that you should be good to go.
Posted in Server Administration, Software, Tech Tips, Web Development
Tagged amazon, error, php, sdk
2 Comments
fix “max_allowed_packet” on MySql
MySQL Error 1153 – Got a packet bigger than ‘max_allowed_packet’ bytes To fix this I ran these two commands in mySQL before executing the queries that were giving me the error message about the max allowed packet bytes. set global net_buffer_length=1000000; set global max_allowed_packet=1000000000;
Posted in Server Admin, Server Administration, Tech Tips, Web Development
Tagged error, import, mysql
Leave a comment
iPower: The server encountered an unexpected condition which prevented it from fulfilling the request.
iPower: The server encountered an unexpected condition which prevented it from fulfilling the request. If you’re getting this error on iPower you need to enable CGI / scripts. Sometimes your account will show you that this is enabled, even if it is not. Contact iPower support to get them to resolve it for you. Even if in your control panel homepage CGI / PHP is showing up as active, click on the server configuration tab and you probably will see that CGI is in fact inactive:
Posted in Server Admin, Server Administration, Web Development
Tagged cgi, error, hosting, ipower, php, scripts, wordpress
Leave a comment
LookupException in API_Linux.cpp:98: Could not lookup username “wwwrun”
In order to get suPHP to run you’ll need to edit the config file, which is by default stored in /etc/suphp/suphp.conf If you’re getting the error LookupException in API_Linux.cpp:98: Could not lookup username “wwwrun” it means specifically that you probably have not uncommented the line webserver_user in that config file. If you’re on an Ubuntu server you will probably set that line to www-data but on other systems it perhaps needs to be set to apache or nobody. You can view your list of users by using the command cat /etc/passwd, which will give you several lines in this format: www-data:x:33:33:www-data:/var/www:/bin/sh If you’re on Ubuntu you should see the line above, which shows the entry for the user www-data which has a user id and group id of 33 (the first two numbers). If you see that then you should probably change your suphp.conf file to have the webserver_user set to www-data and also you should change the Minimum UID and Minimum GID to the matching numbers, probably 33 and 33… webserver_user=www-data ; Minimum UID min_uid=33 ; Minimum GID min_gid=33 A decent guide for setting up suPHP on Ubuntu 11 can be found at http://websoftserbia.com/en/ubuntu/66-install-suphp-on-ubuntu-11-04.html I would recommend walking through that guide first, so you know what you’re doing, but I’ll also give you an example of a configured suphp.conf file: [global] ;Path to logfile logfile=/var/log/suphp.log ;Loglevel loglevel=info ;User Apache is running as webserver_user=www-data ;Path all scripts have to be in ;docroot=/var/www:${HOME}/public_html ;Security options allow_file_group_writeable=true allow_file_others_writeable=false allow_directory_group_writeable=true allow_directory_others_writeable=false ;Check wheter … Continue reading
Posted in Linux, Server Admin, Server Administration, Web Development
Tagged apache, config, error, suphp, ubuntu
Leave a comment
wordpress post.php error 501
I was trying to write an article which had a text string like the following on my blog: /etc /opt /cisco-vpnclient I ran into a error 501 / method not supported error page. After spending quite a lot of time on this, I realized that my hosting provider had either the mod_security or mod_security2 module installed, and that particular string (with no spaces) was triggering a php-injection flag and the post (method) was being rejected. I simply removed that line from the post I wanted, but I have also asked the hosting provider to update their rules. (mod_security rules may be editable via the “SecRuleInheritance Off” flag in .htaccess, or a similar setting, but mod_security2 is not configurable via .htaccess) I suggest you try posting a large block of lorem ipsum with no special characters to your blog if you are having this problem. If that works then the problem is most likely with mod_security. Articles on Mod Security / WordPress ModSecurity, WordPress Admin and “Method Not Implemented” WordPress and mod_security2 issues Other reasons your post may be rejected New post problem in version 3.0 Method Not Implemented POST to /wp-admin/post.php not supported