The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Images suddenly showing up as attchments
Recently my forum started showing images as attchments.
Repro: Click "Insert image" in a post Choose any image click ok result: image never comes up in WYSIWYG editor instead this text appears: [attachment]###[/attachment] The file does get uploaded and is accessible to all users. Any ideas what could be causing this? The only real change I made recently was to move to PHP5.4. Thanks |
#2
|
|||
|
|||
I believe it's a BBCode / Browser issue.
Consider voting for this... http://tracker.vbulletin.com/browse/VBIV-15470 and these... http://tracker.vbulletin.com/browse/VBIV-15459 http://tracker.vbulletin.com/browse/VBIV-15462 |
#3
|
||||
|
||||
Are you sure you are using the WYSIWYG editor and not the Source editor (they get toggled right there in the editor)?
|
#4
|
|||
|
|||
I use the WYSIWYG editor.
Both the simple and complex one fail in both FF and Chrome. I voted for one one the issues, but they don't seem to be exactly the issue I am having. I'll try some trouble shooting with the source editor once I renable it. A curious detail: After adding an image it appears as an attachment "[attachment]123[attachment]" in the body of the WYSIWYG editor. I can then add the attachment using the drop-down of the attachment icon. This adds and displays the image properly in the editor. The image management dialog pops up as expected. When I save the post, the images all revert to attachments (simple links). showthread.php displays no images. Edit that post again, and I see images in the editor just like I did when I saved the post. |
#5
|
||||
|
||||
Do you have a custom style? Do you have any modifications? Can we get a link to see a post with this problem.
|
#6
|
|||
|
|||
I fixed the problem, but I don't know what caused it.
I noticed that any new images did not have a thumbnail in the attachment manager. Everything displayed as the default "?" thumbnail. So I rebuilt the thumbnails in "Control panel -> Maintenance". That not only made the thumbnails appear, but also made the image upload process work again. I can now upload images again. It does not look like I'll have to rebuild the thumbnail cache again. There is something wrong in the source, for sure. I did not find the problem yet. I'll search some more, but without an error and stack trace I'll have a hard time finding the problem. Just to reply: Everything is custom about my site. Custom hacks, plugins,... you name it. This post caused all the trouble, but it works now. |
#7
|
|||
|
|||
This was caused by running on PHP 5.4. Reverting to 5.3 fixes the issue.
Thumbnail creation does not work. http://tracker.vbulletin.com/browse/VBIV-14794 I guess VB does not support PHP5.4. At least not now. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|