9
votes
Accepted
Assets errors with MySQL 5.7.X
The problem is that many developers don't know how to write compliant SQL statements - they're software developers who find themselves also filling the role of database developers. This problem crops ...
5
votes
Accepted
PHP error when using Low Variables with Grid and Assets
Okay, this definitely is an Assets issue, but here's a temporary fix.
Open up ft.assets.php and look up the grid_replace_tag method, around line 1771. In there, you can see this line of code:
$...
5
votes
Accepted
Matrix Total Rows Column Search Conditional
EE simply removes any tags corresponding to custom fields that have no data. So by the time EE is ready to parse the outer {if} conditional, it will look like this:
{if > 0}
Try wrapping the ...
3
votes
Assets 2.3.2 Lib file - Causes PHP error
Ugh, wasn't logged in properly....
They sent me this on email support:
If you could just replace line 814 in Assets_lib.php file with
if (!(count($full_folder_list) == 1 && reset($...
3
votes
Assets out of memory
Fixed:
I found ini_set('memory_limit', '64M'); in /system/expressionengine/third_party/assets/sources/s3/source.s3.php and changed it to 1024M
3
votes
Accepted
Assets: Cannot upload file using "simple file input" method
This is due to a change in how EE validates Channel Form fields (not sure when this was implemented). When you upload a file via a file field, that field name isn't actually populated in the $_POST ...
3
votes
Deployment server feautures
Suggest you contact the hosting provider recommended by EllisLab: https://ellislab.com/community/hosting
Also read this whitepaper supplied by them: https://www.nexcess.net/expressionengine/hosting-...
2
votes
Accepted
Unable to use Assets in in HTTPS
It's also worth noting that using protocol relative ( //domain.com ) will work in most situations. This allows you to not have to hardcode a protocol specific url. Helpful when you're using the same ...
2
votes
Unable to use Assets in in HTTPS
Just make sure your site url and all of your url paths in your admin > general configuration are https:// and also go to your content > file > file upload preferences and make sure that the url path ...
2
votes
Accepted
Multiple Content-Elements with Assets-elements breaking on what seems to be a specific number of images
Open up ft.assets.php file (located at third_party/assets/ft.assets.php), find the method "replace_element_tag" and add this as the first line in that method:
$this->EE->load->...
2
votes
Accepted
Assets in a Matrix can't select files from a subfolder
Ok, for some reason, the Assets index was outdated for that folder, showing a weird mixture of old and current folders and files. I'm still not sure I'm ok with the ease at which both EE and Assets' ...
2
votes
Assets v2.4 producing error when saving an entry after upgrade from EE v2.4 to EE v2.9
I'm using SuperSearch and getting the same issue, it appears that 'entry_id' is no longer being set in the settings array.
I've fixed/patched for now by simply replacing line 2214 in the ...
2
votes
Can't save large matrix field
1) read server logs
2) turn debugging on in index.php
This should help you understand better where the problem is.
I have lots of issues like that and Usually it is a matter of server configuration ...
2
votes
Accepted
Working with staging server and production server - can they share the same Assets locations?
I have a client that has a similar setup with Assets and S3 and it works without issues, content created on local, dev, staging has no issues being added to the live site or any combination of that.
...
2
votes
Accepted
How to trigger P&T Assets to Update Indexes from a template
I got an email back from Andris at P&T with the following:
Hey Rowan.
Indexing generally refers to a bunch of files - seems to me that you'd
be doing that one file at a time. You should ...
2
votes
Missing thumbnails in Assets
It turns out my database.php file had an extra blank line at the beginning.
(see that extra line?) And this was corrupting output in EE.
Any php file that is included (called by the main php file) ...
2
votes
Assets in Grid In Low Variables - multiple files
I reported this bug to Pixel & Tonic, and they right away got working on a "duct-tape" type fix. It seems, to get this working, in Assets 2.6, you can change line 1810 of system/expressionengine/...
2
votes
Accepted
2
votes
Migration from Assets to native File Manager
It depends upon what you call 'easy'. It can be done, but is quite complicated, and AFAIK none has written a utility to do this migration for you (though it probably could be created).
Assets bases ...
2
votes
Migration from Assets to native File Manager
I've been working on upgrading an EE2 6-site MSM installation up to EE5 and in the process realised that Assets now requires a separate license for each site. So to save myself $600 I wrote a script ...
1
vote
Accepted
{filedir_X} variable for Assets S3?
No there's not, but there's nothing stopping you from using a global variable for this purpose.
1
vote
Assets images and Content Elements with conditionals to control number of images displayed
It's always the way - you solve you're own question after posting but Ive left it up in case anyone else might struggle with this for some reason. I got it to work with the following code, a mixture ...
1
vote
Assets orderby Title
Nope. According to the docs you can only order by file_id, name, folder, date, and size.
1
vote
Can I link an entry to an Assets folder, instead of adding files?
I could not find a solution, so I wrote a fieldtype that allows linking an entry to an Assets folder. You can now create multiple folders and sub-folders, then link an entry to different parent ...
1
vote
Expression Engine, Assets, ExpressoStore
If you are using the Store Download tag ({exp:store:download}) you can only use what the default EE File Manager can see/use. So you would not be able to use subfolders.
Having said that you don't ...
1
vote
Accepted
Assets thumbs not being generated
It turns out that the server image generation modules were uninstalled during a routine patch upgrade. The servers are managed on Rackspace. It took hours on the phone with RS to figure it out.
1
vote
Accessing P&T Assets files from WYGWAM
Go into Add-Ons -> Fieldtypes and click on Settings next to your WYGWAM fieldtype. In there, click on the Settings button. There's a setting called "File Browser". Choose Assets instead of the EE File ...
1
vote
once a file has been uploaded to the upload directory in expresssionengine can it be moved on my server?
Moving the files will prevent them being served on the site as your templates will be looking in the upload directory for them.
You can move/copy them and then change the upload directory to the new ...
1
vote
php cli & expression engine
This is a permissions problem unrelated to the original question as it was asked.
The solution is to set the read/write permissions for the template directory via FTP (or shell access) which will ...
1
vote
Conditional on Assets Field Tag that contains a quote in EE v2.9
Have you tried it without bracing and quoting? (which has always been recommended against). E.g.:
{if mc_media_image:caption != ""}
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
assets × 425pixelandtonic × 96
matrix × 33
file-uploads × 30
wygwam × 29
s3 × 23
multi-site-manager × 20
safecracker × 19
add-on × 18
file-manager × 18
ee2 × 13
grid × 13
low-variables × 13
image × 13
ce-image × 12
php-errors × 9
error × 8
control-panel × 7
uploads × 7
playa × 6
files × 6
bug × 6
thumbnails × 6
conditionals × 5
database × 5