• Home
  • Get help
  • Ask a question
Last post 4 hours 24 min ago
Posts last week 191
Average response time last week 1 hour 50 min
All time posts 68187
All time tickets 10530
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#958 – Virtuemart error

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Saturday, 05 September 2015 00:51 UTC
[email protected]
 Just recently our virtumart product pages just go white when clicking on them

The main store loads fine and the categories load but once you click on an individual product the url lists at top but page is white

Works fine with sh404 bypassed

Seems like something possibly related to newest sh404 update that happened thru joomla gui

Everything was working and has been working fine - but i do remember a listed sh404 update in the joomla gui which i went ahead and installed - i always thought it was best to do the update if it auto listed in the extensions update section

Any info on this?

Here are the links

http://www.xxxx.com/patchwerk-e-store (works and takes you to store)

http://www.xxxx.com/27/1/patchwerk-swag/official-i-do-music-snapback-baseball-cap-detail (if i click on the hat product on the above page - lists this url but page is white)


Thanks
Saturday, 05 September 2015 06:54 UTC
wb_weeblr
Hi

Nope, I'm not aware of anything that could be related to that. Such a huge problem would reuire an immediate bug fix release if it happened!

I'd suggest you display errors on your site. A totally white page is normally the sign of a PHP error happening. This should give you clue into the actual problem. To do that:

- go to Joomla configuration, under the "Server" tab
- Disable Gzip if it's enabled
- Set Error reporting to Maximum
- if you use the Joomla "Cache" system plugin, disable it

Clear your browser cache and visit a faulty page.

Most likely, an error message will be displayed, giving you some information about the problem.

Rgds
 
Tuesday, 08 September 2015 01:14 UTC
[email protected]
Did your suggestion - here is the error message - anything i can do?

Fatal error: Access to undeclared static property: VmConfig::$vmlang in /home1/patchwer/public_html/components/com_sh404sef/meta_ext/com_virtuemart.php on line 180

Same error on several of the product pages i tried.
Tuesday, 08 September 2015 07:56 UTC
wb_weeblr
Hi

What Virtuemart version are you using? looks like it's VM that was updated...or not!

Rgds
 
Tuesday, 08 September 2015 12:34 UTC
[email protected]
Virtumart 2.0.12f

Joomla 2.5.28

Everything shows up-to-date in control panel of Joomla
Tuesday, 08 September 2015 12:56 UTC
wb_weeblr
Hi

Virtuemart 2.0.12 is extremely old and outdated, this page shows it's from October 22, 2012.
The current version in that branch is 2.6.17, you have missed like 15 or 20 updates to Virtuemart.

Needless to say, you should upgrade ASAP, your site suffers from multiple security vulnerabilities that have been fixed over the years and is basically wide open to hackers.

To fix the problem right way, you can do the following:

1 - open the file /components/com_sh404sef/metat_ext/com_virtuemart.php
2 - Go to line 180 (in current version) and comment out that line:
from:
// product data
			$productRecord = ShlDbHelper::selectObject('#__virtuemart_products_' . VmConfig::$vmlang, array('product_name', 'customtitle'), array('virtuemart_product_id' => $virtuemart_product_id));

to
// product data
//$productRecord = ShlDbHelper::selectObject('#__virtuemart_products_' . VmConfig::$vmlang, array('product_name', 'customtitle'), array('virtuemart_product_id' => $virtuemart_product_id));


For a more future proof fix, can you tell me what the database table name for your virtuemart products? in more recent versions of VM, they are called xxx_virtuemart_products_xx, where xx represent a language code.

Rgds
 
Wednesday, 09 September 2015 18:39 UTC
[email protected]
The comment line worked - we will just do that for now. We have some issues upgrading VM due to site build - so we will address that as we reconfiqure the site.

Thanks for the help
Wednesday, 09 September 2015 18:40 UTC
wb_weeblr
Hi

ok. Can you have a look at this:?
For a more future proof fix, can you tell me what the database table name for your virtuemart products? in more recent versions of VM, they are called xxx_virtuemart_products_xx, where xx represent a language code.


thanks and regards

 
Wednesday, 09 September 2015 18:46 UTC
[email protected]
where would i find that info?

I had a developer comment out that line you mentioned so i really only now what the backend gui shows me - I'm not educated in much more than that

Wednesday, 09 September 2015 18:47 UTC
wb_weeblr

ah ok, never mind. You'd need to lookup the name of the database table that holds the VM products, but that requires to connect to the mysql server with phpmyadmin or your server control panel.

Closing this ticket now, feel free to open a new one as needed. If you do so, please mention this ticket number in the new one.


Rgds
 
Wednesday, 09 September 2015 19:00 UTC
[email protected]
If you hold it opon for another day or so - i will ask my developer to get the info and shoot it to you
Wednesday, 09 September 2015 19:06 UTC
wb_weeblr
Sure, no problem. I'll leave this ticket open, just get back to me!

Thanks
 
Wednesday, 09 September 2015 19:52 UTC
[email protected]
He sent me this - is this what you need?

patch_virtuemart_products_en_gb

Thursday, 10 September 2015 07:59 UTC
wb_weeblr
Hi

Not sure. The "patch" in front of the name is a bit strange. I think the best way for me is probably to download the old version and install on a test site.

Don't worry about that any more ;)

I'll leave that ticket open for now, as a reminder.

Rgds
 
Friday, 25 September 2015 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.