Jump to content

Fatal error when creating a customer page


ed0522

Recommended Posts

File directory and name:...\root\prestashop\modules\register\controllers\front\c_register.php
 
Code:
<?php
Class registerc_registerModuleFrontController extends ModuleFrontController
{
public function initContent()
{
parent::initContent();
 
}   
public function init()
{
$this->page_name = 'c_register'; 
parent::init();
}
}
 

 

I input this link:

http://localhost/prestashop/en/index.php?fc=module&module=register&controller=c_register

 

Error:

 

Fatal error: Class 'registerc_registerModuleFrontController' not found in ...\root\prestashop\classes\controller\Controller.php on line 135

 

I added my module in the attach files.

 

Last night it worked, but after that it suddenly showed the fatal error.

register.zip

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...