Error when try to use PHPExcel in a server

Topics: Developer Forum, User Forum
Sep 21, 2013 at 9:57 PM
Hello,

I am new to using this class, and when I tried it on my PC with the help of Xampp, worked perfectly.

But when i upload the code to the server, always appears this error (I've even tried with the code taken from the website without changes and gave the same error):

Warning: require (/ Classes / PHPExcel.php) [function.require]: failed to open stream: No such file or directory in / home / fnspptse / public_html / inforeasy / Admin / ajuda_excel.php on line 17

Fatal error: require () [function.require]: Failed opening required '/ Classes / PHPExcel.php' in / home / fnspptse / public_html / inforeasy / Admin / ajuda_excel.php on line 17



I do not understand how it works locally and not on the server.

I appreciate if you can help.
Sep 23, 2013 at 11:57 AM
PHP can not find the required files... Check that what is stated in the require statement refers to the right path... And that the files are right there where you think.
Sep 23, 2013 at 5:28 PM
Are you sure you have the folder 'Classes' containing the file 'PHPExcel.php' inside the folder 'Admin' located at '/home/fnspptse/public_html/inforeasy/' in your server ?
The error message makes me think it is not the case...