Edventures in Normalcy

Common example errors:

Unable to authorize payment: The certificate chain did not validate, no local certificate found, Cert Path = c:\pfpcerts\, Working Directory = c:\windows\system32\inetsrv

or

Result Code: -31
Response Message: The certificate chain did not validate, no local certificate found, Cert Path = c:\pfprocerts, Working Directory = c:\windows\system32\inetsrv
Transaction ID:
Auth. Code:

or

I’m Sorry, there was a problem with your transaction.

Transaction Result:
The certificate chain did not validate, no local certificate found, Cert Path = certs, Working directory = c:\winnt\system32\inetsrv

Well, as of January 4, 2010, your Payflow Pro SDK expires permanently and your payment processing will stop if you are using an outdated SDK. You can see this on their website here:
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/gateway_update_FAQ

Depending on the method or scripting language you are using this can be an easy or difficult thing to get around. As I am Miva Merchant savvy, If you are using Miva Merchant 5, run your updates. If you are running Miva Merchant 4, you can get an updated version of the Payment Module and instructions for instillation at https://support.mivamerchant.com/supportsuite/index.php?_m=downloads&_a=viewdownload&downloaditemid=46&nav=0,12. Zen Cart forums make reference to this change here http://www.zen-cart.com/forum/showthread.php?p=823250#post823250. Anyway, if you have a hand coded cart, visit the top link I supplied for more information. If you find specific articles or information for specific carts, please comment. I will gladly update this post.

Technical Knowledge

Posted by Rose Bush on January 6th, 2010

I’m not one to be picky, I’m just saying, she does not seem to the technical type. Oh stock images, you silly creature. Although, it would be awesome if she was super tech’y.
Optimize Model

That’s Not Don Flamenco

Posted by Rose Bush on January 5th, 2010

Manually resetting the admin password on a Plesk Linux server

Posted by Rose Bush on January 2nd, 2010

This can be accomplished with the ch_admin_passwd binary.

./ch_admin_passwd: Utility to set Plesk adminstrator’s password

Gets password from the environment variable PSA_PASSWORD

Password should be from 5 to 16 symbols and should not contain login name,

whitespace, quotes or national characters

Usage: ./ch_admin_passwd

-h, —help

display this help and exit

We must export the variable before running the binary. We will unset the variable when we are done.

This echos out: newpass

This echos out: newpass

How to Decrypt/Encrypt a web.config

Posted by Rose Bush on November 28th, 2009

Per here:
http://www.dotnetcurry.com/ShowArticle.aspx?ID=185&AspxAutoDetectCookieSupport=1

In the command prompt cd to:
: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
Or the specific path for your version,
Encryption:

Decryption:

Notice the change in tag from pef for encryption and pdf for decryption as that messed me up.
In my example I had to run:

After restarting ColdFusion, and seeing it not a performance issue, I realized the file I was trying to save to was to a folder that did not exist.

So my pam stack is hosed?

Posted by Rose Bush on November 27th, 2009

Pam Stack Hosed

One of two things, either the patch was not applied\incorrectly applied, seen here:

http://www.bennadel.com/blog/1289-ColdFusion-8-0-1-Bug-Coldfusion-Image-ImageWriter-ImageWritingException.htm

with CF stopped

or the path is wrong in the code, per our example:

http://www.hosting.com/support/cfusion/captcha/

destination=”tmp/readme#tc#.png”

being run from example.com/subfolder

would result int he file trying to be written to:

C:\Websites\userdir\subfolder\tmp\

Runtime error in lib/db.mvc @ [00000164:00000024]: lib/dbprim/stores.mv: Line 202: MvOPENVIEW: mysql_stmt_bind_results: Using unsupported buffer type: 246 (parameter: 27)

I run into this one once in a while and always have to remember to upgrade the MySQL driver to the latest.

When performing the callback, Google gets the following error:

401 – Unauthorized: Access is denied due to invalid credentials.
You do not have permission to view this directory or page using the credentials that you supplied.

I have not found the direct solution, but the workaround I have come up with is to put the page it calls back to in its own directory and disable basic authentication on that folder. The call back then completes. I recommend using a randomly generated folder name to prevent it from being stumbled upon by nefarious individuals.

Copyright © 2026 Edventures in Normalcy. All rights reserved.