ionCube error when calendar used outside install directory
I'm using the full version (6.3.24) of Easy PHP Calendar. Everything works fine if the file referencing the calendar is in the install directory, but if I try to use the calendar on pages in my root folder I get this error:
"The file /home/jeffers/public_html/calendar/functions/functions.inc.php has been encoded with the ionCube PHP Encoder and requires the free ioncube_loader_lin_4.4.so ionCube PHP Loader to be installed."
I know ionCube is fine because as I said, I have no problems with files within the "gallery/" directory. There aren't any typos in the code because this even happens even if I just take the demo.php file and move it to my public_html root (and updating the path, of course).
What could be causing that? And more importantly, how can I fix it? Thanks!