Fatal Error

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

Fatal Error

Postby 4FootyFans » Sat Dec 06, 2014 6:51 pm

JM 2.5.27
VM 2.0.26d

OPC 2.0.274

Error notification received by email:

Your site caused a blank screen upon a visit of this URL:
https://www.4footyfans.com:443/index.php?option=com_virtuemart&nosef=1&view=cart&task=addJS&format=json&lang=en

Error message data:
64 require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'JPATH_OPC/helpers/loader.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in file: ...../components/com_onepage/overrides/virtuemart.cart.view.html.php line: 77

Please advise cause and remedy.

Thanks
4FootyFans
 
Posts: 9
Joined: Mon Apr 28, 2014 4:52 pm

Re: Fatal Error

Postby admin » Mon Dec 08, 2014 5:41 pm

hello, opc must not load of the url you gave us. the URL is used for add-to-cart functionality.

are you using any (custom) "override system" in your joomla? the OPC's view file

(\components\com_onepage\overrides\virtuemart.cart.view.html.php)

is loaded strictly ONLY when a certain set of view/layout/option is used. the URL you gave here, does not trigger the opc.php plugin that loads this override. so the question is -> how could an opc's view override load without the opc plugin?

i tested your URL on our system for both vm2+vm3 but it just does not hit any of the OPC's files

http://vm2onj25.rupostel.com/index.php? ... 8052398434

please check which "opc" plugins are installed within your joomla's plugins.

normally it should look like this:
Image

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

Re: Fatal Error

Postby 4FootyFans » Mon Dec 08, 2014 6:04 pm

Hello

Here are the installed opc plugins.

Kindly advise if correct.

Thanks

2014-12-08_155932.jpg
2014-12-08_155932.jpg (48.99 KiB) Viewed 11824 times
4FootyFans
 
Posts: 9
Joined: Mon Apr 28, 2014 4:52 pm

Re: Fatal Error

Postby 4FootyFans » Mon Dec 08, 2014 11:39 pm

The message in screenshot is new and appears every time. The theme does not matter, it still appears.

2014-12-08_213406.jpg
2014-12-08_213406.jpg (28.7 KiB) Viewed 11823 times
4FootyFans
 
Posts: 9
Joined: Mon Apr 28, 2014 4:52 pm

Re: Fatal Error

Postby admin » Tue Dec 09, 2014 1:26 pm

hello, can you please run a full text server search with opc's utilities section for "Payment Method Id is" as shown here:

(mine gives no results for this exact match)

Image

let me know the results by email or here.

for the add-to-cart problem -> do you know from which url on your site this could give the fatal error? i checked the url on your site and also did a few tests on our site, but i could not locate the problem. i can further replace the constant with a real path, but still, this should not get loaded.

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


Return to One Page Checkout for Virtuemart 2