News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Proxying images SMF 2.0.15

Started by Yarik1980, December 03, 2017, 05:41:27 AM

Previous topic - Next topic

Yarik1980

Such a problem was revealed.If you open the message for the first time, where the image is first proxy (or look through the preview), the image is displayed only on the second time you refresh the page.I thought at first that this was my modifications, but yesterday's clean test setup confirmed the problem.I accidentally saved the old file, the proxy, which I manually edited when I had 2.0.14.I do not remember where I took these edits, but with this file, everything is working fine for me

vbgamer45

Can you post your proxy.php would like to see it.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Shambles

Yariksat manually applied a fix I created:

https://www.simplemachines.org/community/index.php?topic=553914.msg3926081#msg3926081

I think what he's now saying is that the replacement {official} fix for proxy.php doesn't quite cut it, as a couple of other members have since reported.

Yarik1980

Quote from: vbgamer45 on December 03, 2017, 09:18:27 AM
Can you post your proxy.php would like to see it.
In the attachment
Quote from: sǝๅqɯɐɥS on December 03, 2017, 09:45:44 AM
Yariksat manually applied a fix I created:

https://www.simplemachines.org/community/index.php?topic=553914.msg3926081#msg3926081

I think what he's now saying is that the replacement {official} fix for proxy.php doesn't quite cut it, as a couple of other members have since reported.
I here took - https://download.simplemachines.org - and installed. As a result, the problem is as above

Shambles

^ the file you attached - is that the working one?

Yarik1980

Quote from: sǝๅqɯɐɥS on December 03, 2017, 10:51:28 AM
^ the file you attached - is that the working one?
Yes.
This one does not work normally. The problem is as above

Shambles

Quote from: sǝๅqɯɐɥS on December 03, 2017, 09:45:44 AM
Yariksat manually applied a fix I created:

https://www.simplemachines.org/community/index.php?topic=553914.msg3926081#msg3926081

And that's the fix I recommend, as opposed to that which the patch developers issued with 2.0.15

Yarik1980

Quote from: sǝๅqɯɐɥS on December 03, 2017, 11:00:46 AM
Quote from: sǝๅqɯɐɥS on December 03, 2017, 09:45:44 AM
Yariksat manually applied a fix I created:

https://www.simplemachines.org/community/index.php?topic=553914.msg3926081#msg3926081

And that's the fix I recommend, as opposed to that which the patch developers issued with 2.0.15
I already forgot. Yes, this fix works well
The patch itself in 2.0.15 does not work properly

Shambles

Maybe this topic should be converted into a bug report.

Yarik1980

It seems to me it is necessary to do this

tinoest

#10
What version of php are you using?

Ignore that, it's due to the other change to remove is_int and the other code never being changed to suit.

Shambles fix with the checking to false is now correct. So the 1 : null should be changed

Yarik1980

Quote from: tinoest on December 03, 2017, 06:00:11 PM
What version of php are you using?

Ignore that, it's due to the other change to remove is_int and the other code never being changed to suit.

Shambles fix with the checking to false is now correct. So the 1 : null should be changed
PHP: 5.6.30
The problem exists at least one more person - https://www.simplemachines.ru/index.php?topic=20138.msg172040#msg172040

Aleksi "Lex" Kilpinen

Quote from: tinoest on December 03, 2017, 06:00:11 PM
What version of php are you using?

Ignore that, it's due to the other change to remove is_int and the other code never being changed to suit.

Shambles fix with the checking to false is now correct. So the 1 : null should be changed
So... Should this be in bug reports, rather than support?
I did not quite follow, so thought to ask.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Shambles

Quote from: Aleksi "Lex" Kilpinen on December 21, 2017, 10:54:26 AM
Quote from: tinoest on December 03, 2017, 06:00:11 PM
What version of php are you using?

Ignore that, it's due to the other change to remove is_int and the other code never being changed to suit.

Shambles fix with the checking to false is now correct. So the 1 : null should be changed
So... Should this be in bug reports, rather than support?
I did not quite follow, so thought to ask.

Bug report.

shawnb61

We believe these proxy issues (not due to host config) were all fixed in 2.0.16.
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Advertisement: