Assuming that require_once is used in one of the other files shown in that second picture, you shouldn't use the whole URL like that. require_once takes a file .