TOPIC:

Custom PDF template ruined the send PDF functionality 3 weeks 1 day ago #250245

  • Topic Author
  • Sitar
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 12
  • Thanks: 0
Hi,

I wanted to create a custom PDF template like it is described here: crosstec.org/en/support/online-documenta...-s-pdf-template.html
So I copied the pdf_attachment.php and named it myformname_pdf_attachment.php and just inserted two fields in it. When I tried to submit a form I got an error 0 syntax error, unexpected '1' (T_LNUMBER), expecting variable (T_VARIABLE) or '{' or '$'
Form gets submitted but there is this error on the page and no email with attachment. So I deleted the custom template but now the original one does not work either! Wherever I use the send PDF attachment functionality I get this error and email with pdf is not sent. If I remove the pdf attachemnt everything is ok. Please help me. I did not change the original pdf template and so I dont know what is wrong.


Sandra

Please Log in or Create an account to join the conversation.

Custom PDF template ruined the send PDF functionality 3 weeks 1 day ago #250246

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 2193
  • Karma: 3
  • Thanks: 198
Hi,

I guess that you are using the latest version of BF.
Some mess happened, so please download the BF from the download section again and install it over the existing version.
It won’t change the version number, but it should fix the problem.

After that try to attach original PDF again, and let me know the result

Regards.
Tihana

Please Log in or Create an account to join the conversation.

Last edit: Post by tihana.krivic.

Custom PDF template ruined the send PDF functionality 3 weeks 1 day ago #250247

  • Topic Author
  • Sitar
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 12
  • Thanks: 0
Thank you for your very quick suggestion but I found the problem. I found my custom file also in the breezingforms -> ajax_cache folder. After the deletion everything works ok for now.

Sandra

Please Log in or Create an account to join the conversation.

Custom PDF template ruined the send PDF functionality 3 weeks 1 day ago #250248

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 2193
  • Karma: 3
  • Thanks: 198
Hi,

super!
I'm glad you solved the problem. :)

Let me know if you need more help

Regards,
Tihana

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.047 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!