What does that mean? "too well" ? it either shows or it doesn'tsizzlingscience wrote:
I've installed the MOD but my maintenance page isn't showing too well
Well the page loads but the formatting looks wrong, the Maintenance wording is below the container and there is a little square out of the top of the header in the top right hand side.
I've attached a screenshot. Hope it's simple to fix, as great MOD. Thank you.
I've attached a screenshot. Hope it's simple to fix, as great MOD. Thank you.
Thank you - managed to change it now.migz wrote:Just edit the maintenance.tpl to fit with your theme
Hi,
Does someone have the MaintenanceMode_OCv144.zip file listed above ?
The file above appears to be corrupt and fails to open.
Many thanks
Does someone have the MaintenanceMode_OCv144.zip file listed above ?
The file above appears to be corrupt and fails to open.
Many thanks
OC v1.4.9.1
(dev:)WampServer v2.0: Apache 2.2.11, PHP 5.3.0, MySQL 5.1.36
(prod:) Apache , PHP 2.10.0.2, MySQL 5.1.37
scanreg,
in theory, OCv144 contribs should work with v147 (especially those from Qphoric !).
i have v134 of the MaintenanceMode contrib and i'm eager to test/implement a more recent version with my OCv147 installation -- unfortunately, as i mentioned, the v144 file listed above does not open...
in theory, OCv144 contribs should work with v147 (especially those from Qphoric !).
i have v134 of the MaintenanceMode contrib and i'm eager to test/implement a more recent version with my OCv147 installation -- unfortunately, as i mentioned, the v144 file listed above does not open...
OC v1.4.9.1
(dev:)WampServer v2.0: Apache 2.2.11, PHP 5.3.0, MySQL 5.1.36
(prod:) Apache , PHP 2.10.0.2, MySQL 5.1.37
Many thanks Q.
I guess i'm missing the maintenance.php files for v144... I have the files downloaded from MaintenanceMode v133-v134. All works fine in the Admin backend, but when Maintenance mode is enabled (set to 'Yes'), the storefront shows several errors.
EDIT:
I have made the following modifications (with my limited php knowledge) in an attempt to remedy the problem but am still getting an error.
This is the current content of my catalog/controller/common/maintenance.php file:
The error i am getting now is:
Are there perhaps updated maintenance.php/.tpl files for v144 that i might have missed out on?
Thanks again.
M
I guess i'm missing the maintenance.php files for v144... I have the files downloaded from MaintenanceMode v133-v134. All works fine in the Admin backend, but when Maintenance mode is enabled (set to 'Yes'), the storefront shows several errors.
EDIT:
I have made the following modifications (with my limited php knowledge) in an attempt to remedy the problem but am still getting an error.
This is the current content of my catalog/controller/common/maintenance.php file:
Code: Select all
<?php
class ControllerCommonMaintenance extends Controller {
public function index() {
$this->language->load('common/maintenance');
$this->document->title = $this->language->get('heading_title');
$this->data['charset'] = $this->language->get('charset');
$this->data['language'] = $this->language->get('code');
$this->data['direction'] = $this->language->get('direction');
$this->data['title'] = $this->language->get('heading_title');
$this->document->breadcrumbs = array();
$this->document->breadcrumbs[] = array(
'href' => $this->url->http('common/maintenance'),
'text' => $this->language->get('text_maintenance'),
'separator' => FALSE
);
$this->data['breadcrumbs'] = $this->document->breadcrumbs;
$this->data['message'] = $this->language->get('text_message');
//$this->template = $this->config->get('config_template') . 'common/maintenance.tpl';
if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/common/maintenance.tpl')) {
$this->template = $this->config->get('config_template') . '/template/common/maintenance.tpl';
} else {
$this->template = 'default/template/common/maintenance.tpl';
}
$this->children = array(
'common/header',
'common/footer'
);
if ($this->config->get('config_guest_checkout') != null) {
$this->response->setOutput($this->render(TRUE));
} else {
$this->render();
}
}
public function check() {
// Registry
$registry = new Registry();
if ($this->config->get('config_maintenance')) {
// User
if (file_exists(DIR_SYSTEM . 'helper/user.php')) {
require_once(DIR_SYSTEM . 'helper/user.php');
// Registry::set('user', new HelperUser());
$registry->set('user', new HelperUser());
} else {
require_once(DIR_SYSTEM . 'library/user.php');
// Registry::set('user', new User());
$registry->set('user', new User($registry));
}
if (!$this->user->isLogged()) {
return $this->forward('common/maintenance');
}
}
}
}
?>
Code: Select all
Fatal error: Call to a member function isLogged() on a non-object in C:\wamp\www\store\catalog\controller\common\maintenance.php on line 60
Are there perhaps updated maintenance.php/.tpl files for v144 that i might have missed out on?
Thanks again.
M
OC v1.4.9.1
(dev:)WampServer v2.0: Apache 2.2.11, PHP 5.3.0, MySQL 5.1.36
(prod:) Apache , PHP 2.10.0.2, MySQL 5.1.37
FYI, this is now part of the core with version 1.4.8...
with many thanks to Q
with many thanks to Q
OC v1.4.9.1
(dev:)WampServer v2.0: Apache 2.2.11, PHP 5.3.0, MySQL 5.1.36
(prod:) Apache , PHP 2.10.0.2, MySQL 5.1.37
Hello!
I wonder why the zip file attached to this thread in post http://forum.opencart.com/viewtopic.php?p=34965#p34965 contains only readme.txt file?
Need mainteinace mode for open cart v1.4.7
Thanks.
I wonder why the zip file attached to this thread in post http://forum.opencart.com/viewtopic.php?p=34965#p34965 contains only readme.txt file?
Need mainteinace mode for open cart v1.4.7
Thanks.
Maintenance Mode
Thanks.
Alfredo
Please Qphoria, could you please re-upload your contribution. Now only is the installation manual. I have an older version and would like to use your contribution.Qphoria wrote:This is another free one as I think it should be part of OpenCart.
Supported OpenCart Versions:
================
v1.2.6, v1.2.7, v1.2.8, v1.2.9, v1.3.0, v1.3.1, v1.3.2, v1.3.3, v1.3.4, v1.4.0, v1.4.4
Thanks.
Alfredo
Who is online
Users browsing this forum: No registered users and 34 guests