Category: Web Building

Drupal error message: “call_user_func_array() expects parameter 1 to be a valid callback”

After doing a series of updates to a Drupal installation, the following error appeared on all admin pages and edit pages:

“call_user_func_array() expects parameter 1 to be a valid callback, function ‘clients_access_callback “

Other symptoms included that the database could not be updated to complete some of the following updates, and search no longer worked.

Continue reading

Thread: Changing maxAllowedContentLength

In a .NET application used to deliver quizzes, attempting to import a large quiz from another server resulted in this error:

“The request filtering module is configured to deny a request that exceeds the request content length.” A second message stated:
“Request filtering is configured on the Web server to deny the request because the content length exceeds the configured value.”

Continue reading

Flash Firebug: No SWF files with AS3 detected on this page. You could try reloading the page.

Flash Firebug is a great tool for debugging Actionscript 3 SWF files, similar to the way regular Firebug helps debug Javascript and CSS when using Firefox.

But the current version of Flash Firebug, 3.0.3, has a bug that causes it to display this error:

No SWF files with AS3 detected on this page. You could try reloading the page.

Continue reading

Prevent float drop in IE

Internet Explorer’s propensity to drop floated elements adds time to site development, and sometimes causes a page to appear blank if the floated content drops below the window “fold”. Ignoring the problem and designing only for standards-adhering browsers is not always possible, particularly in enterprise environments where IE (and not always the latest version) is the only officially supported standard. Of course, other browsers are being used as well.

I’ve finally came across a fix that appears to work well cross-platform, thanks to Thierry Koblentz in the YUIblog.

Continue reading

Tips on getting PHP to work on Windows/IIS

Trying to set up php on a Windows server running IIS from scratch can be a challenge. I would recommend first trying out the Microsoft’s Web Platform Installer because it is so easy to use, but sometimes that doesn’t set things up correctly. In my experience it usually works, but occasionally the installation fails to create a working environment. In such cases it may be easier to do the installation from scratch by downloading and running the correct PHP installer for your system from php.net.

If you decide to install from scratch, the following tips may help you resolve problems you are likely to encounter along the way.

Continue reading

Mcrypt extension error after installing phpMyAdmin on IIS

If you install phpMyAdmin on IIS and get the error:

PROBLEM: cannot load mcrypt extension. please check your php configuration

This could be due to the extension being missing or that it is not listed correctly in php.ini file. Listed below are the instructions from around the web that I followed to get this working:

Continue reading