Due to a large amount of fields I cannot save the settings for the PDF table. My php memory limit is 512M. Is there another limit that I need to raise or do I just have too many fields (about 100)?

Comments

rudy2342’s picture

Title: Large number of fields, php table settings not saving » Large number of fields, PDF table settings not saving
vegansupreme’s picture

Just guessing here: max_execution_time ?

killua99’s picture

Status: Active » Postponed (maintainer needs more info)
rudy2342’s picture

max_execution_time did not work, thanks tho.
I went with the PDF unformatted and I was able to save the settings by unsetting most of my fields from the form. After line 403 on views_pdf_plugin_display.inc I used this with like 30 of the fields in order to save the other 30, then switched.

unset($form['row_options']['formats']['field_my_field_name']);

This may cause errors

killua99’s picture

What about grouping the fields? Maybe is a better solution.

DeanLiddle’s picture

Did anyone ever come up with a solution to this problem?

I have exactly the same issue, if I have 66 fields in the view I can use the PDF Views Settings to align and modify fields but as soon as a 67th field is added you can no longer save the settings.

When you click Apply on the settings overlay you get the spinner but instead of the overlay disappearing when the save is complete the overlay reverts back to the original state of all fields settings being collapsed and no changes are saved.

You can add many more fields to the view and they are rendered in the PDF but you are unable to position them or change any settings?

If anyone has come across a solution or quick fix it would be most appreciated, I'm running Views PDF 7.x.-1.7 on Drupal 7.38.

Dean

Duvan.Slabbert’s picture

Good day everyone.

I stumbled on the same issue as you guys did and managed to sort this out with php settings. I'm not a 100% sure which one fixes the issue, but my settings are as follow.

max_execution_time = 3600
max_input_vars = 32768
memory_limit = 512
post_max_size = 512
suhosin.post.max_vars = 32768
suhosin.request.max_vars = 32768

Hope this help someone in the future as well.

killua99’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)