I've got a page that has this as part of it's code:
When I run the page, I get the error that you see below. Basically, it's not seeing "pdo.php."
ABSOLUTEPATH concerns me. The guy that designed this page sent this to me in an email:
In the php.ini file, we set the auto_prepend_file directive to point to /var/www/html/includes/inc
ludes.php (or wherever is appropriate for your environment.)
includes.php pulls in paths.php, which is where the ABSOLUTEPATH, ROOTURL, and IMAGEURL constants are defined. We recently simplified paths.php using __DIR__ instead of hard-coding a bunch of IP addresses. I’ve attached the latest copy.
I look in paths.php and it looks like this:
I understand the purpose and advantage of "__DIR__ in that it establishes a base URL so you don't have to worry about relative URLs becoming a problem, correct? But the fact that when I go to "echo ABSOLUTEPATH" and all I get is "ABSOLUTEPATH," I'm thinking there's something wrong in that the system should be printing a URL.
Bottom line: The file is where it needs to be, but it's not being "seen" and I can't figure out why.