Welcome Guest, Not a member yet? Register   Sign In
Blank Screen w/ Binarycake tutorial
#1

[eluser]garrettwinder[/eluser]
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!
#2

[eluser]Dam1an[/eluser]
Do you have error reporting/logging enabled? No information in the logs?
#3

[eluser]garrettwinder[/eluser]
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.
#4

[eluser]Dam1an[/eluser]
Assuming you've not changed the path, it would be in system/logs
#5

[eluser]garrettwinder[/eluser]
/application/ is in root directory now but nothing else is changed. I went to localhost/system/logs and got a "403 forbidden"
#6

[eluser]Dam1an[/eluser]
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
#7

[eluser]garrettwinder[/eluser]
Oop - Sorry.

Here's the file.

Code:
<?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
#8

[eluser]garrettwinder[/eluser]
Found it!

return $query->result(); said results

Thanks for all the help




Theme © iAndrew 2016 - Forum software by © MyBB