On installing rest API in extension installer, got the warning as enable FTP.After enabling the FTP with necessary information, getting warning as
SyntaxError:Unexpected token < in JSON at position 0
Ok
<b>Warning</>:ftp_chdir();Failed to change directory. in <b>/var/www/html/admin/controller/extension/installer.php</b> on line<b>298</b>{"error":"Could not set root directory as"}
I have added FTP root as public_html/ and I have transferred the opencart upload folder to /var/www/html. Is FTP root is incorrect?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.