Report this

What is the reason for this report?

codeigniter PHP App on server. URL returns blank page

Posted on October 25, 2013

i have uploaded my php app developed in codeigniter on a folder in my sub domain…i get to see the login page but after login some pages are displaying as blank pages?Can anyone please help?

Link to the app https://pledgetovote.socialchamps.com/pledgetovotefbapp/index.php/login Also on my sub domain WordPress is installed is because of that my pages are not displaying



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

It mostly means that there is a php error. Try enabling debugging: <br> <br><pre>Note: By default, CodeIgniter displays all PHP errors. You might wish to change this behavior once your development is complete. You’ll find the error_reporting() function located at the top of your main index.php file. Disabling error reporting will NOT prevent log files from being written if there are errors.</pre> <br><a href=“http://ellislab.com/codeigniter/user-guide/general/errors.html”>http://ellislab.com/codeigniter/user-guide/general/errors.html</a>

Do both WordPress & your app need to be on the same subdomain? Why not put them on separate subdomains? Or have your app on the subdomain and WordPress as a subdirectory?

Hello,

There are two types of 500 errors, one is when you are using Apache and you have a configuration error, either in your .htaccess file or in your Apache config file.

The other type of a 500 error is the HTTP 500 error which you are experiencing. This means there is an issue with your Application. To properly debug this, you need to create an error log of your application and check out the error there. In your case you have used the PHP tag. This means you need to create an error log using php.ini or .user.ini file and indicate where the PHP error log is located. It’s possible the error log is already there somewhere as well. The best way is to check your PHP options.

This can be achieved by creating a info.php file in your Application’s path and typing in

<?php
phpinfo();

Then open the file in our browser. It will give you all the information you need about your PHP settings.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.