Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.5.6.1 - Syntax errors in "catalog\controller\error\not_found.php" #1032

Closed
villagedefrance opened this issue Nov 28, 2013 · 0 comments
Closed

Comments

@villagedefrance
Copy link

To avoid an error being returned in the log, these lines needs to be corrected:

Error 1: class controllererrornotfound extends controller {
Change to: class ControllerErrorNotFound extends Controller {

Error 2: $this->response->addheader($this->request->server['server_protocol'] . '/1.1 404 not found');
Change to: $this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . '/1.1 404 Not Found');

Error 3: if (file_exists(dir_template . $this->config->get('config_template') . '/template/error/not_found.tpl')) {
Change to: if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/error/not_found.tpl')) {

This is already fixed in v2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants