Doesn't take in account includes (PHP)
Hello there ! I am new member of this forum and I would like to get some help please if possible.
I have an issue with the CPanel host server as I added some PHP files but its doesn't work. Some lines aren't taken in account and are not displayed when I look up at the source code, can somebody please tell me how to fix this ?
example of code lines that aren't taken in account :
controlUploadErrors();
$uploaderControl -> controlExportData();
?>
Thanks !
-
Can you please let me know what error are you getting in error logs file ? 0 -
Thanks for your response ! The thing is that there is no error ! Its all a blank page. When I tried to put this folder in another server it worked, or at least when I check the source code the PHP lines that I posted in the post before was there... You can check for yourself, the code in the file is : microsource.fr/csvImporter/ Upload CSV controlUploadErrors(); $uploaderControl -> controlExportData(); ?>
but the code in the source code when I check is : Upload CSV it's like PHP is disabled but it's not... maybe there is something else I must enable before it works ?0 -
Hello :) You will likely receive more input on this question at a website focused on PHP coding (e.g. StackOverflow). Does it make a difference if you remove the "meta charset" line? Thank you. 0 -
Do you know which version of PHP your Cpanel server is running compared to the server which works. Also, do you know which version of PHP these files were written for. From my experience, PHP v5 has a number of new features over V4 that can cause errors with older PHP files. PHP 5.4 has even more differences to 5.3. 0
Please sign in to leave a comment.
Comments
4 comments