Attachments
Customer Group Logo
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
straightlight wrote:Finally, I am able to upload attachments. Try my version and see if it works, now.
I also am experiencing problems with this extension.
Here is the error (Displayed in the drop down menu above register and log in):
Code: Select all
Notice: Undefined variable: image in /opencart/vqmod/vqcache/vq2-system_modification_catalog_view_theme_default_template_common_header.tpl on line 257Notice: Undefined variable: image in /opencart/vqmod/vqcache/vq2-system_modification_catalog_view_theme_default_template_common_header.tpl on line 260
I have disabled this extension, and the error is sill there. How do I get rid of this? my customers are going to be so confused haha.
Ernie
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
IP_CAM wrote:as I wrote, why not just installing a virgin OC-Version again, you seem to have multiple problems, and not getting anywhere, this way..
Ernie
Hi Ernie, I am upgrading to OC 2.1.0.2 today. Hopefully this will solve most of my problems.
If you have time, can you please take a look at my new post regarding upgrading opencart http://forum.opencart.com/viewtopic.php?f=190&t=164266
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
straightlight wrote:This topic may help you greatly: http://forum.opencart.com/viewtopic.php ... it=upgrade
Thanks for the link. Although I love automated procedures, I find they always have errors. Also if something goes wrong, it will be harder to receive help, as I cant refer to which step I completed.
Are you familiar with upgrading? if so, can you view my latest post regarding upgrading, and see if I have all the information I need to upgrade successfully?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Well, You won't be able to upgrade a possibly already broken System, I fear. It would be much easier, just export Valuable data, and really start from scratch again. But it's you choice, good LuckBrandonBerner wrote:[Hi Ernie, I am upgrading to OC 2.1.0.2 today. Hopefully this will solve most of my problems.

Ernie
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
IP_CAM wrote:Well, You won't be able to upgrade a possibly already broken System, I fear. It would be much easier, just export Valuable data, and really start from scratch again. But it's you choice, good LuckBrandonBerner wrote:[Hi Ernie, I am upgrading to OC 2.1.0.2 today. Hopefully this will solve most of my problems.![]()
Ernie
Thanks for your advice. I will try to upgrade, and If im experiencing a lot of problems, ill start from scratch. I have put in so much time adding products and modifying settings, so I dont want to re-do anything. MY store is active, and I have a lot of customers, affiliates, and orders that I dont want to disappear.
When I upgrade, wont the files all be replaced with new ones?
The only folder that I will be transferring is my images folder from 2.0.3.1 to 2.1.0.2
From what I understand the database does not change much. Only a few tables are removed.
So what broken settings will be copied over to 2.1.0.2?
Thanks

The core files must be replaced upon each upgrades, yes. Although, before doing any upgrades, backup your entire site including database so that you don't loose anything. Highly suggested upgrade feature by using the topic I provided above so that you don't loose any database data during the upgrade operation.BrandonBerner wrote:IP_CAM wrote:Well, You won't be able to upgrade a possibly already broken System, I fear. It would be much easier, just export Valuable data, and really start from scratch again. But it's you choice, good LuckBrandonBerner wrote:[Hi Ernie, I am upgrading to OC 2.1.0.2 today. Hopefully this will solve most of my problems.![]()
Ernie
Thanks for your advice. I will try to upgrade, and If im experiencing a lot of problems, ill start from scratch. I have put in so much time adding products and modifying settings, so I dont want to re-do anything. MY store is active, and I have a lot of customers, affiliates, and orders that I dont want to disappear.
When I upgrade, wont the files all be replaced with new ones?
The only folder that I will be transferring is my images folder from 2.0.3.1 to 2.1.0.2
From what I understand the database does not change much. Only a few tables are removed.
So what broken settings will be copied over to 2.1.0.2?
Thanks
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Thanks for your message.straightlight wrote:
The core files must be replaced upon each upgrades, yes. Although, before doing any upgrades, backup your entire site including database so that you don't loose anything. Highly suggested upgrade feature by using the topic I provided above so that you don't loose any database data during the upgrade operation.
That suggested upgrade feature is for 2.2 I want 2.1.0.2. How do I use the suggested upgrade for 2.1.0.2?
straightlight wrote:Finally, I am able to upload attachments. Try my version and see if it works, now.
Can you please tell me how to revert the changes your extension has made when I installed it so i can remove the error off the login drop down menu
Code: Select all
Notice: Undefined variable: image in /home1/nobscomp/public_html/SMB/opencart/vqmod/vqcache/vq2-system_modification_catalog_view_theme_default_template_common_header.tpl on line 257
Thanks

Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I have done that already, but it still not removing the error.straightlight wrote:Simply rename the XML file to: xml_ at the end.
When I installed your extension, the error started. I check the time of when I installed your extension, and the time when the error started, and they are both identical which is why I think the extension may have done something. I mean no disrespect.
If you install an extension for 2.2 on version 2.0.3.1, does it mess with other files? or does it try to change or create files that are located or compatible within 2.2 but not in 2.0.3.1?
Does your extension add any code to:
vq2-system_modification_catalog_view_theme_default_template_common_header.tpl
Code: Select all
<li class="dropdown"><a href="<?php echo $account; ?>" title="<?php echo $text_account; ?>" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $text_account; ?></span> <span class="caret"></span></a>
<ul class="dropdown-menu dropdown-menu-right">
<?php if ($image) { ?>
<li><img src="<?php echo $image; ?>" class="img-thumbnail" /></li>
<?php } ?>
I am planning on upgrading soon, just waiting for my schedule to clear up so I have enough time to do it, and also fix any errors that come along.
Thanks

Code: Select all
<?php if ($image) { ?>
<li><img src="<?php echo $image; ?>" class="img-thumbnail" /></li>
<?php } ?>
Code: Select all
$this->load->model('tool/image');
$this->load->model('account/customer_group');
$customer_group = $this->model_account_customer_group->getCustomerGroup($this->customer->getGroupId());
if (!empty($customer_group['image'])) {
if ($customer_group['image']) {
$data['image'] = $this->model_tool_image->resize($customer_group['image'], $this->config->get($this->config->get('config_theme') . '_image_product_width'), $this->config->get($this->config->get('config_theme') . '_image_product_height'));
} else {
$data['image'] = '';
}
}
?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
So I was disabling the wrong extension name. Yours was named "cgl_2031.xml" and I had 2 other extensions for adding image to account. I disabled those 2 and left cgl_2031.xml enabled.
I have now disabled all 3 and everything is working perfectly.
Sorry for the false alarm!
Would you still like me to confirm the code you send me above to help improve your extension?
There we go, you solved the problem !BrandonBerner wrote:Wow I feel stupid once again.
So I was disabling the wrong extension name. Yours was named "cgl_2031.xml" and I had 2 other extensions for adding image to account. I disabled those 2 and left cgl_2031.xml enabled.
I have now disabled all 3 and everything is working perfectly.
Sorry for the false alarm!
Would you still like me to confirm the code you send me above to help improve your extension?

Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: Google [Bot] and 27 guests