Comments (6)
Hello,
A "Connection Refused" error indicates that your cPanel server is not listening on port 2082, or is blocked in a firewall someplace. Please contact your hosting provider for assistance.
from xmlapi-php.
This is still open
from xmlapi-php.
Issue with $xmlapi->api1_query($cpaneluser, "mysql", "adddb", array($databasename)). This is the bit not working, not the port
from xmlapi-php.
why is the port reported in the exception message different that the port in the URL that is being use for the cURL connection?
from xmlapi-php.
If I comment this bit out $xmlapi->api1_query($cpaneluser, "mysql", "adddb", array($databasename)) everything runs and account is created but the database is not created
from xmlapi-php.
You were right, the issue was a port issue. Thanks for the help. Its working perfectly
from xmlapi-php.
Related Issues (20)
- addsubdomain HOT 2
- api2_query listdbs filter does not work
- parameters for addzonrecord HOT 1
- Add AddonDomain HOT 2
- Update the XML-api source code
- Subdomain creation using php HOT 1
- Uncaught exception 'Exception' for createacct HOT 1
- Composer HOT 1
- Implement PSR-4 Standard
- Not able to create database user
- Exec Addsubdomain and save file
- Function addsubdomain running twice
- ::EditZone / Permission / 200k+ domains
- https://github.com/CpanelInc/xmlapi-php/blob/master/xmlapi.php#L2446
- Password strength test?
- How to implement with JSON serialization HOT 1
- For windows server
- Trying to Create Database, User but, getting error and After debug it's saying " HTTP error 404 ". Don't have any idea why. Please help, Thanks HOT 1
- Database
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmlapi-php.