amirali Posted June 20, 2014 Share Posted June 20, 2014 Hello Im using 1.5.4.1 version. when Im building large invoice PDF, I receive blank pdf file !! I dont have any problem on local version but on my VPS I have this big problem. when the order has more than 70 items the PDF file will be empty. I think I should change some PHP.info settings on my VPS. do you have any advice ? regards Link to comment Share on other sites More sharing options...
tuk66 Posted June 20, 2014 Share Posted June 20, 2014 Memory or timeout problem. Huge PDF invoice needs a lot of memory as well as timeout larger than 30s (maybe). Link to comment Share on other sites More sharing options...
amirali Posted June 20, 2014 Author Share Posted June 20, 2014 max_execution_time=300 is it enough or not ? and did you mean this parameter ? Link to comment Share on other sites More sharing options...
tuk66 Posted June 20, 2014 Share Posted June 20, 2014 300s is enough if really used. Some hostings don't care about max_execution_time value. So probably you should increase memory limit at least to 128M. Link to comment Share on other sites More sharing options...
amirali Posted June 20, 2014 Author Share Posted June 20, 2014 memory limit is 200MB do you have other suggestion please? Link to comment Share on other sites More sharing options...
tuk66 Posted June 20, 2014 Share Posted June 20, 2014 Enable development mode to get the error message. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now