Articles on: Getting Started

Understanding Print File Generation

When customers place orders with customized products, Chamevo automatically generates print-ready files for production.


How It Works


  1. Customer completes checkout with customized product(s)
  2. Chamevo generates a print file for each product
  3. Files are saved and attached to the order
  4. Order confirmation email is sent


Each product requires its own print file, so an order with 5 products generates 5 separate files.


Server Requirements


Minimum Requirements (see Requirements):


PHP Version: 7.0+
PHP Memory Limit: 256 MB minimum
PHP Post Max Size: 64 MB minimum
Required PHP Extensions: Imagick, ZipArchive
Web Server: Nginx or Apache


Additional Settings for Print File Generation:


For handling multiple products or complex designs, you may need to increase:


max_execution_time = 300  (increases from default 30 seconds)
memory_limit = 512M (increases from minimum 256MB)


Common Issue: Timeout Errors


The Problem:



When a customer places an order with multiple products, the system needs to create a separate print file for each one. If the products are complex (lots of colors, layers, or custom elements), generating these files can take a while.


Your WordPress server has to wait until all print files are ready before completing the order. Most servers have a time limit — usually around 30 seconds. If the print files take longer than that, the server runs into a timeout error and the order is not processed.


Signs of Timeout:


  • Orders stuck in "pending" status
  • No confirmation email sent
  • "504 Gateway Timeout" or "500 Internal Server Error"
  • PHP errors: "maximum execution time exceeded"


Solutions


Increase Server Limits:


Contact your hosting provider to increase timeout and memory limits:


max_execution_time = 300
memory_limit = 512M


Optimize Products:


  • Simplify design templates (fewer layers)
  • Compress images before uploading
  • Set canvas size limits


Optimize Export Settings:


  • Use 300 DPI (sufficient for most printing)
  • Avoid unnecessary export formats


Upgrade Hosting:


  • If issues persist, consider VPS or dedicated hosting
  • Ensure your server meets the minimum requirements


Troubleshooting


Check Error Logs: Look in /wp-content/debug.log for execution time or memory errors.


Test Systematically:


  • Single simple product
  • Single complex product
  • Multiple products


Contact Support:


  • Hosting Provider: For server timeout/memory limits
  • Chamevo Support: For print file generation errors



Updated on: 24/02/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!