Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
3 registered members (isaac, M4TT, Morgan), 57 guests, and 401 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
M4TT
M4TT
Canada, SK
Posts: 51
Joined: March 2015
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 12
M4TT 9
Ruben 8
isaac 5
mmkk 4
FREAK 3
Latest Photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Previous Thread
Next Thread
Print Thread
[FIXED for 7.5] 7.5b2 - Inline attachments not displaying in posts #222810
02/22/09 02:40 PM
02/22/09 02:40 PM
Joined: Dec 2006
Posts: 1,420
UK
ScriptKeeper Offline OP

veteran
ScriptKeeper  Offline OP

veteran
Joined: Dec 2006
Posts: 1,420
UK
I've just uploaded a 70kb .jpg file and the attachment just displays the file name. No image and no link. My max file size to display inline images is set to 500kb.

Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: 7.5b2 - Inline attachments not displaying in posts [Re: ScriptKeeper] #222812
02/22/09 02:44 PM
02/22/09 02:44 PM
Joined: Dec 2006
Posts: 1,420
UK
ScriptKeeper Offline OP

veteran
ScriptKeeper  Offline OP

veteran
Joined: Dec 2006
Posts: 1,420
UK
Test

Attached Files remote.jpg
Re: 7.5b2 - Inline attachments not displaying in posts [Re: ScriptKeeper] #222815
02/22/09 02:56 PM
02/22/09 02:56 PM
Joined: Dec 2006
Posts: 1,420
UK
ScriptKeeper Offline OP

veteran
ScriptKeeper  Offline OP

veteran
Joined: Dec 2006
Posts: 1,420
UK
Test above shows that it works on here. confused

Worked fine on my forum before I upgraded to 7.5b2 from 7.4.2

Re: 7.5b2 - Inline attachments not displaying in posts [Re: ScriptKeeper] #222816
02/22/09 03:01 PM
02/22/09 03:01 PM
Joined: Dec 2006
Posts: 1,420
UK
ScriptKeeper Offline OP

veteran
ScriptKeeper  Offline OP

veteran
Joined: Dec 2006
Posts: 1,420
UK
I've just checked my attachments directory. Path is correct and permissions.

I have attached the image file again and it has uploaded to the attachments directory.

I have uploaded a different image with a known good image to check that it wasn't a file error with the same outcome.

Re: 7.5b2 - Inline attachments not displaying in posts [Re: ScriptKeeper] #222817
02/22/09 03:04 PM
02/22/09 03:04 PM
Joined: Dec 2006
Posts: 1,420
UK
ScriptKeeper Offline OP

veteran
ScriptKeeper  Offline OP

veteran
Joined: Dec 2006
Posts: 1,420
UK
Another update: All posts with existing inline attachments are now only displaying the file name and not the image.

Example post from 2007.

Re: 7.5b2 - Inline attachments not displaying in posts [Re: ScriptKeeper] #222818
02/22/09 03:10 PM
02/22/09 03:10 PM
Joined: Dec 2003
Posts: 5,827
Lutz,FL
Ruben Offline

Ruben  Offline


Joined: Dec 2003
Posts: 5,827
Lutz,FL
Same issue here.
For thrills turned off the nofollow options in the cp and rebuilt content. Still no inline image or link to image.


Blue Man Group


There is no such thing as stupid questions. Just stupid answers
Re: 7.5b2 - Inline attachments not displaying in posts [Re: Ruben] #222819
02/22/09 03:12 PM
02/22/09 03:12 PM
Joined: Dec 2006
Posts: 1,420
UK
ScriptKeeper Offline OP

veteran
ScriptKeeper  Offline OP

veteran
Joined: Dec 2006
Posts: 1,420
UK
Error log:

PHP Fatal error: Call to undefined function apache_request_headers() in /home/******/public_html/ubbthreads/scripts/download.inc.php on line 82

Re: 7.5b2 - Inline attachments not displaying in posts [Re: ScriptKeeper] #222820
02/22/09 03:24 PM
02/22/09 03:24 PM
Joined: Dec 2003
Posts: 5,827
Lutz,FL
Ruben Offline

Ruben  Offline


Joined: Dec 2003
Posts: 5,827
Lutz,FL
No errors on my side. Server or control panel.
Just does not work.


Blue Man Group


There is no such thing as stupid questions. Just stupid answers
Re: 7.5b2 - Inline attachments not displaying in posts [Re: Ruben] #222821
02/22/09 03:31 PM
02/22/09 03:31 PM
Joined: Dec 2003
Posts: 5,827
Lutz,FL
Ruben Offline

Ruben  Offline


Joined: Dec 2003
Posts: 5,827
Lutz,FL
Okay I will try a test here also. Don't know what the inline setting is but in any case should at least have a link to the file here.

Okay it works here but not on my site with 7.5b2

Attached Files calendar.GIF
Last edited by Ruben; 02/22/09 03:32 PM. Reason: added test result comment

Blue Man Group


There is no such thing as stupid questions. Just stupid answers
Re: 7.5b2 - Inline attachments not displaying in posts [Re: Ruben] #222822
02/22/09 04:10 PM
02/22/09 04:10 PM
Joined: Dec 2006
Posts: 1,420
UK
ScriptKeeper Offline OP

veteran
ScriptKeeper  Offline OP

veteran
Joined: Dec 2006
Posts: 1,420
UK
Originally Posted by Ruben
No errors on my side. Server or control panel.
Just does not work.

Look for error_log in your ubb directory.

Re: 7.5b2 - Inline attachments not displaying in posts [Re: ScriptKeeper] #222823
02/22/09 04:21 PM
02/22/09 04:21 PM
Joined: Dec 2003
Posts: 5,827
Lutz,FL
Ruben Offline

Ruben  Offline


Joined: Dec 2003
Posts: 5,827
Lutz,FL
Huh?
I Have error logs turned on in the control panel of ubb. Even just tested for logs it works.
Also checked in the site control panel for errors.

Okay finally found it.
Same error as you posted.

For my info what creates the file never seen it before? But then I am new to apache.


Blue Man Group


There is no such thing as stupid questions. Just stupid answers
Re: 7.5b2 - Inline attachments not displaying in posts [Re: Ruben] #222826
02/22/09 04:52 PM
02/22/09 04:52 PM
Joined: Dec 2003
Posts: 5,827
Lutz,FL
Ruben Offline

Ruben  Offline


Joined: Dec 2003
Posts: 5,827
Lutz,FL
For now I just commented out the new portion.
just below:
Quote:
$file = rawurlencode($file);

and before
Quote:
// Display inline


And it works again.


Blue Man Group


There is no such thing as stupid questions. Just stupid answers
Re: 7.5b2 - Inline attachments not displaying in posts [Re: ScriptKeeper] #222836
02/23/09 04:51 AM
02/23/09 04:51 AM
Joined: Jun 2007
Posts: 19
UK
J
JimUK Offline
stranger
JimUK  Offline
stranger
J
Joined: Jun 2007
Posts: 19
UK
I see exactly the same symptoms and the same error in the error_log file.

Re: 7.5b2 - Inline attachments not displaying in posts [Re: JimUK] #222850
02/23/09 10:35 AM
02/23/09 10:35 AM
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
R
Rick Offline
Former Developer
Rick  Offline
Former Developer
R
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
Looks like not everyone has this function available, so going to have to alter this a bit so it doesn't request the headers when the function isn't available. Will have this fixed for the final release.


Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Users Unable to Upload Avatar [Not a Bug]
by M4TT. 12/13/17 08:51 AM
Shout Box Sound Effect
by M4TT. 11/29/17 08:28 PM
Ad island
by TGCsanderson. 11/25/17 06:41 PM
Taking to long to connect to DB
by AstroCat. 11/24/17 12:34 PM
Forum Statistics
Forums36
Topics35,015
Posts190,545
Members12,046
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Snapshot build 20171217)