Assets not found on a specific install
@andris-sevcenko is already working on this.
Since Jan 21, 2019.
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
Description
I have uploaded a fully working project to a hosting package on which I do not have access to the root folder (above the public folder). Unfortunately I cannot change this as the client wishes to use this hosting.
I have adjusted all the settings to reflect the fact that Craft is in the same folder as the index.php-file and got everything working as expected, except for the images. On the front-end, some images give a 500 server error (index.php?p=actions/assets/generate-transform&transformId=8) for the transform action. However, no transform should be done anymore since all transforms have already been made locally/on the staging.
When I go to the control panel's utilities and run the "Update asset indexes"-command, it says it misses a whole list of images. However, when I check the directory these images are there.
I then tried to upload these images again, via the "Assets" menu tab. Upon uploading, Craft tells me they already exist (strangely it does find them now), and I choose to overwrite them. When I clear all caches after this and run the "Update asset indexes"-command again, Craft still can't find these images.
On the front-end the result remains the same, most images do not show and a lot of 500's on transform url's in the console log.
Steps to reproduce
???
Additional info
- Craft version: Craft Pro 3.0.36
- PHP version: 7.2.14
- Database driver & version: MySQL 5.5.5
- Image driver & version: GD 7.2.14
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.