Welcome Guest, Not a member yet? Register   Sign In
Getting a blank page
#4

One always learn new things!

just by chance i did a view source on my white page......

there i see

html>

<head>

<title>Update Data In Database Using CodeIgniter</title>

<link href='http://fonts.googleapis.com/css?family=Marcellus' rel='stylesheet' type='text/css'>

<link rel="stylesheet" type="text/css" href="<br />

<b>Fatal error</b>: Call to undefined function base_url() in <b>C:\My_localhost\application\views\update_view.php</b> on line <b>5</b><br />

Then checking that line in update_view.php

<link rel="stylesheet" type="text/css" href="<?php echo base_url(). "css/update.css" ?>">

After some more research

Just adding url in the config/autoload.php

$autoload['helper'] = array('url');

Then it is working..... Big Grin 

just a little surprise that it would only show in view source......  (one lesson learned)
Reply


Messages In This Thread
Getting a blank page - by ThorTheViking - 10-24-2017, 02:56 AM
RE: Getting a blank page - by InsiteFX - 10-25-2017, 03:16 AM
RE: Getting a blank page - by ThorTheViking - 10-25-2017, 08:12 AM
RE: Getting a blank page - by ThorTheViking - 10-25-2017, 11:00 AM
RE: Getting a blank page - by InsiteFX - 10-26-2017, 01:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB