Welcome Guest, Not a member yet? Register   Sign In
using APPPATH
#3

Thanks. But it seems that my ROOTPATH is not being set correctly. Here is the error:
require(/var/www/../assets/MyReport.php): failed to open stream: No such file or directory

it should be /var/www/ci4/Views/MyReport.php

I then tried using APPPATH instead and get this error:
require(/var/www/app/../assets/MyReport.php): failed to open stream: No such file or directory

it should be /var/www/ci4/app/../assets/MyReport.php

In both cases I am missing the '/ci4'

In what file can I fix up both the APPPATH and ROOTPATH?

Same error!
proof that an old dog can learn new tricks
Reply


Messages In This Thread
using APPPATH - by richb201 - 07-04-2023, 08:15 AM
RE: using APPPATH - by luckmoshy - 07-04-2023, 08:51 AM
RE: using APPPATH - by richb201 - 07-04-2023, 11:45 AM
RE: using APPPATH - by kenjis - 07-04-2023, 05:37 PM
RE: using APPPATH - by kenjis - 07-04-2023, 05:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB