пятница, 20 июля 2012 г.

Неприятная ошибка gd_support in /plugins/content/jwsig.php on line 83

Joomla is a powerful Content Management System (CMS) written in PHP. I just installed Joomla 1.5.6. If you are trying to install the famous Joomla plugin called “Simple Image Gallery” and receive the following message when viewing your gallery:

Notice: Undefined variable: gd_support in /…/…/plugins/content/jwsig.php on line 83

Solution:

At line 75 of jwsig.php just change the

if(function_exists("gd_info")) {

to

if(!function_exists("gd_info")) {

Reference

вторник, 10 июля 2012 г.

Доступность сайта только на порту 8080

Обнаружил глюк что некоторые новые сайты на nginx открываются только на порту 8080.. почитав форумы нашел , что если такая ошибка

localhost:~# nginx -v
nginx version: nginx/0.6.32
localhost:~# nginx -t
2012/01/10 07:54:52 [emerg] 5837#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32
2012/01/10 07:54:52 [emerg] 5837#0: the configuration file /etc/nginx/nginx.conf test failed



то надо увеличить допустим вдвое server_names_hash_bucket_size - размер хеша для доменных имен.