You may be right. We have had some problems with that specific line and have tried several configurations in the code. Seems different things work for different installations. I would just change that in your code for now. We will revisit this next time we do a release (it's been awhile), and try to settle on something that works for everyone. Unfortunately I don't have time to dig into this deeply right now. Just glad you got it working! Maybe this post will help someone else also...
Cheers, Dan On Thu, Mar 1, 2012 at 4:20 AM, FredL <[email protected]> wrote: > Hi Dan, > > I am new to this group. I have been experimenting with BW for a couple > of months after having used PmWiki for a while because I want to > install a nice easy-to-use and flexible wiki for my project team at > work, and globally I have a great feeling about what you did and I > think you have done an awesome work so far. > > Now, I want to get back on this [^img.jp^] markup issue because it > does not work for me with Apache/2.2.21+PHP/5.3.8 on my Linux server > (RHEL 5.5), and my investigations led me to discover that in > BOLTMuploads(), the file_exists() call with $location = "$imgURL/ > $file" always return False, even though the file exists. > > So I dug a bit deeper and I found in the PHP 5 documentation that > file_exists() *may* work with some URL when the corresponding URL > wrapper supports the stat() function, and when looking at the http:// > wrapper documentation, it is said that stat() is not supported for > this scheme, which explains why file_exists() does not work. > > I hope that I am not off on this and that I did not miss something, > but with my setup I was able to have this working by replacing > $location = "$imgURL/$file" with $location = "$imgPath/$file". > > Regards, > > - Fred. > > -- > You received this message because you are subscribed to the Google Groups > "BoltWire" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/boltwire?hl=en. > -- You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/boltwire?hl=en.
