View more context

 

phyzical

(cheatt and look at the savInto of upload field ) 😛

dorsetdigital

Once you have a file object ($myFile = File::create();) You can use the ->setFromLocalFile(), ->setFromString() or ->setFromStream() methods to get the data into it.

👍 (1)
CptPillow

Hi all have anyone received this error before? Object->__call(): the method 'isOnDraftOnly' does not exist on 'SilverStripe\Assets\File'

Wilson S

Hi everyone, I finished my SS4 Serverless proof of concept. Please have a look! Feel free to play around or provide feedback. @theruss

Wilson S

https://github.com/wsheldon/silverstripe-serverless

Show 1 attachment(s)
GitHub  
wsheldon/silverstripe-serverless

SS4 Serverless Experiment. Contribute to wsheldon/silverstripe-serverless development by creating an account on GitHub.

Hide attachment content
(2) 👍 (1) 🚀 (2)
vanny

linking page to dataobject, any trick, in V3 i had no pronblem, but v4 kicking my butt

vanny

[Emergency] Uncaught InvalidArgumentException: has_one relation Product.ProductCatergory references class ProductCatergory which doesn't exist