EmergencyReporting / ssrsreport

A PHP support library for integrating SQL Server Reporting Services (SSRS) based reports.
MIT License
8 stars 12 forks source link

Fatal error: Uncaught Error: Class 'SSRSReport' not found in #13

Open allanmedeiros71 opened 2 years ago

allanmedeiros71 commented 2 years ago

Hi,

I created a project with:

composer require ercorp/ssrs-sdk

My index.php is:

require "vendor\autoload.php";
$rs = new SSRSReport(new Credentials($settings["UID"], $settings["PASWD"]),$settings["SERVICE_URL"]);

I've got the error:

Fatal error: Uncaught Error: Class 'SSRSReport' not found in C:\Users\...\xamp\htdocs\ssrs\index.php:3 Stack trace: #0 {main} thrown in 
C:\Users\...\xamp\htdocs\ssrs\index.php on line 3
mbomb007 commented 2 years ago

Looks like your class didn't get loaded. That's not a problem with this project.