Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Getting 404 when I try to change profile picture [RESOLVED]
nikoskip
✭
Hi,
I had recently updated my forum from 2.4b to 2.5.1 and the only issue that I have is that I can't change my profile picture.
Vanilla doesn't find any defined route for this two URL's:
profile/picture?userid=2&DeliveryType=VIEW (this URL is loaded inside a modal)
/profile/picture
I tried deleting my cache folder, disabling pretty url's and disabling Gravatar plugin without success.
Thanks in advance.
0
Comments
I just tried a clean install with the same result
My stack:
nginx 1.13.9
PHP 7.2.2
MySQL 5.7.21 (with strict mode disabled)
how does your nginx server file look? Could you please try something like that:
Hi @R_J
I'm currently using that configuration:
I first blame nginx, but I tried disabling pretty url's with same result. I was debugging using Xdebug and the request enters to my index.php but Vanilla doesn't find any valid route for the URL and throw a 404.
Even index.php?p=/profile/picture throws a 404 error on a clean install?
Even index.php?p=/profile/picture&userid=2&DeliveryType=VIEW throws a 404.
I really don't know what is wrong with my installation.
I found the problem: I move out my forum to a new server and it was missing the PHP GD extension. So, Vanilla was throwing a 404 instead a 500. Maybe the requirement of PHP GD should be added to the README.
The $Configuration['Garden']['Errors']['LogFile'] configuration was very helpful to figure out the problem.
Thanks!
I've posted your suggestions on GitHub where they will get more attention than here. Thanks for your detailed feedback!