0
Welcome Guest! Login
0 items Join Now

SOLVED The PHP temporary directory is not set

  • SOLVED The PHP temporary directory is not set

    Posted 9 years 1 month ago
    • My template file rocketlauncher for Anacron will not upload? How do I remedy this? thx

      This is the error message: The PHP temporary directory is the directory that PHP uses to store an uploaded file before Joomla! can access this file. Whilst the directory not being set isn't always a problem, if you are having issues with manifest files not being detected or uploaded files not being detected, setting this in your php.ini file might fix the issue.

      This is the other error message: PHP Upload Size bigger than POST size.
    • Last Edit: 9 years 1 month ago by Marion Esposito.
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: The PHP temporary directory is not set

    Posted 9 years 1 month ago
    • Make sure that these match:
      Admin -> Site or System -> Global Configuration -> Server -> Server Settings -> Path to Temp-folder -> my-path/tmp
      Admin -> Site or System -> System Information -> Configuration File -> Server Settings ->tmp_path = my-path/tmp
      and lastly the TMP folder in your Configuration.php file

      By default, PHP is set to allow uploads of files with a size of 2MB or less, so try increasing the following values in your php.ini file. Ask your hoster for the best method of doing this.
      If your using something like RokGallery, try these settings:
      memory_limit = 128M
      max_execution_time = 300
      upload_max_filesize = 12M
      post_max_size = 16M
      Make sure that post_max_size is larger than the upload_max_size.
    • The following users have thanked you: Marion Esposito

  • Re: The PHP temporary directory is not set

    Posted 9 years 1 month ago
    • Thanks Dan, I did the 1st 2 parts of your answer. (thank you!) but am not sure how to get to this file to edit it?

      and lastly the TMP folder in your Configuration.php file I do have filezilla but am not sure where to look if I can edit it that way?

      thank you, Marion
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: The PHP temporary directory is not set

    Posted 9 years 1 month ago
    • Marion Esposito wrote:
      Thanks Dan, I did the 1st 2 parts of your answer. (thank you!) but am not sure how to get to this file to edit it?
      Ususally you have to create this file in your [JOOMLA-ROOT] folder. If you unsure about any of this then ask your hoster.

      Marion Esposito wrote:
      and lastly the TMP folder in your Configuration.php file I do have filezilla but am not sure where to look if I can edit it that way?
      The "configuration.php" is also always found in your [JOOMLA-ROOT] folder. You'll see something like:
      	public $tmp_path = '../tmp';

      So the "../tmp" has to match the other two locations I mentioned.
  • Re: The PHP temporary directory is not set

    Posted 9 years 1 month ago
    • Thank you Dan, problem solved! Appreciate all the help, you're the Best! :D
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: The PHP temporary directory is not set

    Posted 9 years 1 month ago
    • Marion Esposito wrote:
      Thank you Dan, problem solved! Appreciate all the help, you're the Best! :D

      Great...To mark this issue as Solved, please change the Topic icon to a Checkmark and edit the Topic Title in your FIRST post of the Topic

      This image is hidden for guests.
      Please log in or register to see it.

      Thanks.
  • Re: The PHP temporary directory is not set

    Posted 8 years 8 months ago
    • Thanks...I will try this....having same prob1....
    • Jay Phillips
  • Re: SOLVED The PHP temporary directory is not set

    Posted 8 years 8 months ago
    • Looking at the scnario you outlined...my site global configuration files ends in /tmp
      the admin system file ends in /logs
      the tmp_path settings inside my configuration file ends in /tmp

      Should the admin system file be changed to /tmp?



      Still learning...thanks for your thoughts
    • Last Edit: 8 years 8 months ago by Jay Phillips.
    • Jay Phillips

Time to create page: 0.063 seconds