Comments (4)
There's no config beyond the url, user, and password you provide to the object, and there are no dependencies beyond curl. Have you tried enabling full error reporting in PHP so you can see if there's something else going on?
error_reporting(E_ALL);
ini_set('display_errors', true);
from rtphplib.
Debug :
Fatal error: Uncaught exception 'RequestTrackerException' with message 'A fatal unexpected error occurred when communicating with RT.' in E:\Web\Apache\htdocs\fawaaz\rt\RequestTracker.php:409 Stack trace: #0 E:\Web\Apache\htdocs\fawaaz\rt\RequestTracker.php(99): RequestTracker->post(Array) #1 E:\Web\Apache\htdocs\fawaaz\rt\RequestTracker.php(149): RequestTracker->send() #2 E:\Web\Apache\htdocs\fawaaz\rt\example.php(49): RequestTracker->doTicketReply(473525, Array) #3 {main} thrown in E:\Web\Apache\htdocs\fawaaz\rt\RequestTracker.php on line 409
No modification was made in RequestTracker.php
from rtphplib.
I just pushed up a new version that should display the actual error from curl. Should help you find the issue.
from rtphplib.
Thank you for your quick response. Its a network error on my side. Trying to fix it...
Fatal error: Uncaught exception 'RequestTrackerException' with message 'A fatal error occurred when communicating with RT :: couldn't connect to host'
from rtphplib.
Related Issues (20)
- Adding additional parameters to search function in RTPHPLib HOT 2
- query search result - array count mismatch HOT 6
- Add support for user creation
- Update code style to conform to PSR-1 and PSR-2
- Testing
- Correctly namespace the library
- Drop support for PHP 5.3 HOT 1
- Set up scrutinizr for code analysis and style checking
- Support cookie authentication HOT 5
- Attachment handling on ticket creation HOT 23
- Wiki is no longer up HOT 1
- Test against multiple RT versions
- Test authentication failure
- getAttachment() not binary-safe HOT 5
- Improve documentation
- add "fields" parameter to search function HOT 2
- SearchTickets issue with Subject (or any other field) containing "id: " HOT 2
- No display of an attachment image HOT 2
- Fix mutiline from fields and parse format HOT 4
- Tests break on PHP7 HOT 1
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 rtphplib.