Hello,
I need some programmer who can help me to fix cpanel api issue . I've buy file hosting script form [login to view URL] with FTP UPLOAD plugin . The FTP UPLOAD plugin require cpanel hosting to work (json api) . After I’ve setup cpanel server and setting the ftp upload plugin configuration , It not work . Error occur in error log like this
[Mon Apr 15 20:53:25 2013] [error] [client [login to view URL]] PHP Fatal error: Uncaught exception 'Exception' with message 'curl_exec threw error "Failed to connect to [login to view URL]: Permission denied" for [login to view URL]' in /var/www/html/plugins/ftpupload/[login to view URL]\nStack trace:\n#0 /var/www/html/plugins/ftpupload/[login to view URL](676): xmlapi->curl_query('https://103.7.5...', 'cpanel_jsonapi_...', 'Authorization: ...')\n#1 /var/www/html/plugins/ftpupload/[login to view URL](915): xmlapi->xmlapi_query('cpanel', Array)\n#2 /var/www/html/plugins/ftpupload/[login to view URL](127): xmlapi->api2_query('ftpwwwpa', 'Ftp', 'listftp')\n#3 /var/www/html/plugins/ftpupload/[login to view URL](71): PluginFtpupload->createCpanelFTPAccount('admin')\n#4 /var/www/html/plugins/ftpupload/includes/[login to view URL](235): PluginFtpupload->getFTPAccountDetails('1')\n#5 /var/www/html/includes/[login to view URL](197): include_once('/var/www/html/p...')\n#6 /var/ in /var/www/html/plugins/ftpupload/[login to view URL] on line 758
But I’m sure that username and password that use for login at cpanel is working fine ( I can login via browser ) . So anyone who can help me to fix this problem please make a bid
Server Info
1. Main server ([login to view URL] , not able to access at now must to configure your host file before access) not install any control panel . Main script install on this server . Centos 64bit . SSH accessible .
2. FTP server . cPanel/WHM version 11.32 . Centos 64bit . SSH accessible
All of server login credential will send to the winner after bid is finish . Any question please ask me here !!