Hi,
I recently got a new server and moved my websites to it but now one of my includes isnt working.
It's an include that calls a file from another account in cpanel. I have a file that contains all the functions that a few of my websites use so that I only have to update one file on one account in case I need to update my functions.
Here is the include error:
Warning: include(/home/abc/public_html/admin/includes/functions.php): failed to open stream: Permission denied in /home/xyz/public_html/admin/definitions.php on line 2
Warning: include(): Failed opening '/home/abc/public_html/admin/includes/functions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xyz/public_html/admin/definitions.php on line 2
Fatal error: Call to undefined function createTables() in /home/xyz/public_html/admin/definitions.php on line 44
Obviously the fatal error is due to the site not being able to include the functions.php file that contains the createTables() function. But I'm not sure why the file isnt able to be included. I even tried changing permissions to 777 in the abc folders and that still didnt work.
Any ideas please?