Lost password?    Lost username?    Register

CSVI VirtueMart gives me a blank screen

Attention: open in a new window. Print

A blank screen is almost always caused by a fatal error given by PHP. The reason the error is not shown is because on most production systems the setting display_errors is set to off. To verify if this is the case check the PHP settings on your system.

When does this happen?

  • During installation of CSVI VirtueMart
  • During import
  • During export

The cause

The fatal error is usually one of these:

  • Out of memory
    The file you are trying to upload is using more memory than your system has available
  • Maximum execution time exceeded
    The file you are trying to import takes too long to process
  • File not found
    The program tried to include a file that does not exist
  • Function does not exist
    A function is called that does not exist, for example stripos().

The solution

Out of memory

The out of memory has several possible solutions:

  1. Make the import file smaller or limit export setings
  2. Increase the memory limit in the template
    This may not always work as not all systems allow CSVI VirtueMart to change these settings.
  3. Increase the memory limit in PHP settings
    How to change these settings depends on the system. Some hosts do not allow changes, others use a local php.ini and others user .htaccess. Check with your hosting provider on how to change this value. The PHP value to change is memory_limit.
Maximum execution time exceeded
The maximum execution time exceeded has several possible solutions:
  1. Make the import file smaller or limit the export setings
  2. Increase the maximum execution time in the template
    This may not always work as not all systems allow CSVI VirtueMart to change these settings.
  3. Increase the execution time in PHP settings
    How to change these settings depends on the system. Some hosts do not allow changes, others use a local php.ini and others user .htaccess. Check with your hosting provider on how to change this value. The PHP value to change is max_execution_time.
  4. Do a manual installation of CSVI VirtueMart
File not found
Important is to find out what file is not found. This can be found in the logfile or if errors are displayed, the filename will show on screen. The file not found has several possible solutions:
  1. Check if the installation of CSVI VirtueMart went fine
  2. Check if the file exists or not
Function does not exist
The reason here is that an older PHP version is used. Check if your system is running PHP5.

 

Our partner: BatteryKing.nl