0
Welcome Guest! Login
0 items Join Now

General Joomla question

    • Keven's Avatar
    • Keven
    • Elite Rocketeer
    • Posts: 511
    • Thanks: 0

    General Joomla question

    Posted 14 years 11 months ago
    • Searched the joomla forums, but got way too many answers which mostly sucked (ie., chmod the entire site to 777)

      I'm having trouble installing a component and I'm guessing it's because of the file size (750K - GCalendar Component). I go to install, looks like it's doing something, then when the page reloads, it comes up blank. I go back and check, and nothing's been installed. Component directories remain empty.

      I figured maybe something's timing out (though it's never happened before and I use this site as my main dev platform for multiple sites), so I tried to install from directory but got a "please enter a package directory" response. Does anyone know what this means, or have encountered it and found a workaround?

      Install from URL doesn't work either.
    • Google Chat: ennovative (at) gmail.com
    • DeiEx's Avatar
    • DeiEx
    • Sr. Rocketeer
    • Posts: 149
    • Thanks: 0

    Re: General Joomla question

    Posted 14 years 11 months ago
    • This is pretty much some random ramblings that might help.

      There are so many ways a webserver config can have an effect on how joomla behaves. More specifically the linux distro and the way php is configured.

      As well as write permissions it could be down to directory ownership permissions.

      On my server the joomla installer has a habit of installing files and directories as nobody ownership, because thats how php runs scripts on my box. Also this happens because I prefer to keep the ftp layer strictly turned off, its been more hassle to me than its worth causing problems with several extensions i use.

      Most times I have to ssh in as root and do recursive chown commands on various pieces to own them as the virtual host account, and yes often things have to be chmod 0777 which i still dont like but have come to accept.

      However occasionally I have to keep directories as nobody, for instance like the photo and video upload folders for jomsocial, in which case 777 permissions are dangerous, but can often be alleviated using 775 instead.

      Another thing is the config of apache, sometimes you have to mess with the php.ini and sometimes you can use over-rides in .htaccess, heres something I might use for a site as an example :

      <IfModule mod_php5.c>
      php_flag register_globals Off
      php_flag magic_quotes_gpc On
      php_flag allow_url_include Off
      php_flag open_basedir off
      php_flag allow_url_fopen On
      php_value upload_max_filesize 32M
      php_value memory_limit 32M
      php_value post_max_size 32M
      php_value max_execution_time 1000
      php_value max_input_time 1000
      </IfModule>

      Things above that might be pertinent to you are the memory size, the posting size and the posting time settings.

      Remember though I have full control of my server and the above would work for me, but not all of it or any of it inthe format its in in htaccess might work on other server configs.

      Read up on php .htaccess overrides if you think it might be of use.
    • Kat05's Avatar
    • Kat05
    • Preeminent Rocketeer
    • Posts: 25898
    • Thanks: 334

    Re: General Joomla question

    Posted 14 years 11 months ago
    • Keven wrote:
      ...so I tried to install from directory but got a "please enter a package directory" response. Does anyone know what this means, or have encountered it and found a workaround?
      hi there,

      depending on the package type etc, you may have to unzip the file package inside the tmp directory before you can install it.

      kat :)
    • Kat05 / QA Lead & Support / Germany

Time to create page: 0.078 seconds