Menu Content


> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

fatal error line 155
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: fatal error line 155

fatal error line 155 13 years, 4 months ago #21008


I am getting the following error when someone goes to check out:

Fatal error: Class \'vm_ps_checkout\' not found in /home1/smashpad/public_html/plugins/system/gacode.php on line 155

Here is the line in gacode.php:

$chkout = new vm_ps_checkout();

I have my UA code entered as UA-681xxx-1 (real numbers in place of x's, but this is the format and I used hyphens in case I wasn't supposed to let me know).

This is the code I put in the google adwords conversion code which I cut and pasted from the ad words account:

<!-- Google Code for Virtuemart Sale Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 1021923544;
var google_conversion_language = "ar";
var google_conversion_format = "3";
var google_conversion_color = "ffffff";
var google_conversion_label = "5z2wCLSDhAIQ2KGlxxx"; (again replaced x's with actual numbers)
var google_conversion_value = 0;
if (22.00) {
google_conversion_value = 22.00;
/* ]]> */
<script type="text/javascript" src="">
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src=";script=0"/>
</div> (again replaced the x's with the real numbers)

Any help would be appreciated.

Re: fatal error line 155 13 years, 3 months ago #21141

Hi there!

The same with me!
After enabling ARTIO Google Analytics Trackong Plugin, my sales stopped. Just seen some registration successful mails, but no orders. It was strange a bit, but it was weekend, maybe good weather...
Then after three days a customer claimed me by mail. - Thanks for such customers! - He wrote, the he can not complete his purchase, because he sees some error message.
I made a trial purchase: and seen the same error message you wrote.
I put the error message in google and your post was the first in the list (good SEO)
Thank you for your post. I spent an hour before now searching what could happened with my webstore. Now simply disabled ARTIO plugin, and everything is fine again.
(But have to find an other plugin for tracking)

Re: fatal error line 155 13 years, 3 months ago #21142

Enyway ARTIO Crew! If you could work out somehow how to fix this, i would be ready to use your plugin again. Maybe putting more stars on it on Extensions Directory.

Re: fatal error line 155 13 years, 3 months ago #21145

good luck - didn't seem to get any interest from Artio on a response to my post. I know it is a non commercial plugin, but you would think there would be something from them...

anyway, as a bit of advice, you can do a workaround with google adwords by putting their tracking code into the one relevant php file they recommend - go to adwords or google, virtuemart adwords conversion code.

i'm nicely tracking conversions via adwords, but do not yet have any tracking for virtuemart on google analytics. If you find something else that works well lmk.

Re: fatal error line 155 13 years, 3 months ago #21155

Then i have to go hacking the php with the "purchase successful" page. Do you know which php generates it?
Anyway the error message was put earlier, before confirming purchase, maybe the plugin should have put the code to the page after.

Re: fatal error line 155 13 years, 3 months ago #21164

look around the virtuemart formus under google tracking conversion code and you should find the solution there. It was something like checkout.thankyou.php but I can't remember - did it a while ago and know it works. I did a quick search and found this alternative approach from some guy who does SEO but haven't tested it:

I am using the Google analytics tracking code in virtuemart.
You can put it Easy on your site.
1. Log in on
2. In the dropdown menu Components, choose VirtueMart
3. In the left menu, click on Shop
4. Click on List of payment methods
5. You will see payment methods on the right, click on preffered payment method (for example credit card)
6. Click On VirtueMart Settings Tab
7. Down, you will see there Additional payment data
8. Put the tracking code there
9. Save it.

Let me know if this works for you as it is a cleaner option than hacking the php files.
  • Page:
  • 1
  • 2
User Login Empty