Category archives: Tech Tips

 

 

 

 

0

"Access denied" error on Facebook Apps

Facebook’s new requirement to have all tabs and apps working over HTTPS got my dev team working frantically on fixing all active apps. One of the apps I manage is particularly interesting, because assets for the app are hosted on an Akamai server. Here’s how it is set up: And when I try point Facebook [...]

 

1

WordPress login issues with "reauth=1"

So, if you are like me and usually access your WordPress admin Dashboard by going to /wp-admin/, then you probably also have troubles with login not working. Mine stopped working with the latest version install (3.2.1). What happens is /wp-admin/ redirects to wp-login.php with a bunch of parameters, the last one being “reauth=1″. If you [...]

 

 

 

193

Uncaught SoapFault exception / Invalid parameters Error

I am using nusoap library to connect to Kintera API.  It worked fine on my other sites, but this one was giving me the following error message: Fatal error: Uncaught SoapFault exception: [Client] SoapClient::SoapClient() [<a href='soapclient.soapclient'>soapclient.soapclient</a>]: Invalid parameters in /test.php:147 Stack trace: #0 /test.php(147): SoapClient->SoapClient(‘KinteraConnect….’, true) #1 {main} thrown in /test.php on line 147 Line [...]

 

 

143

Modifying Drupal download_count module to show files per user

Task: allow file downloads for only registered users in Drupal for admins, show download count for each file show which user downloaded which files The download_count module is great for #1 and #2. However, it doesn’t save any information about users. Here’s some modifications I’ve added to it to accomplish #3. In the download_count.module file, [...]

 

182

Text resizing with JavaScript

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”> <HTML> <HEAD> <script> function init() { if($(‘container’)) textSize.init(); } var textSize = { small: ’80%’, medium: ’100%’, large: ’120%’, init: function() { var small_text = $(‘small_text’); var medium_text = $(‘medium_text’); var large_text = $(‘large_text’); var container = $(‘container’); var textSizeCookie = readCookie(‘textSize’); var textSizeCookieName = readCookie(‘textSizeName’); if(textSizeCookie && [...]