News:

Support the VirtueMart project and become a member

Main Menu

Unsure if this is a Bug

Started by Uriel, July 15, 2013, 17:03:16 PM

Previous topic - Next topic

Uriel

Hi Milbo,

will this solve my initial issue?

The Errors Displaying, Stocakble Variants not showing etc ?

What is : T_PAAMAYIM_NEKUDOTAYIM ?
Managing Member of Hosting-Webdesign http://www.hosting-webdesign.co.za

jenkinhill

It is an old version PHP error using a Hebrew name where it cannot handle something in the PHP code - the code VM was written and tested using PHP5.3+ and this issue did not appear until some users updated their VM version while on PHP5.2 servers. A fix has been included for that in VM2.0.22a so that it is backwards compatible with PHP5.2
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Uriel

#17
Hi Jenkhill,

Thanks again for your reply...
Is there a possibility that this could have broken the rest of my site at all ?

After trying this the rest of the site is also displaying Blank Pages like the Shop page... www.mmawarehouse.co.za

Managing Member of Hosting-Webdesign http://www.hosting-webdesign.co.za

jenkinhill

Not likely that this would break anything else. Blank pages is usually the result of a 500 error. See http://forum.virtuemart.net/index.php?topic=117042.0

You can just install the 2.0.22a component, com_virtuemart.2.0.22a.zip, the  aio component will not need updating too as it is the same as 2.0.22

If in doubt all files are here: http://dev.virtuemart.net/projects/virtuemart/files
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

franzpeter

Uriel, are you shure that Virtuemart is the problem with the 'blank pages'? If I click on the shop and take a look into the source code, it is a visual problem. Inside the sourcecode it seems to produce something. I see some javascripts and something called 'megamenu'. Can you try to switch those additional things off to see if you get the page visible. Could it be a css issue with z-index, so everything is covered by black background?

Uriel

#20
Thanks Franzpeter,

That was a Template Issue.

Ok Errors are gone (thank you very much to both Jenkhill & Milbo) - but Stockable Variants are still not displaying price Change when XL is selected

Please have a look at : http://www.mmawarehouse.co.za/index.php/component/virtuemart/hitman/urban-warfare-black-detail?Itemid=0

When I add a Product to Cart - it does not get added...

Would it be an option to NOT use the Hawkstore Template Only on the Virtuemart Part? if yes how would this be done in VM 2.0 ?
Managing Member of Hosting-Webdesign http://www.hosting-webdesign.co.za

franzpeter

Uriel, there is a javascript conflict in case of add to cart. Therefore it seems to not work. It does not matter which size I select (l,m,s,xl or xx). I do not know that template, but I use for example Virtueplanet Supermart. With that template it is necessary to switch off for example the following things in the VM configuration (in backend) Configuration -> Templates -> ... I did switch off: Using the VirtueMart CSS, Using the VirtueMart jQuery, Use external google jQuery library because the template itself has those scripts already built in.
Another thing would be that there is something misconfigured in case of shopper groups. For example I am not logged in inside your website. So I am anonymous user. Maybe an anomymous user cannot add something into cart. If you login yourself with admin privileges into the frontend, can you add something into cart. That would be another issue.
Sorry for those try and error methods, but maybe it helps.

Uriel

#22
Hi Franzpeter,

Im afraid in the Template its not possible to switch those things off...

I have logged in and same issues happen - dont see price change when I select XL and cant Add to Cart...

This Client wants this template so I am not sure what to do...

Is there no way of using this Template but installing another Theme for VM like before ?

When I swap to the Normal Beez template everything works fine
Managing Member of Hosting-Webdesign http://www.hosting-webdesign.co.za

franzpeter

Uriel, do you mean it is not possible inside the template to try to switch off. In the virtuemart configuration tab for templates it is possible to switch off, it has nothing to do with the template settings of the template itself. It is just in the VM configuration to exclude Javascript issues which may occur between the template and the VM scripts. So for example if the template itself has the necessary scripts included, you load double scripts, which may produce the described problem. By default, I do not know the used template, it should be possible to rename the overrides. Go to your templates folder -> your template name -> html -> and try to locate the com_virtuemart folder. You may rename it to bak_virtuemart. It provokes that VM uses the default VM template, because it does not find the overrides from the template makers. You may try know in the shop frontend about the add to cart functions. If that does not help, so that the add to cart is still not working rename the folder back to com_virtuemart and try to rename the folder mod_virtuemart_cart. Try again in the frontend.
About the other question to use just another virtuemart theme. That depends on the template. I am pretty shure that your template uses a framework. It may be very tricky to get a theme work with another framework. I would first try out with the described way above to rename the overrides for com_virtuemart, the find out what is going wrong. If even the default VM theme, which is loaded by renaming the com_virtuemart inside the template folder, does not work, the template company should think about an update.

Uriel

Quote from: franzpeter on July 17, 2013, 10:53:07 AM
Uriel, do you mean it is not possible inside the template to try to switch off. In the virtuemart configuration tab for templates it is possible to switch off, it has nothing to do with the template settings of the template itself. It is just in the VM configuration to exclude Javascript issues which may occur between the template and the VM scripts. So for example if the template itself has the necessary scripts included, you load double scripts, which may produce the described problem. By default, I do not know the used template, it should be possible to rename the overrides. Go to your templates folder -> your template name -> html -> and try to locate the com_virtuemart folder. You may rename it to bak_virtuemart. It provokes that VM uses the default VM template, because it does not find the overrides from the template makers. You may try know in the shop frontend about the add to cart functions. If that does not help, so that the add to cart is still not working rename the folder back to com_virtuemart and try to rename the folder mod_virtuemart_cart. Try again in the frontend.
About the other question to use just another virtuemart theme. That depends on the template. I am pretty shure that your template uses a framework. It may be very tricky to get a theme work with another framework. I would first try out with the described way above to rename the overrides for com_virtuemart, the find out what is going wrong. If even the default VM theme, which is loaded by renaming the com_virtuemart inside the template folder, does not work, the template company should think about an update.

Hi Franzpeter,

We are half way there... Your suggestions with doing the Settings in Virtuemart helped with changing the prices when I select a more expensive size.
Renaming the Directories did not help and the problem I am still left with is the Add to Cart Function not working...

I am starting to think the Only other option is to try another Template  :-[

Managing Member of Hosting-Webdesign http://www.hosting-webdesign.co.za

franzpeter

Uriel, what happens if you switch off 'Display modal popup upon 'Add to cart''? It is in the configuration -> Checkout in the backend administration of VM. Does it show the cart with the added products or does the cart on the cart page remains empty?

Uriel

It remains Empty - I tried your suggestion
Managing Member of Hosting-Webdesign http://www.hosting-webdesign.co.za

franzpeter

Uriel, can you send me the backend login to at my private message mail?

Uriel

I have done so Franzpeter.
thank you for being prepared to have a look - let me know if you get my message?
Managing Member of Hosting-Webdesign http://www.hosting-webdesign.co.za

franzpeter

Uriel, did receive the message.