Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-20, 03:06:18

Author Topic: Prestashop problem when image upload  (Read 8300 times)

0 Members and 1 Guest are viewing this topic.

Offline murshed

  • Valuable Member
  • *
  • Posts: 93
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Prestashop problem when image upload
« on: 2016-01-31, 07:19:46 »
in cPanel this site have no problem image uploading but when i move to kloxomr its show
Quote
Error while creating additional image

directory and file permission is ok. i don't know why show this message!

please help.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Prestashop problem when image upload
« Reply #1 on: 2016-01-31, 08:39:09 »
Inform here 'sh /script/sysinfo'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline murshed

  • Valuable Member
  • *
  • Posts: 93
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: Prestashop problem when image upload
« Reply #2 on: 2016-01-31, 08:57:56 »
Quote
[root@server ~]# sh /script/sysinfo
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016013001
   - Web: hiawatha-10.0.0-f.6.mr.el6.x86_64
   - PHP: php54s-5.4.45-2.w6 (cgi mode)
B. Plateform:
   - OS: CentOS release 6.7 (Final) x86_64
   - Hostname: murshid.xyz
C. Services:
   1. MySQL: MariaDB-server-10.0.23-1.el6.x86_64
   2. PHP:
      - Branch: php54-cli-5.4.45-1.ius.el6.x86_64
      - Multiple:
        * php56m-5.6.17-1.ius.el6
      - Used: php56m
   3. Httpd: httpd-2.2.31-1.mr.el6.x86_64
      - PHP Type: php-fpm_event
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --unused--
   6. Nginx: nginx-1.9.10-1.el6.ngx.x86_64
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.7-1.mr.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          6144        862       5281         45          0        537
   -/+ buffers/cache:        324       5819
   Swap:            0          0          0
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/simfs       30G  5.7G   25G  19% /


*** Process Time: 00:00:00:02.2156 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)


even ftp not works! filzilla show this...
Quote
Connection attempt failed with "ECONNREFUSED - Connection refused by server".

Could not connect to server
« Last Edit: 2016-01-31, 11:40:29 by murshed »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Prestashop problem when image upload
« Reply #3 on: 2016-01-31, 09:08:35 »
1. For FTP, go to 'ftp configure' and click update. To make sure, run 'sh /script/fixftp; sh /script/restart-ftp -y'. This issue appear possible because Kloxo-MR change ftp service from xinetd base to initd base

2. About upload issue, try 'sh /script/fix-chownchmod' (or selet 'fix-all' for 'fix ownership and permissions' in 'webserver configure'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline murshed

  • Valuable Member
  • *
  • Posts: 93
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: Prestashop problem when image upload
« Reply #4 on: 2016-01-31, 09:42:03 »
Quote
Status:   Connection attempt failed with "ETIMEDOUT - Connection attempt timed out".
Error:   Could not connect to server


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Prestashop problem when image upload
« Reply #5 on: 2016-01-31, 09:50:01 »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Prestashop problem when image upload
« Reply #6 on: 2016-01-31, 09:51:43 »
To make sure, try ftp connection to server use IP (instead domain).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline murshed

  • Valuable Member
  • *
  • Posts: 93
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: Prestashop problem when image upload
« Reply #7 on: 2016-01-31, 09:58:20 »
same configuration, same settings, another server is working!
i think problem on ftp server.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Prestashop problem when image upload
« Reply #8 on: 2016-01-31, 10:10:34 »
Inform here 'dir -l /etc/xinetd.d; dir -l /etc/init.d; ps aux|grep ftp'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline murshed

  • Valuable Member
  • *
  • Posts: 93
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: Prestashop problem when image upload
« Reply #9 on: 2016-01-31, 10:27:23 »
Quote
[root@server ~]# dir -l /etc/xinetd.d; dir -l /etc/init.d; ps aux|grep ftp
total 44
-rw------- 1 root root 1157 Oct  7  2013 chargen-dgram
-rw------- 1 root root 1159 Oct  7  2013 chargen-stream
-rw------- 1 root root 1157 Oct  7  2013 daytime-dgram
-rw------- 1 root root 1159 Oct  7  2013 daytime-stream
-rw------- 1 root root 1157 Oct  7  2013 discard-dgram
-rw------- 1 root root 1159 Oct  7  2013 discard-stream
-rw------- 1 root root 1148 Oct  7  2013 echo-dgram
-rw------- 1 root root 1150 Oct  7  2013 echo-stream
-rw------- 1 root root 1212 Oct  7  2013 tcpmux-server
-rw------- 1 root root 1149 Oct  7  2013 time-dgram
-rw------- 1 root root 1150 Oct  7  2013 time-stream
lrwxrwxrwx 1 root root 11 Jan 30 13:40 /etc/init.d -> rc.d/init.d
root      7295  0.0  0.0   6444   704 pts/1    S+   03:39   0:00 grep ftp

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Prestashop problem when image upload
« Reply #10 on: 2016-01-31, 10:31:04 »
Try 'yum reinstall pure-ftpd -y; chkconfig pure-ftpd on; sh /script/restart-ftp -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline murshed

  • Valuable Member
  • *
  • Posts: 93
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: Prestashop problem when image upload
« Reply #11 on: 2016-01-31, 10:43:53 »
YESsss, now FTP is OK!

but in Prestashop Image upload i got this message. No change after chmod.
Quote
Error while creating additional image

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Prestashop problem when image upload
« Reply #12 on: 2016-01-31, 11:21:28 »
For directory of upload (find out where is), use 'file manager', change ownership to 'apache:apache'. That it.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline murshed

  • Valuable Member
  • *
  • Posts: 93
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: Prestashop problem when image upload
« Reply #13 on: 2016-01-31, 11:36:25 »
Not working! after change apache:apache or [user:apache] or [apache:user] or [user:user]

none of working!
« Last Edit: 2016-01-31, 11:39:46 by murshed »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Prestashop problem when image upload
« Reply #14 on: 2016-01-31, 11:47:22 »
Find out in 'log manager' for web server (nginx and apache) and php and php-fpm related to 'permission denied'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.048 seconds with 18 queries.

web stats analysis