[Resolved] Problem: Blank page after Virtuemart checkout process


  • Default avatar
    goretex34    
     11 years ago
    0

    I have a problem: I get a BLANK PAGE after last step at the virtuemart checkout process (4 steps)
    It seems to be a 500 error, but there is no error_log, no debug messages, no html source, nothing.


    I have 3 payment methods:
    1.Paypal (PP_API - - Payment class name=ps_paypal_api)
    2.Pay in 10 months (HTML-Form based (e.g. PayPal) - Payment class name=ps_payment)
    3.Bank Transfer (HTML-Form based (e.g. PayPal) - Payment class name=ps_payment)

    The first one works OK. You get redirected to Paypal website... you confirm....
    and gets you back to the "Thank you for your order" page.

    The problem is with the other two.
    For example, Trying with bank transfer (last option), it should have to display you a
    confirmation page saying something like "remember to transfer de qty to nnnn-0123-123456789 account number".
    Since I installed AWO Coupons pro, it doesn't.

    The site: www.solodescanso.com

    MORE INFO:
    the order is recorded. I can see it in the backoffice (administration- orders - list orders)

    The user can also see it done, but the cart keeps containing the order.
    It wasn't deleted automatically in the last step of the checkout process
    Also doesn't receive the order confirmation email.
    (There seems to be some error at the last stage of "ps_checkout.php" functions, isn't it?)


    I had AwoCoupon Pro 1.5.1 installed and upgraded to AwoCoupon Pro 1.5.2 just in case.

    My installation version:
    Joomla 1.5.21
    Virtuemart 1.1.5
    AwoCoupon Pro 1.5.2


    P.S. I installed locally (WAMP) a Akeeba Backup made previously to the AWO Coupon installation and it works locally.
    I have a problem

  • Your avatar
    seyi    
     11 years ago
    0

    Hello,

    I tried going through the order process, I got to the registration form, entered my details, and received this:

    -------------------------------------------------
    Server error
    The website encountered an error while retrieving http://www.solodescanso.com/index.php. It may be down for maintenance or configured incorrectly.
    Here are some suggestions:
    Reload this web page later.
    HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
    -------------------------------------------------

    There is a php error, you should look at the error logs to see exactly what it is, not sure if it is related or not. Does the blank screen happen only with a coupon code used or also without? That also indicates there is an error. I know you said the error_log is blank but can you double check?

  • Default avatar
    goretex34    
     11 years ago
    0

    Hi,
    ok, I will also try the register process.
    Maybe I can find the PHP problem there.

    **** EDIT ********
    The last CORRECTLY registered user in the shop is April 25th.
    Since then, there have been 2 users created BADLY: May10th and yours May15th.
    (BADLY means that the Joomla user has been created, but not the virtuemart "shopper" user)

    More or less is when I applied a "Permanent license" (AWO Coupons PRO) to my website.
    Maybe does some changes to the database?

    Remember I had a collation problem between Virtuemart database fields "utf8_general_ci" and some of your Awo_coupons fields "utf8_unicode_ci"

    ***** EDIT END *****


    I've seen that your user "seyi" is registered in my Joomla system. But, you appear in the Virtuemart users list as a user,
    but without the "Shopper details".
    I've made the test by myself and happened the same.
    There's a php-SQL database inserting problem, probably the same as SQL inserting the order when is confirmed in the 4th last step of the checkout process.
    ANY IDEA?


    The error_log is not empty, there are only a few warnings and one error (Apr 4th),
    but nothing to do with the actual problem (I think)

    [04-Apr-2013 11:49:45] PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/payment/ps_paypal_api.php on line 663
    [04-Apr-2013 11:49:45] PHP Fatal error:  Call to a member function url() on a non-object in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/payment/ps_paypal_api.php on line 679
    [06-Apr-2013 08:43:28] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [11-Apr-2013 15:48:52] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [12-Apr-2013 14:48:09] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [13-Apr-2013 18:19:53] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [14-Apr-2013 14:48:23] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [15-Apr-2013 12:59:49] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [16-Apr-2013 12:17:21] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [17-Apr-2013 12:28:29] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [18-Apr-2013 15:06:57] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [19-Apr-2013 15:20:59] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [20-Apr-2013 18:32:18] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [21-Apr-2013 21:22:57] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [22-Apr-2013 22:56:10] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [23-Apr-2013 22:54:44] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [24-Apr-2013 19:46:45] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [25-Apr-2013 20:23:16] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [26-Apr-2013 23:09:25] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [27-Apr-2013 21:05:04] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [28-Apr-2013 18:26:27] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [29-Apr-2013 19:24:38] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [30-Apr-2013 20:04:09] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [01-May-2013 17:43:14] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [02-May-2013 20:43:29] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [07-May-2013 13:38:21] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
    [12-May-2013 13:43:10] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/solodesc/public_html/components/com_xmap/xmap.xml.php:160) in /home/solodesc/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68
  • Your avatar
    seyi    
     11 years ago
    0

    Hello,

    Go to the installation check page and uninstall everything. Or better yet, take a backup copy of those files, before AwoCoupon as installed and overwrite them. Then try the registration again. AwoCoupon has no triggers on registration, so it does not really make sense to me that the installation of AwoCoupon is causing registration not to work. By reverting those files, AwoCoupon will not affect Virtuemart in any way.
  • Default avatar
    goretex34    
     11 years ago
    0

    Hi again,
    i've just tried what you said:
    1. Backup modified 7 files by Awocoupon to my computer
    2. Restore the 7 files as it were before installing AWOcoupon
    3. OCCURRED THE SAME ERROR: Blank Page when trying to register. (blank page Firefox, error 500 with IE)

    Files restored/backed-up:
    - /administrator/components/com_virtuemart/classes/ps_checkout.php
    - /administrator/components/com_virtuemart/classes/ps_coupon.php
    - /administrator/components/com_virtuemart/classes/ps_order.php
    - /administrator/components/com_virtuemart/html/basket.php
    - /administrator/components/com_virtuemart/html/checkout.index.php
    - /administrator/components/com_virtuemart/html/ro_basket.php
    - /components/com_virtuemart/themes/[template_name]/templates/common/couponField.tpl.php

    4. I've restored everything.
    =========================================

    Any other idea?
    Does AWO coupon ONLY modify these 7 files?
    I suspect with something to do with the database.

    Please, send me some light, customers cannot buy online!

    Yours,
    Christian
  • Your avatar
    seyi    
     11 years ago
    0

    Hello,

    Yes, that is it, nothing else it modifies. It likely is a database error. Go to global administration and turn on debug mode, then try the registration again, you should see the error.

    I suspect it is a virtuemart userfield problem, where it is trying to add an item to the order_userinfo table but the column is missing.

  • Default avatar
    goretex34    
     11 years ago
    0

    I've turned on Debug Mode ON at Virtuemart's Core Settings (Admin->Virtuemart->Configuration->Core Settings-> DEBUG? = TRUE)

    & "Debug System" on the Global Joomla config.(Admin->Site->Global Configuration->System->Debug Settings)

    Nothing appears, only a blank page (error 500)

    On the rest of the pages, of course, lots of Virtuemart debug codes & Joomla SQL queries debug code at the bottom.

    I don't know what else to do to debug & see what it happens internaly.

    Please Help

    Christian
  • Your avatar
    seyi    
     11 years ago
    0

    Hi,

    If you send me temporary admin and ftp access through private message, I can take a look.
  • Default avatar
    goretex34    
     11 years ago
    0

    IT'S RESOLVED.

    IT WORKS!

    As I was desesperated finding out who & why was it failing, I contacted with my host provider (hostgator)
    Their answers:

    First:
    "[...[
    Upon running a malware scan, we confirmed the existence of malicious content. We have forwarded this ticket on to our security team for further investigation.
    [...]

    And after a while:
    "[...]
    Upon an investigation of your account, we have found that it was compromised and malicious files were uploaded. It appears that your domain has a plugin that contains the Joomla Context Editor/JCE which is being exploited
    [...]
    "

    Sorry for all the time wasted, hope it wasn't the AWO Coupon PRO license update the cause of the problem,
    as all the problem happened when this was done.
    Suppose it was mere coincidence.

    Thanks again

    Yours,
    Christian
  • Your avatar
    seyi    
     11 years ago
    0

    Glad to hear it is fixed. I have seen that exact response from hostgator on sites that do not have AwoCoupon, so I think it is safe to say you can believe Hostgator and update JCE.