Module installation troubleshooting
Posted: Mon Jan 09, 2006 9:42 pm
I spent gobs of time figuring this one out, so hopefully this will save one or two people a couple of hours of time.
I could install CMS-MS without any problem. Actually, CMS-MS, by itself, worked pretty well. But then I wanted to install FrontEndUsers (FEU), galleryS, and calendar.
I found that whenever I extracted FrontEndUsers/ to public_html/modules/FrontEndUsers, clicking Extensions>Modules stopped working. Firefox would load for about half a second, and then stop loading. Whatever page I was on would remain.
I found that whenever I extracted Uploads/ to public_html/modules/Uploads, I could install and activate it, but not uninstall it.
I found that galleryS would install and activate just fine, but that placing {cms_module module="galleryS" } on a page would cause that page to not load. It would not load in that all I saw was a blank page. Firefox's view source confirmed that there wasn't even html/head/body code there - just a blank page.
I found that calendar acted just the way that galleryS did.
If you're getting similar strange results, it might be due to php settings. I found this out by comparing phpinfo(); from two servers. If you can, try writing a .htaccess file to override the php settings on your webserver. The settings I found that made it work were:
.htaccess
php_value memory_limit 16M
php_flag allow_call_time_pass_reference on
php_flag display_errors on
php_flag magic_quotes_gpc on
php_value error_reporting 2039
I could install CMS-MS without any problem. Actually, CMS-MS, by itself, worked pretty well. But then I wanted to install FrontEndUsers (FEU), galleryS, and calendar.
I found that whenever I extracted FrontEndUsers/ to public_html/modules/FrontEndUsers, clicking Extensions>Modules stopped working. Firefox would load for about half a second, and then stop loading. Whatever page I was on would remain.
I found that whenever I extracted Uploads/ to public_html/modules/Uploads, I could install and activate it, but not uninstall it.
I found that galleryS would install and activate just fine, but that placing {cms_module module="galleryS" } on a page would cause that page to not load. It would not load in that all I saw was a blank page. Firefox's view source confirmed that there wasn't even html/head/body code there - just a blank page.
I found that calendar acted just the way that galleryS did.
If you're getting similar strange results, it might be due to php settings. I found this out by comparing phpinfo(); from two servers. If you can, try writing a .htaccess file to override the php settings on your webserver. The settings I found that made it work were:
.htaccess
php_value memory_limit 16M
php_flag allow_call_time_pass_reference on
php_flag display_errors on
php_flag magic_quotes_gpc on
php_value error_reporting 2039