I have developed a script but whenever i open admin panel it shows just a blank page, however the same script works fine on my another server. I tried changing chmod of files and folders 644, 755, 775 and 777 but still it outputs a blank page.
The main script works fine but its only admin panel thats not working. I check .htaccess also same on both servers.
Any idea what is wrong?
Thank You.
Check the error log of your HTTP server (e.g. Apache). In 99% of cases of a blank page, PHP has experienced a fatal error and exited before generating any output.
If this script works on another server, I’d check that the script can find everything it needs to
includeorrequire. Files not found are common fatal errors when moving a script from one environment to another. For instance, if you deployed the file to the new server without configuring theinclude_pathcorrectly.Re your comment about the notice you got:
This means your
$_POSTarray does not contain a field'submit'. Referencing a non-existant array index in PHP is anE_NOTICE. You can fix this in the following way: