Skip to Content Skip to Menu

file not upload and plugin install error

  • krileon
  • krileon
  • ONLINE
  • Posts: 48438
  • Thanks: 8275
  • Karma: 1443
5 years 4 months ago #312696 by krileon
Replied by krileon on topic file not upload and plugin install error

why only avater and canves pic store in tmp dir

It's not just avatar and canvas that use PHP tmp. All uploads do. They're uploaded to PHP tmp then moved to their destination. That's how PHP works as it's where it stores tmp files.

1) file_uploads = On
upload_tmp_dir = /tmp in .user.ini,php.ini,.htaccess

This was likely your issue.

2)update php version 5.6.4 to 7.2.18

Very good idea to move forward to PHP 7.2.

3)public $ftp_host = '';
public $ftp_port = '';
public $ftp_user = '';
public $ftp_pass = '';
public $ftp_root = '';
public $ftp_enable = '0';

in config.php

This should've been empty like that to begin with unless Joomla was configured to use FTP for uploads.

4)delete /tmp file recreate

May also have been the culprit as recreating the file would do so with new permissions.

5)antispam_captcha disable

You shouldn't need to do that as you've disabled captcha for your registration and would be unrelated to your issue.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum