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 ...
- 692
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:
$...
- 11.3k
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 ...
- 17.4k
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
- 140
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-...
- 5,353
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.
...
- 7,556
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) ...
- 382
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 ...
- 41
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/...
- 385
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
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 ...
- 3,587
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 ...
- 131
1
vote
Word separator for file names
I'm gonna say it's way more complex. It's possible that it's simply matter of replacing all filename handlers and actions with ones to suite your needs (replace with dashes instead of underscores), ...
- 5,900
1
vote
Assets in Grid In Low Variables - multiple files
When using the Parse or Pair tag to output a Grid field, the tag will act the same as a regular Channel Grid field would. That means you can use the same template tags and parameters. That means the ...
- 11.3k
1
vote
Assets Module Not Working
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at . (Reason: CORS header 'Access-Control-Allow-Origin' missing).
By default browsers won't let JavaScript ...
- 491
1
vote
How to trigger P&T Assets to Update Indexes from a template
I can help you figure out the direction you should take, but this one seems obscure and like quite a process, and I'm pretty busy right now. First, I would trace back from the ajax hit that happens ...
- 5,900
1
vote
Https problem with channel form
The issue is that your CP and themes folder are not set to run https.
Make sure your cp url and themes folder are set to run https://
You'll possibly run into the same thing with any "ACT=" urls if ...
- 1,987
1
vote
CE Image, Assets, S3 and Caching
A good way to do this is to cache the output of the tag. You can use built-in EE tag caching or something like CE cache, either with fragment caching or full page static. This way you're getting the ...
- 1,232
1
vote
Accepted
Migrate site, Assets not displaying files
Are these fields set appropriately? Are you making sure if your site is behind a certificate, it uses HTTPS for a protocol? These settings affect the config variable Derek Hogue was speaking of (...
- 5,900
1
vote
Accepted
How complicated would it be to move from grid containing assets to a standalone assets?
I'd recommend doing some trial and error on a copy, howeve your plan is almost right...
You'r right in that you would have to disect how multiple selections are stored in exp_assets_selection table, ...
- 2,418
1
vote
Accepted
CE Image + Assets + S3 = Really Long and Ugly URL
I know this issue has been addressed multiple times in the support forums (and possibly already on EE Stack Exchange), but hopefully answering here too will be helpful to others down the road:
The ...
- 950
1
vote
Add Drag/Drop Confirmation to Assets
This is a pretty simple hack if you're interested in this functionality. You can add your confirm() JavaScript to (in Assets 2.3.2) lines 791 (for folder confirmation) and 1057 (for file confirmation)...
1
vote
Working with staging server and production server - can they share the same Assets locations?
Not a bad approach; I'm using it on a large project now and we haven't had too many issues.
In our setup, development/staging share the same database but have their own file system for templates/...
- 1,785
1
vote
Delete Assets input fields in a front-end form
Should use 'change' event instead of click. Cause user may not select any new file, then it will remove the existing file.
<img src="{url}" />
<input type="hidden" name="member_photo" value="...
- 11
1
vote
Delete Assets input fields in a front-end form
Darren used a button, which should work too, but here's the jQuery I came up with to remove the name attribute value:
HTML:
<label class="control-label" for="member_photo">Performer / Band ...
- 626
1
vote
Accepted
Delete Assets input fields in a front-end form
I think you need to output a delete button/checkbox alongside each image/input. You can then use jQuery to remove that img/input from the DOM so when you submit the form it's no longer there.
Maybe ...
- 203
1
vote
Assets and Low Variables not compatible?
Appears the problem was a conflict with another custom add-on that was installed. I've disabled it for the time being and I'll review the source code to fix at a later date.
- 1,986
1
vote
Pixelandtonic Assets: Set Content-disposition?
There's no hook for this in Assets, so you'd have to hack the add-on to add it.
Look at line 821 of sources/s3/source.s3.php ... right after this line:
$headers = array();
You can add something ...
- 17.4k
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.
- 2,075
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
assets × 427pixelandtonic × 96
matrix × 33
file-uploads × 30
wygwam × 29
s3 × 24
multi-site-manager × 20
safecracker × 19
file-manager × 19
add-on × 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
amazons3 × 6
conditionals × 5