Jump to content

issue with Get (Temporarypath)


This topic is 2305 days old. Please don't post here. Open a new topic instead.

Recommended Posts

i used the get (temporarypath) to save a layout as pdf to send to its recipient, however started to get the attached error message 

it then skips this script step and creates mthe email with the attachment.
 

Any idea why this is happening and how i could rectify it?

 

 

Screenshot.jpg

Link to comment
Share on other sites

You need to refactor your variable $path the contents appears to be commented out with "/*"  perhaps you copied and pasted the value in from another source and the needed fields are referenced so the entire contents is wrapped in the /*content*/  which is essentially setting it to nothing.

Also make sure you append the filename and extension for the file.

Link to comment
Share on other sites

This topic is 2305 days old. Please don't post here. Open a new topic instead.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.