Post by straightlight » Thu Oct 19, 2017 9:14 pm

But, yet, you still haven't posted what is the actual content of the line 541.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by kelemvor » Thu Oct 19, 2017 9:40 pm

Line 541 of what file? The vq2-admin_controller_catalog_product.php file listed in the error is the one I linked in my previous post. However it's all double spaced so there's nothing on line 541.

If there's a different file, let me know and I'll post it right away.

Thanks for all the help so far.

Active Member

Posts

Joined
Fri Oct 12, 2012 6:58 am

Post by straightlight » Thu Oct 19, 2017 9:56 pm

Caused by an index 0 which doesn't need to be called from the previous publisher. I have now modified the XML file with a more compliant code when loading the stores.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by kelemvor » Thu Oct 19, 2017 10:07 pm

Tried the latest one after clearing with OC caches and the VQM cache.
No errors in VQModManager's log but the Products page is now completely blank. No errors or anything.

Active Member

Posts

Joined
Fri Oct 12, 2012 6:58 am

Post by straightlight » Thu Oct 19, 2017 10:18 pm

That is because you seem to be relying only on the VQMod manager rather than the admin error logs as well. A blank page means there's an error message on the backend which should be outputted in those logs. What do you notice in the logs?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by kelemvor » Thu Oct 19, 2017 10:21 pm

When I go to System|Maintenance|Error Logs there is nothing there. The only entries were the ones from last night about the line 541 stuff. I cleared those logs and navigated to the main dashboard and then to products and I still get a blank screen. I went back to the System Error Logs and it's blank.

Active Member

Posts

Joined
Fri Oct 12, 2012 6:58 am

Post by straightlight » Thu Oct 19, 2017 10:27 pm

I would need more information than a blank page in order to assist. Can you post your vq2 product file as an attachment? I will take a look at it.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by kelemvor » Thu Oct 19, 2017 10:32 pm

Is that the one from the VQMod Cache folder? If so, here it is.
Thanks

Attachments


Active Member

Posts

Joined
Fri Oct 12, 2012 6:58 am

Post by straightlight » Thu Oct 19, 2017 10:33 pm

In the mean time, I have removed an operation from the XML since in OC v3.x releases, that portion is already implemented in the core. XML updated.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Thu Oct 19, 2017 10:36 pm

By looking at your vq2 product file, before my previous change, the design/layout line was mentioned in the XML. Although, when looking at your vq2 product file, the addition was not made which means the issue is not with the extension.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by kelemvor » Thu Oct 19, 2017 10:53 pm

I used VQMM and turned off the storefilter.xml file and everything started working. I updated the XML file from your OP and again get the blank page.

The only thing that I changed was that I did modify the admin/view/template/catalog/product_form.twig file a couple days ago. I didn't delete anything or change the code, I just rearranged the order of some of the fields to put ones I use all the time at the top. Might that be causing any issues ?

Those changes were made before we started trying to get the storefilter.xml stuff working. I haven't changed anything since then.

I'll go reupload the original file and see if anything changes.

Thanks.

Active Member

Posts

Joined
Fri Oct 12, 2012 6:58 am

Post by kelemvor » Thu Oct 19, 2017 10:57 pm

No change. Still get the blank page with the original twig file.

Active Member

Posts

Joined
Fri Oct 12, 2012 6:58 am

Post by straightlight » Thu Oct 19, 2017 11:01 pm

The only thing that I changed was that I did modify the admin/view/template/catalog/product_form.twig file a couple days ago. I didn't delete anything or change the code, I just rearranged the order of some of the fields to put ones I use all the time at the top. Might that be causing any issues ?
Make a backup of that file and upload the original one, clear all caches.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by kelemvor » Thu Oct 19, 2017 11:40 pm

Did the cache clearing and no change. Works if the XML is off, doesn't if the XML is on.Do you know what you changed between the versions that started throwing the errors on the products page? I wasn't keeping a list of versions.

Active Member

Posts

Joined
Fri Oct 12, 2012 6:58 am

Post by straightlight » Thu Oct 19, 2017 11:52 pm

XML updated.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by kelemvor » Fri Oct 20, 2017 12:20 am

Hey! Now we're making progress!

Products show up and I see the "Store" item in the bar. The filtering works well too.

Only problem is the layout is kind of wonky. See the screenshot. :)

Attachments

opencart store filter 1.jpg

opencart store filter 1.jpg (91.24 KiB) Viewed 1396 times


Active Member

Posts

Joined
Fri Oct 12, 2012 6:58 am

Post by straightlight » Fri Oct 20, 2017 1:06 am

At this point, the code works. As for the layout, just play a bit with it and you should be able to use this extension just fine.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by kelemvor » Fri Oct 20, 2017 1:27 am

Are there things in the XML that affect the layout that I need to tweak? It's a pretty big mod and I haven't looked through the whole thing yet.

Well, assuming the layout part is all in the TWIG file section, I'll see what I can find.

Thanks for all the help.

Active Member

Posts

Joined
Fri Oct 12, 2012 6:58 am

Post by kelemvor » Fri Oct 20, 2017 1:57 am

Well, appears it's something to do with the section that starts with

Code: Select all

<div class="col-md-9 col-md-pull-3 col-sm-12">
Still looking.

OK, If I turn off the "right 25%" from the .col-md-pull-3 area, it shifts over to the normal spot... Getting closer.

Active Member

Posts

Joined
Fri Oct 12, 2012 6:58 am

Post by kelemvor » Fri Oct 20, 2017 2:12 am

Well, If I use the F12 debugging in Firefox, and uncheck the right 25% item I listed above, everything shifts over and it looks normal. However, if I go into the bootstrap.css file and delete that line, or change it to 0%, it's not seeming to have any effect. It still shows the 25% setting in Firefox.
I cleared Opencart's cache, VQMod's cache, and my browser's cache and it's still pulling the 25% setting from somewhere.

Any ideas on how I can get rid of the setting? :)

Active Member

Posts

Joined
Fri Oct 12, 2012 6:58 am
Who is online

Users browsing this forum: JessiesBoutique and 519 guests