Part of the EllisLab Network
   
 
Blank Screen w/ Binarycake tutorial
Posted: 03 July 2009 08:59 AM   [ Ignore ]  
Grad Student
Avatar
Rank
Total Posts:  86
Joined  02-05-2008

Hello,

I’ve been using EE for a few years and decided to jump into CI a few days ago. Got the Binarycake tutorial (it’s awesome).

Anyways - Everything is great, I have a database, model, controller, etc. Everything works when the database is empty (Checked via var_dump). When I put content in the fields the page returns blank.

I’ve tried a few things. 1. Checked the Video Tutorial like 3 times - everything seems the same. 2. Instead of using Sequel Pro to add content I used scaffolding (Don’t know if that changes anything but I tried…) 3. Deleted 1 field at a time from table to see if I messed up on a field. 4. Completely redid the db.

Thank you so much!

 Signature 

Garrett Winder
Erskine Design
http://twitter.com/gw

Profile
 
 
Posted: 03 July 2009 09:03 AM   [ Ignore ]   [ # 1 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  2674
Joined  05-18-2008

Do you have error reporting/logging enabled? No information in the logs?

 Signature 

I’m building a Project Management System for my 3rd year Uni project, Sign up to the beta
Track my progress | Post of the day: UI Designs
Get full auto complete support for CodeIgniter in Eclipse

Profile
 
 
Posted: 03 July 2009 09:21 AM   [ Ignore ]   [ # 2 ]  
Grad Student
Avatar
Rank
Total Posts:  86
Joined  02-05-2008

Thanks for the quick reply!

Just set errors to 4 in config.php and then redid the process where I get the blank page. How do I check the errors? Sorry - really really really newbie.

Thanks.

 Signature 

Garrett Winder
Erskine Design
http://twitter.com/gw

Profile
 
 
Posted: 03 July 2009 09:25 AM   [ Ignore ]   [ # 3 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  2674
Joined  05-18-2008

Assuming you’ve not changed the path, it would be in system/logs

 Signature 

I’m building a Project Management System for my 3rd year Uni project, Sign up to the beta
Track my progress | Post of the day: UI Designs
Get full auto complete support for CodeIgniter in Eclipse

Profile
 
 
Posted: 03 July 2009 09:34 AM   [ Ignore ]   [ # 4 ]  
Grad Student
Avatar
Rank
Total Posts:  86
Joined  02-05-2008

/application/ is in root directory now but nothing else is changed. I went to localhost/system/logs and got a “403 forbidden”

 Signature 

Garrett Winder
Erskine Design
http://twitter.com/gw

Profile
 
 
Posted: 03 July 2009 09:42 AM   [ Ignore ]   [ # 5 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  2674
Joined  05-18-2008

Sorry, should have been clearer
I didn’t mean you access them via the web browser and URL, you need to view the file in a text editor, so go to the logs directory within system, and find the file with todays date and view it

 Signature 

I’m building a Project Management System for my 3rd year Uni project, Sign up to the beta
Track my progress | Post of the day: UI Designs
Get full auto complete support for CodeIgniter in Eclipse

Profile
 
 
Posted: 03 July 2009 09:44 AM   [ Ignore ]   [ # 6 ]  
Grad Student
Avatar
Rank
Total Posts:  86
Joined  02-05-2008

Oop - Sorry.

Here’s the file.

<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>

DEBUG 
2009-07-03 08:18:16 --> Config Class Initialized
DEBUG 
2009-07-03 08:18:16 --> Hooks Class Initialized
DEBUG 
2009-07-03 08:18:16 --> URI Class Initialized
DEBUG 
2009-07-03 08:18:16 --> Router Class Initialized
DEBUG 
2009-07-03 08:18:16 --> Output Class Initialized
DEBUG 
2009-07-03 08:18:16 --> Input Class Initialized
DEBUG 
2009-07-03 08:18:16 --> Global POST and COOKIE data sanitized
DEBUG 
2009-07-03 08:18:16 --> Language Class Initialized
DEBUG 
2009-07-03 08:18:16 --> Loader Class Initialized
DEBUG 
2009-07-03 08:18:16 --> Helper loadedurl_helper
DEBUG 
2009-07-03 08:18:16 --> Database Driver Class Initialized
DEBUG 
2009-07-03 08:18:16 --> Controller Class Initialized
DEBUG 
2009-07-03 08:18:16 --> Model Class Initialized
DEBUG 
2009-07-03 08:36:14 --> Config Class Initialized
DEBUG 
2009-07-03 08:36:14 --> Hooks Class Initialized
DEBUG 
2009-07-03 08:36:14 --> URI Class Initialized
DEBUG 
2009-07-03 08:36:14 --> No URI present. Default controller set.
DEBUG 2009-07-03 08:36:14 --> Router Class Initialized
DEBUG 
2009-07-03 08:36:14 --> Output Class Initialized
DEBUG 
2009-07-03 08:36:14 --> Input Class Initialized
DEBUG 
2009-07-03 08:36:14 --> Global POST and COOKIE data sanitized
DEBUG 
2009-07-03 08:36:14 --> Language Class Initialized
DEBUG 
2009-07-03 08:36:14 --> Loader Class Initialized
DEBUG 
2009-07-03 08:36:14 --> Helper loadedurl_helper
DEBUG 
2009-07-03 08:36:14 --> Database Driver Class Initialized
DEBUG 
2009-07-03 08:36:14 --> Controller Class Initialized
DEBUG 
2009-07-03 08:36:14 --> Model Class Initialized 
 Signature 

Garrett Winder
Erskine Design
http://twitter.com/gw

Profile
 
 
Posted: 05 July 2009 01:36 PM   [ Ignore ]   [ # 7 ]  
Grad Student
Avatar
Rank
Total Posts:  86
Joined  02-05-2008

Found it!

return $query->result(); said results

Thanks for all the help

 Signature 

Garrett Winder
Erskine Design
http://twitter.com/gw

Profile