Archive for August, 2009

PECL function not working?

enable the following extension in php.ini file to say:

;extension=php_sybase_ct.dll
;extension=php_tidy.dll
extension=php_xmlrpc.dll
extension=php_xsl.dll
extension=php_http.dll

Configure Masked Text Field

To set the dialog box options, follow the next steps:

  1. In the Apply to field drop-down menu select the text field on which to apply the server behavior.
  2. In the Mask drop-down menu select one of the predefined masks or create your own custom mask. To learn more about this, read the note below.
  3. The Restrict to mask checkbox enables the option of limiting the text field input to the mask type. If you do not check it, you can enter at most as many characters as the mask has (so less, but not more).
  4. In the Default value text box enter a starting value for the masked text field. You can also select it from one of the available recordsets in your page by using the lightning icon on the right.
  5. The three buttons on the right of the interface offer you the next functionalities:
    · Click OK when you are done configuring the server behavior.
    · Click Cancel to exit without applying the new settings.
    · The Help button opens this help page.

More >

Allowed memory size of 8388608 bytes exhausted

When trying to automatically upgrade a blog from 2.8.1 to 2.8.2 it wouldn’t work and I saw an error message similar to this: Allowed memory size of 33554432 bytes exhausted. It seems the error is pretty common and I found the solutions on the WordPress.org support forums. In my case it was an active plugin causing the problem. I started deactivated one plugin at a time and trying the automatic upgrade after each one. It wasn’t until the 8th deactivated plugin, Contact Form, that the automatic upgrade worked.

More >

change maint password to trixbox

Its very simple to chage the passwords

log into the asterisk box, ie command prompt, you can do this through puttty or a terminal window.

The password you need to change are the following

passwd will change your route password
passwd-amp is your portal password
passwd-maint will change your admin for free pbx
passwd-meetme to see up meetme

Add Trailing Slash to the End of the URL with .htaccess Rewrite Rules

For a website that has URLs that end with a slash (/), it’s a good practice to ensure that all url links been parsed by the web server ended with trailing slash, even if visitors forget to enter the ending slash. This avoid visitors been served with 404 Page Not Found or Page Cannot be Displayed error as some webservers treat links without trailing slash as a file name instead of directory, and thus unable to locate the documents. It also eliminates the possibility that both pages with same content, one with slash at the end and another without, been viewed by search engines as duplicate content.

As an example, all hits to http://www.mydigitallife.info/contact should be redirect to http://www.mydigitallife.info/contact/. More >

Google and Zimbra contact sync for Thunderbird

  1. What is synchronized?
  2. What isn’t synchronized?
  3. Contact conversion
  4. Thunderbird and Google Addressbook differences
    1. No empty contacts
    2. When rules break

Also see the FAQ for thunderbird contact sync.

more info http://www.zindus.com/faq-thunderbird-google/ More >