Blank page on /cart/confirm when confirming order?

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Oct 12, 2012 3:02 pm
Reply with quote
Report this post
When I click at "Confirm order" I get to a blank page http://www.mysite.com/virtuemart/cart/confirm. When I look in the html code at that page it looks like this:
Code: Select all

<html>
    <head>
   <style type="text/css">
            body, td, span, p, th {  }
       table.html-email {margin:10px auto;background:#fff;border:solid #dad8d8 1px;}
       .html-email tr{border-bottom : 1px solid #eee;}
       span.grey {color:#666;}
       span.date {color:#666; }
       a.default:link, a.default:hover, a.default:visited {color:#666;line-height:25px;background: #f2f2f2;margin: 10px ;padding: 3px 8px 1px 8px;border: solid #CAC9C9 1px;border-radius: 4px;-webkit-border-radius: 4px;-moz-border-radius: 4px;text-shadow: 1px 1px 1px #f2f2f2;font-size: 12px;background-position: 0px 0px;display: inline-block;text-decoration: none;}
       a.default:hover {color:#888;background: #f8f8f8;}
       .cart-summary{ }
       .html-email th { background: #ccc;margin: 0px;padding: 10px;}
       .sectiontableentry2, .html-email th, .cart-summary th{ background: #ccc;margin: 0px;padding: 10px;}
       .sectiontableentry1, .html-email td, .cart-summary td {background: #fff;margin: 0px;padding: 10px;}
       .line-through{text-decoration:line-through}
   </style>

    </head>

    <body style="background: #F2F2F2;word-wrap: break-word;">
   <div style="background-color: #e6e6e6;" width="100%">
       <table style="margin: auto;" cellpadding="0" cellspacing="0" width="600" ><tr><td>
         


The page breaks after <td>.

This problem appeared after upgrading VirtueMart from 2.0.8c to 2.0.12b. I have tried to update VM plugin tables in aio, without luck.
I have tried to checkout with different types of payment methods but all checkouts get to the same blank page.

Code: Select all
PHP byggd på    Linux shwl-0040.s.thehostingplatform.com 2.6.18-274.12.1.el5 #1 SMP Tue Nov 29 13:37:46 EST 2011 x86_64
Databasversion    5.1.62-0ubuntu0.10.04.1
Sorteringsordning    utf8_general_ci
PHP-version    5.3.3
Webbserver    Apache/2.2.3 (CentOS)
Webbserver till PHP interface    cgi-fcgi
Joomlaversion    Joomla! 2.5.6 Stable [ Ember ] 19-June-2012 14:00 GMT
Joomla! platformsversion    Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
Webbklient    Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4 AlexaToolbar/alxg-3.1


If you know any solution I would be very happy! Thanks.
User avatar
Senior Boarder

teitbite
Sun Oct 14, 2012 3:15 pm
Reply with quote
Report this post
Hi

This can be caused by the fact that template is not updated to latest version of VM yet. Please try rename folder /html/com_virtuemart to /html/_com_virtuemart this way You will check if it's because of the old style version. If yes than please simply downgrade to last working and wait for the updated release. If not than this means that problem must be caused by VM itself - enable error showing and let me know what error message is visible.
User avatar
Moderator

GK User
Mon Oct 15, 2012 10:09 am
Reply with quote
Report this post
Thank you for your reply. I was able to fix the problem by removing three lines of code in the html_mail.php file. Something about "if shopper then". When removing those lines it all started to work again.
User avatar
Senior Boarder

teitbite
Mon Oct 15, 2012 6:50 pm
Reply with quote
Report this post
Hi

If it was about mail, maybe mail configuration was wrong ? I've never seen this problem before, so I would start with checking VM settings.
User avatar
Moderator

GK User
Wed Oct 17, 2012 9:36 pm
Reply with quote
Report this post
I am having the same problem. Running 2.0.12b. I have tried downgrading but this does not solve the problem. I have tried 2.0.12b in a testinstallation and then confirmation page does work so I dont think the version is the problem actually.

But regarding your sollution to html_mail.php, I dont seem to locate that file? Can you explain further about that fix?
User avatar
Senior Boarder

GK User
Wed Oct 17, 2012 9:51 pm
Reply with quote
Report this post
Can it be something I need to add in my .htaccess file?

RewriteEngine On

RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|.htm|.php|.html|.pdf|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php

RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [OR]
RewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR]
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})
RewriteRule ^(.*)$ index.php [F,L]

rewritecond %{http_host} ^kimchikid.com [nc]
rewriterule ^(.*)$ http://www.kimchikid.com/batbike/$1 [r=301,nc]

redirect 301 /batbike/elcyklar/om-vara-elcyklar.html http://www.kimchikid.com/batbike/elcyklar.html
User avatar
Senior Boarder

GK User
Thu Oct 18, 2012 11:55 am
Reply with quote
Report this post
Sorry for above posts, my problem was caused by a different payment module that destryed it for all payment modules. inactivate those plugins fixed the problem.
User avatar
Senior Boarder

teitbite
Thu Oct 18, 2012 1:23 pm
Reply with quote
Report this post
Hi

No problem. I'm glad You were able to find the issue. I saw thinking it was a version conflict. VM style in template is for 2.0.10 so any other version may be working incorrectly, but to check it all You need to do is to change the name of com_virtuemart to _com_virtuemart in template's /html folder.
User avatar
Moderator


cron