• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
error on the first page

#2
(07-05-2016, 02:06 AM)davy_yg Wrote: Hello,

Can anyone help me troubleshoot where the problem in my codes?

http://127.0.0.1/CompanyGiondaCI/

--------------------------------------


A PHP Error was encountered
Severity: Notice
Message: Undefined property: Mpages::$load
Filename: libraries/Form_validation.php
Line Number: 147
Backtrace:
File: C:\Program Files (x86)\EasyPHP-Devserver-16.1\eds-www\CompanyGiondaCI\application\models\mpages.php
Line: 10
Function: __construct
File: C:\Program Files (x86)\EasyPHP-Devserver-16.1\eds-www\CompanyGiondaCI\application\controllers\cpages.php
Line: 32
Function: model
File: C:\Program Files (x86)\EasyPHP-Devserver-16.1\eds-www\CompanyGiondaCI\index.php
Line: 315
Function: require_once

Fatal error: Call to a member function helper() on null in C:\Program Files (x86)\EasyPHP-Devserver-16.1\eds-www\CompanyGiondaCI\system\libraries\Form_validation.php on line 147
A PHP Error was encountered
Severity: Error
Message: Call to a member function helper() on null
Filename: libraries/Form_validation.php
Line Number: 147
Backtrace:

Make sure your class and file names have only the first letter upper case.

Make sure that cpages.php is like Cpages.php and same for class.

And don't leave your base url blank if your using CI3


PHP Code:
$config['base_url'] = ''


To
Code:
$config['base_url'] = 'http://localhost/your_project/';
There's only one rule - please don't tell anyone to go and read the manual.  Sometimes the manual just SUCKS!
Reply


Messages In This Thread
error on the first page - by davy_yg - 07-05-2016, 02:06 AM
RE: error on the first page - by wolfgang1983 - 07-05-2016, 03:28 AM
RE: error on the first page - by davy_yg - 07-05-2016, 08:39 AM
RE: error on the first page - by mwhitney - 07-07-2016, 01:22 PM
RE: error on the first page - by davy_yg - 07-11-2016, 03:36 AM
RE: error on the first page - by JayAdra - 07-11-2016, 04:29 AM
RE: error on the first page - by mwhitney - 07-11-2016, 09:14 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.