Avatar/Attachment Upload Issue

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
User avatar
Topdrag
Registered User
Posts: 107
Joined: Mon Jun 25, 2007 6:07 pm
Location: Minnesota
Contact:

Avatar/Attachment Upload Issue

Post by Topdrag »

Support Request Template
What version of phpBB are you using? phpBB 3.0.4
What is your board's URL? http://www.coastercravers.net/forums/
How did you install your board? I installed my board myself
Is your board a fresh install or a conversion? Fresh Install
Do you have any MODs installed? Yes
What MODs do you have installed? There are way to many to name.
Please describe your problem. Cannot upload Avatars or upload images as attachments. Gives a "It was not possible to determine the dimensions of the image." error.
What styles do you currently have installed? Prosilver, Subsilver, Procoaster
What language(s) is your board currently using? English
Which database type/version are you using? MySQL 5
What is your level of experience? New to PHP but not phpBB
Generated by SRT Generator ($Rev: 2887 $)

Also as a side note, for some reason when adding polls it does not register the multiple poll options and gives the error saying you need more than 1 poll option.
Image
narqelion
I've Been Banned!
Posts: 7235
Joined: Sat Dec 13, 2008 5:00 pm
Contact:

Re: Avatar/Attachment Upload Issue

Post by narqelion »

In your ACP -> PHP Information -> PHP Core, what is the following variable set to?

allow_url_fopen
User avatar
Topdrag
Registered User
Posts: 107
Joined: Mon Jun 25, 2007 6:07 pm
Location: Minnesota
Contact:

Re: Avatar/Attachment Upload Issue

Post by Topdrag »

This is currently what it says for both local and master.

allow_url_fopen = Off
Image
narqelion
I've Been Banned!
Posts: 7235
Joined: Sat Dec 13, 2008 5:00 pm
Contact:

Re: Avatar/Attachment Upload Issue

Post by narqelion »

You are experiencing one of the documented issues with phpBB when that setting is off on your host.
PHP setting allow_url_fopen is enabled:
Optional - This setting is optional, however certain phpBB functions like off-site avatars will not work properly without it.
User avatar
Topdrag
Registered User
Posts: 107
Joined: Mon Jun 25, 2007 6:07 pm
Location: Minnesota
Contact:

Re: Avatar/Attachment Upload Issue

Post by Topdrag »

Even uploading avatars? I remember there is a way to override the variable and it was working before. I might contact my host to see what the problem is.

That also doesn't explain what the poll option issue is either.
Image
narqelion
I've Been Banned!
Posts: 7235
Joined: Sat Dec 13, 2008 5:00 pm
Contact:

Re: Avatar/Attachment Upload Issue

Post by narqelion »

Depending on host, you can sometimes override the setting with a custom php.ini.
Topdrag wrote:That also doesn't explain what the poll option issue is either.
Topdrag wrote:Also as a side note, for some reason when adding polls it does not register the multiple poll options and gives the error saying you need more than 1 poll option.
Can you provide more information, perhaps an example?
User avatar
Topdrag
Registered User
Posts: 107
Joined: Mon Jun 25, 2007 6:07 pm
Location: Minnesota
Contact:

Re: Avatar/Attachment Upload Issue

Post by Topdrag »

Well and i have the php.ini file with the override in it and I always have but it seems it maybe stopped working? I will contact them about it.

For the poll issue, (Just note I do have a mod installed for a poll feature but that does not seem to be the issue here.) when I make a poll and make the two options and fill the poll out correctly and hit submit. It will redirect me back to making that topic and display an error saying I need to have at least two poll options. It does this even if I have two options entered.

EDIT: I now have allow_url_fopen enabled and it is still not working. I had a feeling it was more of a phpBB3 issue than php and now I know that is the case. I figured this since I was able to attach any other type of document. It only gives the "It was not possible to determine the dimensions of the image." error if it is an image.
Image
User avatar
Topdrag
Registered User
Posts: 107
Joined: Mon Jun 25, 2007 6:07 pm
Location: Minnesota
Contact:

Re: Avatar/Attachment Upload Issue

Post by Topdrag »

Just going to bump this since I seem to still have the issues I mentioned before.
Image
narqelion
I've Been Banned!
Posts: 7235
Joined: Sat Dec 13, 2008 5:00 pm
Contact:

Re: Avatar/Attachment Upload Issue

Post by narqelion »

When you say you now have allow_url_fopen enabled, you mean when you run ACP -> PHP Information it is showing as on for both?
User avatar
Topdrag
Registered User
Posts: 107
Joined: Mon Jun 25, 2007 6:07 pm
Location: Minnesota
Contact:

Re: Avatar/Attachment Upload Issue

Post by Topdrag »

That is correct as well as checking it in the server control panel to.
Image
narqelion
I've Been Banned!
Posts: 7235
Joined: Sat Dec 13, 2008 5:00 pm
Contact:

Re: Avatar/Attachment Upload Issue

Post by narqelion »

In your ACP -> General -> Attachment settings -> Image category settings, if you set both Maximum image dimensions: & Image link dimensions: to 0 x 0 do you still get the error?
User avatar
Topdrag
Registered User
Posts: 107
Joined: Mon Jun 25, 2007 6:07 pm
Location: Minnesota
Contact:

Re: Avatar/Attachment Upload Issue

Post by Topdrag »

They have always been 0px X 0px
Image
User avatar
Topdrag
Registered User
Posts: 107
Joined: Mon Jun 25, 2007 6:07 pm
Location: Minnesota
Contact:

Re: Avatar/Attachment Upload Issue

Post by Topdrag »

Well, I think I am going to bump this again since I never really have fixed this issue. All three issues are still present.
Image
Locked

Return to “[3.0.x] Support Forum”