Firefox PHP

Module: Embed Images

Posted by Maurice Makaay 
Re: Module: Embed Images
January 22, 2009 07:00PM
Me neither since I did not look into it. But often, fixing one problem could lead to fixing another problem. In this case, it sounds like the viewer problem was a side effect of the other problem you had. That happens with code.

5.2.10-RC1 is the release candidate for the next Phorum release 5.2.10. This one can be found on the downloads page. But since you fixed it already, you can wait for the official release before upgrading.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Embed Images
January 22, 2009 11:47PM
I use 5.2.9a, and the reason of my suprise is that I have this release working perfectly under at least five different OS or computers, it is on the new one the problem occur. I suspect Plesk ... and its various configuration files who are I don't know where!

I finally understood what is 5.2.10.RC-1 ... be sure I will wait the 5.2.10a or even 5.10z !
Re: Module: Embed Images
January 23, 2009 08:33AM
The difference can be due to other PHP configuration on the system. If for example output buffering is enabled by default on the other systems, then that might be the explanation. Maybe some other setting, like showing warnings on screen or not. There's all kinds of PHP settings and these can defenitely make Phorum work on one system and break on the other. Our challenge is to make it work regardless the exact setup.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Error on signature files...
January 25, 2009 12:00PM
I did a conversion to 5.2.9a yesterday. Now my users that have images in their signatures get the following error:

Image error
Running getimagesize() on the image data failed
open image URL
chest.gif

This happens when the image file is loaded and stored using the Control Center "My Files" function. If I put a URL to an image stored on another location, it works just fine.

I have updated all mod files. I am using both embed attachments and embed images. These mods are working fine on images that are attached to the main body of a message.

Not sure what info to provide but if you need more, I'll be glad to provide.
Re: Error on signature files...
January 25, 2009 04:13PM
Possibly, you have configured the forum to not allow image links that are not coming from the forum itself. This might sound strange, but the thing is that the webserver needs to retrieve the image directly to the server, to check its size.

In the admin interface, under "General Settings", check and change the option "Allow Linking To Uploaded Files". See if that helps.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Error on signature files...
January 25, 2009 04:28PM
I already checked that but I went ahead and check it again. It is set to "From any web site".

It is really strange. Images work just fine in other parts of the message, whether from the server or from an external source. It is just in the signature.

I also disabled the "Format Signature" mod to see if that was causing a problem. No Difference.
Re: Error on signature files...
January 25, 2009 04:46PM
Do images from the personal file upload space work in the body too? Because the signature is formatted as an integral part of the body text, there should not be a difference in behavior between images in the footer and images in the body


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Error on signature files...
January 25, 2009 05:01PM
I just tried it. I went to my personal file space, clicked on the image name, then copied the url. I then put that url in a message body. It did not work. Came up with same error I am seeing in the signature area.

Here is the link to the image. If you put it into your browswer address bar, it works just fine.

[www.mytreasurespot.com]
Re: Error on signature files...
January 25, 2009 05:51PM
Yeah, but the issue is that the webserver is not able to retrieve the file by its URL. This might have various reasons. Before taking an different route: has the embed_images module ever worked for you or is this the first time that you try?


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Error on signature files...
January 25, 2009 05:57PM
I had installed it on my 5.1.10 install and it worked fine both in the signature and in the message body. What I find interesting is that I allow my users to upload and attached images in the message body, so in theory these are stored in the same place as the personal file area. Everything works fine with the attachments in the message body.
Sorry, only registered users may post in this forum.

Click here to login