Blank page on any VirtueMart related pages when OPC is on

Please post your issues and questions about One Page Checkout for Virtuemart 2 to this forum.

Blank page on any VirtueMart related pages when OPC is on

Postby casperhofstede@.....com » Fri Apr 25, 2014 4:11 pm

After solving my previous problem (not working menu link) one evening and checking the website, all was fine.

For some reason, the next morning, any virtuemart related pages show a white screen. Setting the system, server, debugging to development/maximum still leaves a blank page. Switching off OPC everything works again.

Any ideas where to start troubleshooting this one? I have tried to switch on the " Load onepage.js with php" option because it mentions something about "after updating". This doesn't seem to do anything for my problem.

Version information:

Joomla: 2.5.19
VM 2.6.0
OPC: 2.0.236
casperhofstede@.....com
 
Posts: 16
Joined: Wed Dec 25, 2013 12:46 pm

Re: Blank page on any VirtueMart related pages when OPC is on

Postby admin » Sat Apr 26, 2014 1:34 pm

hello, this one seems like a memory issue within opc, or a php version incompatiblity. if you can, pls contact us at email or our live chat and we can investigate the issue directly on your site. sometimes a 3rd party extension uses the same overrides as opc which may cause blank screens. you also may want to try to disable the opc tracking plugin for a test.

best regards,
stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: Blank page on any VirtueMart related pages when OPC is on

Postby casperhofstede@.....com » Mon May 05, 2014 8:20 pm

Problem resolved. Thank you for the assistance.

Next time I will also check the php error log fast.
casperhofstede@.....com
 
Posts: 16
Joined: Wed Dec 25, 2013 12:46 pm

Re: Blank page on any VirtueMart related pages when OPC is on

Postby admin » Mon May 05, 2014 9:30 pm

hello, you are welcome, no problem for contacting us again.
best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: Blank page on any VirtueMart related pages when OPC is on

Postby admin » Tue May 06, 2014 12:44 pm

hello, i would like to post a few ideas on why some pages may give random fatal errors.

we came around a few extensions, templates or plugins which were loading it's license validation scripts once upon a certain time, seemingly randomly. sometimes when the 3rd parties server is down, connection is not working, DNS is not set up within the php process, or other reasons, some extensions can give various errors.

Recently we came around this issue on an expired Virtuemart Email Manager lincense which did so many checks for it's license valiadation, that the site returned in 25% of impressions a blank screen / fatal error.

Also icetheme templates are known to use a similar license check towards their remote servers and once their server is not reachible, the site will be down. One nice day we found that about 5 of our client sites were down due to this problem even though we always purchase developer unlimited subscriptions at such theme companies. Icetheme denied using this sort of logic, but after decrypting theme's helper files we had discovered this remote calls.

Also it seems that one of such extensions had passed the checks at JED (http://extensions.joomla.org/extensions ... nnels/3659) which also includes a remote calls to remote servers which can make your site slow or broken during connection problems.

Image

It's very complicated to troubleshoot this sort of issues, but generally this is what can be done depending on your skills of linux administration:
1. when you set up to run php-fpm in chroot but you don't link the appropriate libraries for DNS checks and thus localhost DNS resolver is not available you can make your php to emulate problems with the connection. This however can lead to other problems such as email malfunctioning or localhost name resolution. To make joomla work without DNS you will probably need to link (with bind command) mysql socket to your fpm installation and make the mysql connnection address empty (so the socket is used instead of tcp/ip). Secondly you still may need to copy all the timezone files needed for the php to run (/usr/share/zoneinfo).

2. Second approach is to run dnstop command linked to an interface where the site is being run (php-fpm usually runs on loopback interface lo ). You may want to create a new loopback interfece for the investigated site and log dns queries from this interface with bind if needed.

The last step is to search every single php file on your site to see which one loads this external site. Many times the files are encrypted with base64 or other encoding and it may be complicated to find them.

In matters to OPC
- OPC does not load external URLs unless it's the shipping plugin which requires it (overrided zasilkovna).
- OPC backend does version checks over javascripts in a non-blocking way so even our servers would be down, your site would still work without delayes

In case you get blank screens on VM pages and disabling OPC fixes it:

OPC on every singe page loads (if enabled)
- it's affiliate tracking plugin which checks order status changes of the order linked with the cookie hash at the browser (if enabled and if the cookie is created)
- OPC sets shopper groups on system level if enabled (per joomla language, per geo ip, etc...)

If you find that disabling OPC system plugin, or OPC affiliate tracking plugin fixes your issue, let us know and we will investigate immidiately.


Best Regards,
Stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: Blank page on any VirtueMart related pages when OPC is on

Postby pioneer6869 » Thu Aug 28, 2014 8:32 pm

We now have this issue. :(

We have been trying to find the cure here but we are hitting a wall. Of course we absolutly need to run OPC. If we can get any help at all it would be great!

We are still trying to fix all bugs before launch. This is a big one.

http://www.wholesaledrugtesting.com

Thanks so much,
Management
pioneer6869
 
Posts: 2
Joined: Thu Aug 28, 2014 8:30 pm

Re: Blank page on any VirtueMart related pages when OPC is on

Postby admin » Fri Aug 29, 2014 12:20 am

hello alex,
pls try to get the actual error from the blank page by:

1. enable virtuemart's error reporting as shown here:
http://snag.gy/Uk3q7.jpg
2. (probably optional) enable joomla php error reporting here:
http://snag.gy/UiQBq.jpg

then make opc to replicate the blank screen and you should see the actual error instead.

within the latest VM versions there are these known issues (blank screens):
- when using a 3rd party pdf system, you may need to disable virtuemart's pdf system per this guide:
viewtopic.php?f=5&t=933&p=3236&hilit=blank
- when using authorize.net plugin on vm2.6.x but not the very latest:
viewtopic.php?f=5&t=915&p=3122&hilit=+blank+screen+authorize

let me know what the error says and i can provide a fix in turn.

best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 2