Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Avatar succesful upload but error is thrown / userid needed?

Asked Modified Viewed 909 times
W
Wanabo
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
  • Started this discussions
asked
Senior Member

There is a problem when a user uploads an avatar. Even if successful there is an error message: "Your avatar was not uploaded correctly"

Did some digging, but can't find the problem.

It seems formatting the image name was changed during transition from v7 to v8.
In v7 I thought "imagename[userid].gif" with userid was mandatory. Now in v8 when I upload an avatar it is without the [userid] like imagename.gif.

With userid users can have the same picturename but it won't conflict because of the userid in the image name.
0 replies

4 posts

F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

I do not remember any function changes to it. It could be Theme related. For example Atom series might have it´s own functions.
0 replies
R
Anonymous User
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
answered
Veteran Member

In v8 and newer, system increases number if there is image with the same name image.png, image_1.png, image_2.png..

Quote

There is a problem when a user uploads an avatar. Even if successful there is an error message: "Your avatar was not uploaded correctly"


Problem was only in the Atom-X8 theme https://github.com/PHPFusion/PHPFusio...393a2d8d3e
0 replies
W
Wanabo
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
  • Started this discussions
answered
Senior Member

Quote

I do not remember any function changes to it. It could be Theme related. For example Atom series might have it´s own functions.

Yes the theme is Atom. Could try a different theme. Thanks for the suggestion.

Quote

In v8 and newer, system increases number if there is image with the same name image.png, image_1.png, image_2.png..

Quote

There is a problem when a user uploads an avatar. Even if successful there is an error message: "Your avatar was not uploaded correctly"


Problem was only in the Atom-X8 theme https://github.com/PHPFusion/PHPFusio...393a2d8d3e

No problem, it seems duplicate file names are impossible. So I don't need to worry. smile

I will try the updated atom.micro.php this weekend and report back if this fixes the problem. Thanks Robinn.
Edited by Wanabo on 19-06-2020 09:04,
0 replies
W
Wanabo
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
  • Started this discussions
answered
Senior Member

Tested atom.micro.php with the updated code.
Now everything is ok.

Thanks for the fix.
0 replies

Category Forum

Themes Support

Labels

None yet

Statistics

  • Views 0 views
  • Posts 4 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

F
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
W
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
  • Started this discussions
R
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet