|
I'm getting a blank screen upon loading an article |
|
|
|
|
Written by jasperd
|
|
Thursday, 07 August 2008 10:42 |
I bet you we’re tired of waiting as well, weren’t you? ;-) In most cases this blank screen is cause by the PHP script exceeding it’s maximum run-time. Joomla itself has quite an apatite for execution time and the Flickr API happily… let’s say… takes it’s time to carefully select the requested photo information. No hurries is probably a motto of the Flickr API. ;-)
Nut how can you fix this? It’s probably wise to increase the maximum execution time of a PHP-script. You can do this:
by changing the configuration file of php, but not everyone might have access to that by placing an .htaccess file in the core directory of your Joomla configuration that includes the following line:
php_value max_execution_time xx
(where xx is replaced by the maximum execution time in seconds.)
Next to that it is a good idea to enable the cache in the plug-in configuration and set it to a substantial amount of time so that after the info about the photo(‘s) is obtained from the flickr API, the next time it can be handled by the db server of your website which is probably substantially quicker.
|