Part of the EllisLab Network
   
 
Blank Screen w/ Binarycake tutorial
Posted: 03 July 2009 06:59 AM   [ Ignore ]  
Grad Student
Avatar
Rank
Total Posts:  43
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
GANDR Web | Lead Developer
http://twitter.com/garrettwinder
http://gandrweb.com/team/garrettwinder
(325) 480-0646

Profile
 
 
Posted: 03 July 2009 07:03 AM   [ Ignore ]   [ # 1 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  2690
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 07:21 AM   [ Ignore ]   [ # 2 ]  
Grad Student
Avatar
Rank
Total Posts:  43
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
GANDR Web | Lead Developer
http://twitter.com/garrettwinder
http://gandrweb.com/team/garrettwinder
(325) 480-0646

Profile
 
 
Posted: 03 July 2009 07:25 AM   [ Ignore ]   [ # 3 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  2690
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 07:34 AM   [ Ignore ]   [ # 4 ]  
Grad Student
Avatar
Rank
Total Posts:  43
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
GANDR Web | Lead Developer
http://twitter.com/garrettwinder
http://gandrweb.com/team/garrettwinder
(325) 480-0646

Profile
 
 
Posted: 03 July 2009 07:42 AM   [ Ignore ]   [ # 5 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  2690
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 07:44 AM   [ Ignore ]   [ # 6 ]  
Grad Student
Avatar
Rank
Total Posts:  43
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 loaded: url_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 loaded: url_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
GANDR Web | Lead Developer
http://twitter.com/garrettwinder
http://gandrweb.com/team/garrettwinder
(325) 480-0646

Profile
 
 
Posted: 05 July 2009 11:36 AM   [ Ignore ]   [ # 7 ]  
Grad Student
Avatar
Rank
Total Posts:  43
Joined  02-05-2008

Found it!

return $query->result(); said results

Thanks for all the help

 Signature 

Garrett Winder
GANDR Web | Lead Developer
http://twitter.com/garrettwinder
http://gandrweb.com/team/garrettwinder
(325) 480-0646

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 721, on January 06, 2010 09:38 AM
Total Registered Members: 115024 Total Logged-in Users: 67
Total Topics: 122459 Total Anonymous Users: 6
Total Replies: 647358 Total Guests: 473
Total Posts: 769817    
Members ( View Memberlist )