FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » FUD 3.0.2 (preview image before sending)
Show: Today's Messages :: Unread Messages :: Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
FUD 3.0.2 [message #163647] Sun, 21 November 2010 10:40 Go to next message
Martin_E is currently offline  Martin_E   Germany
Messages: 16
Registered: November 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
After upgrade to current version 3.0.2 it is not able to make a preview of the image, which was upload by forum itself.

If you look into fud_attach table you will see not the location of file is "placeholder" until the message will saved.

Re: FUD 3.0.2 [message #163657 is a reply to message #163647] Sun, 21 November 2010 21:36 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Definitely a bug!
Do you perhaps know if it was working in 3.0.1?
Aw: Re: FUD 3.0.2 [message #163661 is a reply to message #163657] Mon, 22 November 2010 05:34 Go to previous messageGo to next message
Martin_E is currently offline  Martin_E   Germany
Messages: 16
Registered: November 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
yes it was working fine with 3.0.1.

You can reproduce the issue. You will need a mysql tool and FUDForum 3.0.2.

Create a new message, chose a file (picture), upload it to forum and insert it to the message.
Now you will see in the fut_attch table a new entry and "location" is filled with "placeholder"

If you click on preview message, you will see the missing picture error.
If you click create message, the message was created and in the table the "placeholder" was replaced with the correct location.

[Updated on: Mon, 22 November 2010 05:35]

Report message to a moderator

Re: Aw: Re: FUD 3.0.2 [message #163663 is a reply to message #163661] Mon, 22 November 2010 09:02 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
A quick fix is to edit src/attach.inc.t, change
\'placeholder\'
to
\'\'
and rebuild your themes.

PS: This will not work for Oracle where '' is considered NULL (location is a NOT NULL col). I'll submit a proper patch later.
Aw: Re: Aw: Re: FUD 3.0.2 [message #163667 is a reply to message #163663] Mon, 22 November 2010 12:01 Go to previous messageGo to next message
Martin_E is currently offline  Martin_E   Germany
Messages: 16
Registered: November 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
This is a fine working workaround.
Thanks!
Message by The Witcher is ignored  [reveal message]  [reveal all messages by The Witcher]  [stop ignoring this user] Go to previous messageGo to next message
Aw: Re: Aw: Re: FUD 3.0.2 [message #165864 is a reply to message #165841] Thu, 18 August 2011 19:52 Go to previous messageGo to next message
JanRei is currently offline  JanRei   Germany
Messages: 361
Registered: October 2005
Location: Germany
Karma: 0
Senior Member
Contributing Core Developer
Translator
remove from buddy list
ignore all messages by this user
Image preview should be fixed in 3.0.3RC1. If you have installed it you could try it there. I could not reproduce it.

This forum here is still running version 3.0.2 that suffers from this bug.

[Updated on: Thu, 18 August 2011 19:52]

Report message to a moderator

Message by The Witcher is ignored  [reveal message]  [reveal all messages by The Witcher]  [stop ignoring this user] Go to previous messageGo to next message
Aw: Re: Aw: Re: Aw: Re: FUD 3.0.2 [message #165866 is a reply to message #165865] Thu, 18 August 2011 21:08 Go to previous messageGo to next message
JanRei is currently offline  JanRei   Germany
Messages: 361
Registered: October 2005
Location: Germany
Karma: 0
Senior Member
Contributing Core Developer
Translator
remove from buddy list
ignore all messages by this user
I am not sure what tags you are referring to. In the text box you should see something like [img]index.php?t=getfile&id=6082&private=0[/img]. In the preview and the actual post you should see the uploaded image instead.
Re: Aw: Re: Aw: Re: Aw: Re: FUD 3.0.2 [message #165867 is a reply to message #165866] Thu, 18 August 2011 21:45 Go to previous messageGo to next message
The Witcher is currently offline  The Witcher   United States
Messages: 675
Registered: May 2009
Location: USA
Karma: 3
Senior Member
add to buddy list
stop ignoring messages by this user
Right!
I expected to see something like this in preview:index.php?t=getfile&id=6192&private=0

Instead I saw something like this: (note that the image tags are missing) even though the image displays properly after posting!index.php?t=getfile&id=6193&private=0

Though you can see it in preview when editing!


"I'm a Witcher, I solve human problems; not always using a sword!"

[Updated on: Thu, 18 August 2011 21:46]

Report message to a moderator

Aw: FUD 3.0.2 [message #165878 is a reply to message #163647] Fri, 19 August 2011 06:57 Go to previous messageGo to next message
JanRei is currently offline  JanRei   Germany
Messages: 361
Registered: October 2005
Location: Germany
Karma: 0
Senior Member
Contributing Core Developer
Translator
remove from buddy list
ignore all messages by this user
I don't think the tags are missing. If you right click the address in the preview you will notice that it is actually an image.

The bug is that the forum fails to deliver the content of the image to browser. Because of this the address is shown as alternative text.

[Updated on: Fri, 19 August 2011 06:57]

Report message to a moderator

Message by The Witcher is ignored  [reveal message]  [reveal all messages by The Witcher]  [stop ignoring this user] Go to previous message
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: error message in 3.0.3rc1
Next Topic: Issues with captcha images
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Oct 14 11:08:39 EDT 2024

Total time taken to generate the page: 0.05120 seconds