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/.”

Posted in Security, Tech Tips, Web Development | Tagged , , , | Leave a comment

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 , , , | 2 Comments

MailChimp for Gravity Forms: Ajax error while selecting a form

If you’re using MailChimp Add-On v1.7 with Gravity Forms 1.6 in WordPress, and trying to set up a MailChimp Feed on the page /wp-admin/admin.php?page=gf_mailchimp, you may possibly be getting the following error: Ajax error while selecting a form This plugin is supposed to be easy to set up forms and lists with MailChimp, but why am I getting a Server 500 error? I looked into the PHP error logs and came across this: PHP Fatal error: Call to undefined method MCAPI::listInterestGroupings() in wp-content/plugins/gravityformsmailchimp/mailchimp.php on line 1123 There is a listInterestGroupings() function but the calling function which uses this code: $api = self::get_api(); self::log_debug(“Retrieving groups”); $groupings = $api->listInterestGroupings($selected_list_id); Is having trouble with it. The workaround for me was to comment out line 1123 which contains: $groupings = $api->listInterestGroupings($selected_list_id); The next part of the function has an if(!empty()) conditional. So until the developers get around to fixing this bug this seems to allow me to move on to the next steps with my Mailchimp widget.

Posted in Linux, Tech Tips, Web Development | Tagged , , , , | 1 Comment

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 , , | 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 , , , , , , | 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 , , , , | Leave a comment

Facebook: Account Temporarily Unavailable

Posted in Social Media, Web Development | Tagged , , | Leave a comment

wordpress post.php error 501

Posted in Web Development | Tagged , , | Leave a comment