i am having a
A PHP Error was encountered
Severity: Warning
Message: require_once(/../scraper_utilities.php): failed to open stream: No such file or directory
Filename: utility_classes/special_price_process.php
Line Number: 3
I only have just included a file scraper_utilities.php by this:
require_once('/../scraper_utilities.php');
Here is the file system of the codeigniter i am currently using:
EDIT: I Also tried
require_once('../scraper_utilities.php');
And
require_once(__DIR__.'/scraper_ci/application/libraries/scraper_utilities.php');
but didn't also worked.
i solved it by using APPPATH
require_once(APPPATH.'libraries/scraper_utilities.php');
Remove that first / so:
require_once('../scraper_utilities.php');
../ will take you up one directory, the initial / takes you all the way up to the root directory
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With