Re: Issue Importing DataBase\Can't Manually Install
did you just solve the issue? because i can't see any error or warning edit: i cant even login to the website, perhaps it has something to do with php session try this. this is where your opencart was installed "/home/nasim1971/public_html/OPENCART_INSTALLATION" in your server you may have...
Jump to post- Tue Mar 01, 2016 12:54 pm
- Replies 4
- Views 717
Re: How can i remove module name from module list in Layout
admin/model/extension/extension.php $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "extension WHERE `type` = '" . $this->db->escape($type) . "' ORDER BY code"); modify those line using vqmod or ocmod to look like this as example $query = $this->db->query("...
Jump to post- Mon Feb 29, 2016 11:13 pm
- Replies 3
- Views 1715
Re: Error (Warning: Division by zero) after deleting orders
are you sure that the Analytics didn't reset? just FYI the bright Blue color you see there is a customer and not an order
Jump to post- Mon Feb 29, 2016 10:43 pm
- Replies 4
- Views 1145
Re: Error (Warning: Division by zero) after deleting orders
restore your oc_order_status table back TRUNCATE TABLE `oc_order_status`; INSERT INTO `oc_order_status` (`order_status_id`, `language_id`, `name`) VALUES ('2', '1', 'Processing'); INSERT INTO `oc_order_status` (`order_status_id`, `language_id`, `name`) VALUES ('3', '1', 'Shipped'); INSERT INTO `oc_o...
Jump to post- Mon Feb 29, 2016 8:21 pm
- Replies 4
- Views 1145
Re: Run opencart Customer in subdomain
it think you should just contact the multi vendor developer and ask if that even possible
Jump to post- Mon Feb 29, 2016 7:12 pm
- Replies 1
- Views 382
Re: Shipping Method selection
it is hard even to guess how your code looks like. anyway in catalog/model/shipping/youfile.php
Code: Select all
if ($this->cart->getWeight() < 3) {
// cart weight below 3kg
} else {
// cart weight above 3kg
// show Air Courier Express
}
- Mon Feb 29, 2016 6:24 pm
- Replies 3
- Views 408
Re: Slideshow and carousel not appear at front!
Don't you have a test system? If you are using VQMOD it is relatively simple to remove and add MODS... As far I understand by saying test system, I have to remove all vqmods, ocmods and some edits I have made by itself and add them all back one by one. This will take too long and some mods have sev...
Jump to post- Mon Feb 29, 2016 5:58 pm
- Replies 33
- Views 4271
Re: Undefined variable (1.5.5.1)
worth giving a try, in your controller file
after
Code: Select all
<?php
class ControllerYourController extends Controller {
Code: Select all
private $error = array();
- Mon Feb 29, 2016 3:56 pm
- Replies 4
- Views 641
Re: Facebook plugin
awesome thanks for your help, will go & try that - I did see the PHP part but there was no <body class=" prior to it?? Is that normal? this isn't normal if you're using a default theme, if you're using a custom theme you may need to post the url of your website before that, try to search &...
Jump to post- Mon Feb 29, 2016 1:16 pm
- Replies 12
- Views 689
Re: PHP updated from 5.3 to 5.7, admin panel inaccessible
I really appreciate your help here. I'm a little confused here, is that code suppose to replace the whole /systems/database/mysqli.php file? I just replaced your code with my mysqli.php code, and it came up with additional errors. Any other ideas? in your mysqli.php file, replace all from line 18 t...
Jump to post- Mon Feb 29, 2016 3:40 am
- Replies 8
- Views 1805
Re: Updating store address settings doesn't work?
it is stored on the database inside the oc_setting table, the key for the address is "config_address" you may executed this query using phpmyadmin or similar tool UPDATE oc_setting SET `value` ="1 Swinroyd Close, Birkenshaw, Bradford, BD11 2LX United Kingdom" WHERE `key` = "...
Jump to post- Sun Feb 28, 2016 3:11 am
- Replies 7
- Views 663
Re: Header text on banner module
<?php echo $banner_name['name'] == 'HP Products' ? 'Meet us at these events' : ''; ?> HP Products = your banner name, not a banner title Meet us at these events = this is your message to the front end. if your banner name is already "Meet us at these events" then replace "HP Products...
Jump to post- Sun Feb 28, 2016 2:58 am
- Replies 2
- Views 2860
Re: Header text on banner module
if you need a quick modification you can use this catalog/controller/module/module/banner.php before $this->data['module'] = $module++; add $this->data['banners_name'] = array(); foreach ($this->model_design_banner->getBanners() as $result_name) { $this->data['banners_name'][] = array( 'name' => $re...
Jump to post- Sun Feb 28, 2016 2:53 am
- Replies 2
- Views 2860
Re: Issue Importing DataBase\Can't Manually Install
You can't directly import an v1.5 to v2.X from an sql. by posting some of the error might be help. the thing i can think of right now was the PHP version on your server, please check if you can change your PHP version to 5.3+ or 5.4 from your CPANEL. if not you may need to contact your hosting..just...
Jump to post- Sun Feb 28, 2016 1:54 am
- Replies 4
- Views 717
Re: Undefined variable (1.5.5.1)
you can't simply add a variable to tpl file without controller.basicly it work like this
if you have this on controller
Code: Select all
$this->data['XXX'] = 'YYY';
Code: Select all
<?php echo $XXX; ?>
- Fri Feb 26, 2016 8:23 pm
- Replies 4
- Views 641
Re: Warning: mysql_connect() [function.mysql-connect]
most people just skipped question because of the poor question description, poor question description get poor answers
Jump to post- Thu Feb 25, 2016 1:20 pm
- Replies 1
- Views 405
Re: breadcrumbs alignment in mobile view
add to your stylesheet.css
Code: Select all
@media (max-width: 300px) {
.breadcrumb > li {
padding: 0 10px;
}
}
- Thu Feb 25, 2016 1:12 pm
- Replies 3
- Views 1362
Re: PHP updated from 5.3 to 5.7, admin panel inaccessible
give this a try, anyway your code looks similar to OC v1.5.5 public function query($sql) { $result = $this->mysqli->query($sql); if (!$this->mysqli->errno) { if (is_resource($resource)) { $i = 0; $data = array(); while ($row = $result->fetch_object()) { $data[$i] = $row; $i++; } $result->close(); $q...
Jump to post- Thu Feb 25, 2016 12:49 pm
- Replies 8
- Views 1805
Re: PHP updated from 5.3 to 5.7, admin panel inaccessible
and whats on the line 54 are of that file?
Jump to post- Thu Feb 25, 2016 12:12 pm
- Replies 8
- Views 1805
Re: OC2 How to comment out "Address 2"? :(
you should not remove the region/state/zone and country as this may effect your shipping method that using geo zone and zone for certain zone at your country. the best way is you should delete all other country than your local country from admin area located at System->Localisation->Countries. you a...
Jump to post- Thu Feb 25, 2016 12:03 pm
- Replies 2
- Views 432