News:

Support the VirtueMart project and become a member

Main Menu

Blank page after confirm checkout : Fatal Error

Started by ziggy, November 24, 2012, 15:32:48 PM

Previous topic - Next topic

ziggy

Hi,

After searching this forum I still didn't found a solution for my problem.

I've used the latest version of Joomla ( 2.5.8 ) with the latest version of Virtuemart (2.0.14) in combination with the VP-Promart template.
When using the standard Shipment and payment method, I always got a 'Blank screen' on checkout confirm.
So, to be sure it's not the template that's causing the error, I've installed a fresh install of Joomla and Virtuemart and have the same problem.

I renewed the Virtuemart config file and did no longer got a blank screen, but a sreen with one line :

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /home/...mysite.../joomla/libraries/tcpdf/tcpdf.php on line 20900

I'm stuck here 'cause I really have no clue what this means.

Below my configuration from Joomla :

PHP Built On    Linux fugit.dnsbox16.com 2.6.32-379.5.1.lve1.1.9.6.1.el6.x86_64 #1 SMP Wed Sep 12 05:36:10 EDT 2012 x86_64
Database Version    5.1.65-cll
Database Collation    utf8_general_ci
PHP Version    5.3.18
Web Server    Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
WebServer to PHP Interface    cgi-fcgi
Joomla! Version    Joomla! 2.5.8 Stable [ Ember ] 8-November-2012 14:00 GMT
Joomla! Platform Version    Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
User Agent    Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4


Please help  :'(


PRO

that file has to do with the invoice PDF creation.

what happens when you set the invoice to "none"


ziggy

OK thx, I would do so, but can not find this option .
Can you tell me where I can find and deactivate this option please ?

bytelord

Hello,

Please increase your PHP memory size, from php.ini or using .htaccess. Your issue related to PHP

Read the following: http://forum.virtuemart.net/index.php?topic=109732.msg369511#msg369511

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

ziggy

Hi bytelord,

Thx for your suggestion.
Are you really sure that this will do the trick ?

If so, this would have some impact on my and a few other websites I'm managing.
I'm located on a shared hosting environments, so I can not access nor modify the Php.ini file myself and my hosting provider refuses  :(

This means I maybe have to look for a new one or find an alternative  :-\

bytelord

Hello,

It is not a trick ... joomla 2.5 needs at least 64mb to run and in my opinion need 128mb to run smooth ...
So, please try by changing the .htaccess to increase the memory limit, the url i post have instructions also how to change your .htaccess file to increase it. If your provider not allow you to increase your php memory you could ask to increase it, 32mb is  too low in the today standards.

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

ziggy

Hello,

Forgot to mention in my earlier post :

I followed the instruction on the link you provided. The only method I can implement is Method 2 --> edit the .htaccess file.
But when I insert the 3 lines at the end and go back to my website, I get a '500 Internal Server Error'. See below for the last lines of the .htaccess file :


# RewriteBase /

## Begin - Joomla! core SEF Section.
#
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
RewriteCond %{REQUEST_URI} !^/index\.php
# and the request is for something within the component folder,
# or for the site root, or for an extensionless URL, or the
# requested URL ends with one of the listed extensions
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical folder
RewriteCond %{REQUEST_FILENAME} !-d
# internally rewrite the request to the index.php script
RewriteRule .* index.php [L]
#
## End - Joomla! core SEF Section.

## BEGIN - PHP setting Changes
#
php_value max_execution_time 300
php_value memory_limit 128M
php_value upload_max_filesize 12M
## END


So I can not change these PHP settings.

Regards.

bytelord

Please contact your host provider, seems that blocks out the ability to increase your PHP memory

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

ziggy

Hello Bytelord,

My hosting provider finally did change my PHP settings as you suggested.

And guess what ? I solved most of my problems.

Thank you so much for your help  :)

bytelord

Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!