Tuesday, December 22, 2009

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1966080 bytes) in /home/…………. /public_html/approval/bulletin/includes/utf/data/confusables.php on line 1

CAUSE
That error is not related to the size of the database. It means that that /confusables.php script is attempting to use more memory than the php memory limit setting for the server. You can override that setting by increasing the memory limit for your account.

RESOLUTION
Overriding System php.ini

Sometimes, your site may require a local adjustment to the default or system-wide php.ini values. This might be to increase the maximum file size allowed to upload through a form, or some other setting.
PHP 4 / Default

This is the default for all accounts. You can use your .htaccess file to override certain php.ini values.

Use the format:
php_value PHP_VARIABLE PHP_VALUE

Most will settings will be identified with php_value, though binary settings (on/off) will use php_flag:
php_value max_upload_filesize 10M
php_flag register_globals off


PHP5 / suPHP

If you enable PHP 5 through cPanel, then you will need to create a custom php.ini and place it in your home directory.
As described in the suPHP doc, .htaccess should contain something like this:
suPHP_ConfigPath /home/username

(php.ini should be placed in your home directory, and not in your public_html folder)

The directives in your php.ini should look like this:
PHP_VARIABLE = PHP_VALUE
Example:
upload_max_filesize = 10M
memory_limit = 32M


PHP 5 / FastCGI

Please use these instructions if you are using FastCGI.

Or

Go to http://wiki.asmallorange.com/PHPOverridePhpIni

Wednesday, December 2, 2009

Task Manager Menu Bar and Tabs Are Not Showing in Windows XP

SYMPTOMS:
The menu bar and tabs may not be visible in Task Manager.

CAUSE:
This behavior may occur if Task Manager is running in Tiny Footprint mode. If you double-click the empty space in the border around the tabs, Task Manager switches to this mode.

RESOLUTION:

To switch Task Manager to its typical display mode, double-click the top border of the window.

APPLIES TO:
* Microsoft Windows XP Home Edition
* Microsoft Windows XP Professional