Jump to content


  • Posts

  • Joined

  • Last visited

logicgaming's Achievements


Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges



  1. Hi Grant, Again, thank you very much for your help. I really do appreciate it. I still have that same error: Fatal error: Call to a member function serverInfo() on a non-object in /home/content/90/11012290/html/analytics/test.php on line 10 This time, I decided to see if I can grab the server info and do a var_dump from that and it didn't work. This was my code $c-> serverInfo(); var_dump($c); ?> Tomorrow I will try to use the composer because I actually edited the autoloader file instead of using the composer. If that doesn't work, maybe my credentials are wrong. I log into the system everyday but perhaps I can test some stuff with a GET login credential (http://:/jasperserver[-pro]/rest/login?j_username=[%7C] &j_password=)
  2. Thanks Grant, Modifying the autload.dist.php seems to have done the trick. It has moved past that line and I'm getting a new error: Fatal error: Call to a member function reportService() on a non-object in /home/content/90/11012290/html/analytics/test.php on line 10 I've looked up this error it seems like perhaps it's having trouble finding the reportService class? I placed this php file on the same level as the autoload.dist.php so I'm not sure if I need to relocate it to somewhere else. Additionally, I've installed postman on Chrome to test out the API calls prior to this project. For me to see all my scheduled reports, the URL is analy*********.com/an*******s2/rest_v2/jobs Should I replace that with /reports/MyReport in $report? I just noticed that this test page to display reports in HTML is actually an example you gave to another user! Neat! Thanks for your help!
  3. Dear god, when I saw this reply and I saw that I left the info up, I sprinted up a few floors to fix this immediately. Thank you very much for the heads up, I remembered to tell myself to change that when writing the question and just messed up. Regarding the composer, if the jaspersoft server and database is not sitting locally, will it still work?
  4. Hello, I have reports set up with iReport on our jaspersoft server. I have the server info and such to log in. I want to create a php web page that displays all information about scheduled reports on our jaspersoft server so we can keep track of it internally. I have downloaded https://github.com/Jaspersoft/jrs-rest-php-client and read the documents. I have watched the tech talk video and I sitll am having trouble. I placed the folder in our local FTP sandbox for testing and create a test.php page. This is what I have on the page: <?phprequire_once "autoload.dist.php"; header('Content-Type: text/html'); use JaspersoftClientClient; $c = new Client( [redacted] ); $report = $c->reportService()->runReport('/reports/MyReport', 'html'); echo $report; ?> When I navigate to it, this is the error that I am getting: Fatal error: Class 'JaspersoftClientClient' not found in /home/content/90/11012290/html/analytics/test.php on line 8 Can someone advise me on what I did wrong? Thank you
  • Create New...