Page 1 of 1

Just Installed

Posted: 26 Aug 2019, 23:47
by techeg
Just installed the files on my server (shared), I'm seeing a lot of errors such as the following;

1. Warning: include_once(./vendor/autoload.php): failed to open stream: No such file or directory in ...
2. Warning: include_once(): Failed opening './vendor/autoload.php' for inclusion (include_path='.:/opt/php54/lib/php') in ...
3. Warning: session_start(): Cannot send session cache limiter - headers already sent ...
4. Warning: Cannot modify header information - headers already sent by ...

Not sure what I've done wrong here, I'm running PHP 5.4.

Thanks in advance and apologies I'm new to this.

Re: Just Installed

Posted: 27 Aug 2019, 14:02
by cptr13
I'm not even close to being technical enough to troubleshoot with that information.

What files did you install? Did you follow the install guide? What's your environment?

Re: Just Installed

Posted: 05 Sep 2019, 15:55
by RussH
Hi @techeg

you need to run composer so the dependencies are installed. I believe @cptr13 has that in the documentation guide. If not, I can find some guidance for you and paste it in here.

Re: Just Installed

Posted: 12 Sep 2019, 00:44
by JorgePHP
Hello,
I just installed the latest version 0.9.4-3.
I followed the documentation for installation, everything was OK, but when I started the application I got the following warnings:

Warning: include_once(./vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\OpenCATS\lib\TemplateUtility.php on line 38

Warning: include_once(): Failed opening './vendor/autoload.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\OpenCATS\lib\TemplateUtility.php on line 38

Warning: include_once(./vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\OpenCATS\lib\Companies.php on line 2

Warning: include_once(): Failed opening './vendor/autoload.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\OpenCATS\lib\Companies.php on line 2

Warning: include_once(./vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\OpenCATS\lib\JobOrders.php on line 2

Warning: include_once(): Failed opening './vendor/autoload.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\OpenCATS\lib\JobOrders.php on line 2

What I should do to fix those warnings?

Thanks in advance for your help.
Regards,
Jorge

Re: Just Installed

Posted: 19 Sep 2019, 11:12
by RussH
Hi JorgePHP,

sorry a slight quirk with current versions - please run composer after installation to pick up the 'not bundled' dependencies.

viewtopic.php?t=851