Welcome Guest, Not a member yet? Register   Sign In
having a problem finding this require_once
#5

(01-25-2022, 07:10 AM)richb201 Wrote: Thanks. The problem is that Composer didn't install it in my Controllers dir.
Message: require_once(/app/application/controllers/../../rst/RST/app/analytics/lib/Segment.php): failed to open stream: No such file or directory

It was put here:
ubuntu@ip-172-31-66-201:~/rst/RST$ ls app/analytics/lib/Segment.php
app/analytics/lib/Segment.php

What do you mean "The problem is that Composer didn't install it in my Controllers dir."?
Composer always installs package files in project_root/vendor/.
And if you use Composer, you can use Composer autoloader, so you don't have to
write require_once().
Reply


Messages In This Thread
RE: having a problem finding this require_once - by kenjis - 01-25-2022, 05:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB