Re: Character encoding problem

2009-01-21 Thread Paul Hastings
Nathan Strutz wrote: > First, always use UTF-8, whenever you can, it's the best solution all > around. it won't matter on cf5, it doesn't know encoding from a hole in the ground especially w/an ODBC access datastore. ~| Adobe®

Re: Character encoding problem

2009-01-21 Thread Nathan Strutz
Claude, A couple things to try off the top of my head... First, always use UTF-8, whenever you can, it's the best solution all around. If you could use CFMX, I would say to use the setEncoding function, you tell it what scope and what encoding, and it somehow helps encode it. And last, set an e

RE: view protected pdf

2009-01-21 Thread Kenny J. Willis
Password protected -Original Message- From: Chuck [mailto:h...@coldfusionguru.com] Sent: Wednesday, January 21, 2009 7:17 PM To: cf-talk Subject: RE: view protected pdf What do you mean by protected? Password protected or PDFs stored outside of the webroot? -Original Message- F

Re: CSS in .cfm file

2009-01-21 Thread James Holmes
You probably need to add Cache-Control and possibly Pragma headers fro the cache to work. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/1/22 Wil Genovese : > Well, I have to take that back. I was positive it was caching, but > now I can't seem to make it

Re: CSS in .cfm file

2009-01-21 Thread Wil Genovese
Well, I have to take that back. I was positive it was caching, but now I can't seem to make it do so. But it still reads the style info properly. Using Firebug to view my NET activity show that the cfm style sheet is reloaded every time even after turing on Coldfusion caching. I added a

RE: view protected pdf

2009-01-21 Thread Chuck
What do you mean by protected? Password protected or PDFs stored outside of the webroot? -Original Message- From: Ken Willis [mailto:k...@alliedinformationresource.com] Sent: Wednesday, January 21, 2009 9:16 PM To: cf-talk Subject: view protected pdf I have used cfpdf to protect pdfs on

Re: CSS in .cfm file

2009-01-21 Thread Wil Genovese
Adrian, I had to test this since this is something I wanted to do for generating style sheets from users preferences saved in a DB. I can get the style sheet to cache using cfheader. I also used cfcontent to set the text/css content type so as far as the browser knows it has received nothi

Re: CFContent and PDF problems

2009-01-21 Thread Ken Willis
I have had this problem before. My extremely low tech solve was to shutdown browser and then remove adobe from memory through the task manager. hope this helps. ~| Adobe® ColdFusion® 8 software 8 is the most important and dra

view protected pdf

2009-01-21 Thread Ken Willis
I have used cfpdf to protect pdfs on my server. now i need to be able to show those protected pdfs to the user upon request. Does anyone have a solution to this? thanks in advance ~| Adobe® ColdFusion® 8 software 8 is the mo

Re: CFPDFForm and Ability to Update From Reader Later?

2009-01-21 Thread Dave Watts
> "It's just the way it is" > > Not so. Apple Preview Users are able to edit the generated PDF's just fine. Apple Preview is not Adobe Reader. It's a third-party application which can do whatever Apple wants it to do with PDFs. Third-party PDF applications are not constrained by the limitations of

Re: CFPDFForm and Ability to Update From Reader Later?

2009-01-21 Thread Matthew Reinbold
"It's just the way it is" Not so. Apple Preview Users are able to edit the generated PDF's just fine. This seems to imply a couple things: 1) There is nothing wrong with the structure of the PDF - rather, Adobe Reader is enforcing arbitrary restrictions 2) Would they be doing this to encourage

Re: CFPDFForm and Ability to Update From Reader Later?

2009-01-21 Thread Dave Watts
> I currently have a PDF form that has had usage rights enabled (in Acrobat > under 'Advanced' then 'Enable Usage Rightes'). If I give this form, as is, to > someone with only Adobe Reader they > can enter info, save it to their desktop, and continue editing again at their > leisure. > > What I

Character encoding problem

2009-01-21 Thread Claude Schneegans
Hi, I'm posting this question for a friend of mine who has two problems: 1 the one described below, 2 although he is registered in CF-Talk, his posts do not get trhrough. Hello, Sometimes accented characters entered in a textarea field are replaced with strange characters when recorded in my MS

CFPDFForm and Ability to Update From Reader Later?

2009-01-21 Thread Matthew Reinbold
I currently have a PDF form that has had usage rights enabled (in Acrobat under 'Advanced' then 'Enable Usage Rightes'). If I give this form, as is, to someone with only Adobe Reader they can enter info, save it to their desktop, and continue editing again at their leisure. What I would like t

Re: CSS in .cfm file

2009-01-21 Thread Mike Chabot
Adrian, Merging all CSS and JS into a single download is done all the time in the ASP.NET world. I think this would be considered a best-practice for Web-site programming. You should be able to keep the .css extension on the original file and cfinclude it into the cfm file. This is easier to pull o

Re: Railo on Windows VPS + IIS

2009-01-21 Thread Yves Arsenault
Hi Gert, I tried : "C:\Program Files\Railo\httpd.exe" -Xms512M -Xmx512M -conf conf/resin.conf -java_home jre -java_exe jre\bin\java in Start-Run.. Only, I used the command that was in the windows service properties of Railo.. which was: "C:\Program Files\Railo\httpd.exe" -Xms256M -Xmx512M -co

RE: Wacked out CF Link Change

2009-01-21 Thread Robert Harrison
Thanks. That was dead on what it was. I found it just as this email came in. Robert B. Harrison Director of Interactive services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either

AW: Railo on Windows VPS + IIS

2009-01-21 Thread Gert Franz
Yves, normally you could only receive this message when Railo is running on a different port and you call the server over localhost directly. We had some issues in the past because Caucho has changed the default port of the servlet where Resin is listening from 6800 to 6802. But you should investi

Re: cffile uploads and Load balancing

2009-01-21 Thread Nathan Strutz
Sounds like your load balancing isn't set up to allow multipart posts, or maybe there's a size limit - try uploading something like a 3-byte text file, just for kicks, and submit a multipart form with no attachment to see which it is. Either way, your load balancing setup sounds like it's misconfi

RE: Wacked out CF Link Change

2009-01-21 Thread Robert Harrison
No REGEX. There is no target in the value of any of the vars. I'm thinking maybe someone added a Custom Extension to the server and it's affecting my files. Robert B. Harrison Director of Interactive services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext.

Railo on Windows VPS + IIS

2009-01-21 Thread Yves Arsenault
Hey there, There was a thread on here yesterday about VPS and running Railo... Turns out... today, I'm installing Railo on a GoDaddy VPS for a client. Wondering if anyone has ever run across a 500 Servlet error after install? That's what it gives me when I'm viewing : http://127.0.0.1:8600/index.

Re: Wacked out CF Link Change

2009-01-21 Thread Jason Fisher
Where is url_1 getting set? I could only see that insertion happening if the set looks like this: That would also explain the double "" which you can see after the _blank in your sample. >Here's the actual output: > > href="http://www.austin-williams.com/em_click.cfm?mail_id=844&pid=09

Re: CSS in .cfm file

2009-01-21 Thread Ian Skinner
The only main downside to this is that browsers may not cache the style and|or script files as it would with normal file extensions increasing bandwidth and load times for web pages. I believe this can be mitigated with some proper headers added to these files with the tags, but I have never

RE: Wacked out CF Link Change

2009-01-21 Thread Adrian Lynch
Are you running some sort of regex to replace output? CF won't do that to links, can we see the code in context? Adrian > -Original Message- > From: Robert Harrison [mailto:rob...@austin-williams.com] > Sent: 21 January 2009 16:52 > To: cf-talk > Subject: Wacked out CF Link Change > > S

CSS in .cfm file

2009-01-21 Thread Adrian Lynch
I've done it in the past and it's never been a problem, but I'm wondering if there is ever a reason not to have the following: Do any browsers complain that it's not a .css file? I think it'll be ok but does anyone know different? One downside, opening a .cfm page in the IDE, you might not get

Wacked out CF Link Change

2009-01-21 Thread Robert Harrison
Somehow CF is adding an incorrect... target="blank" into my URLs. Here's the CF Output Code: Here's the actual output: http://www.austin-williams.com/em_click.cfm?mail_id=844&pid=0901204994 045&lnk=http%3A%2F%2Fwww%2Eaustin%2Dwilliams%2Ecom" target="_blank""> Where is ...

Re: SOT: Serving GIS data on the cheap.

2009-01-21 Thread Ian Skinner
Ian Skinner wrote: > Anybody out there work with serving GIS data on a website. Best candidate I have found to date to export GIS data into raster tiles or KMZ|KML data for use with Google Maps and|or Google Earth. http://www.globalmapper.com/ ~~~

RE: cffile cannot access network drive

2009-01-21 Thread Bobby Hartsfield
Then your options are limited to having the same user on each machine and running the CF service as that user. Just make the user an administrator and use the administrative shares if you aren't comfortable playing with the permissions. There is a hidden admin share for each drive on the machines.

Re: cffile cannot access network drive

2009-01-21 Thread Matthew Small
This is Windows, right? As these are not domain machines, create an account on the machine whic has permissions necessary to run CF, and set that as your CF account. Create an account on the remote machine with the same username and password that has permission to access the remote share. The

Re: cffile cannot access network drive

2009-01-21 Thread sam Detweiler
>So I take it these servers aren't on a domain... > >.:.:.:.:.:.:.:.:.:.:. >Bobby Hartsfield >http://acoderslife.com >http://cf4em.com > correct.. only for development and pre-production test Sam ~| Adobe® ColdFusion® 8 software

RE: cffile cannot access network drive

2009-01-21 Thread Bobby Hartsfield
So I take it these servers aren't on a domain... ..:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: sam Detweiler [mailto:sdetw...@gmail.com] Sent: Wednesday, January 21, 2009 8:47 AM To: cf-talk Subject: Re: cffile cannot access net

Re: cffile cannot access network drive

2009-01-21 Thread sam Detweiler
>If you cant change one, then change the other. As in, change CF to run as >you. > >.:.:.:.:.:.:.:.:.:.:. >Bobby Hartsfield well, it takes adding a user to the service, adding that user to the server, AND specifying both access permission AND security permission to the user (or group). AND acce

Re: AW: Railo Hosting or a very basic VPS to install it on

2009-01-21 Thread David Strong
Do you need SQL Server 2008? Will MySQL do? If you can live with LINUX, check out eapps.com. They specialize in Java related hosting. Been using them for over 6 months. very happy. All their plans include root access. I am using railo/jetty/litespeed setup, with Percona performance patched M

Re: Strange error with cffeed

2009-01-21 Thread James Holmes
I've given read and execute - I haven't tried with execute only but I will and I'll report the results. While it's quite possible to escalate privilege as you say, it's also possible we'd catch people doing this with our regular automated server checks - and I can find out where they live :-) It's

RE: Railo Hosting or a very basic VPS to install it on

2009-01-21 Thread Adrian Lynch
Thanks all, I'll take a look and post back with my experiences soon. Adrian > -Original Message- > From: Gert Franz [mailto:gert.fr...@railo.ch] > Sent: 20 January 2009 17:00 > To: cf-talk > Subject: AW: Railo Hosting or a very basic VPS to install it on > > Hi Adrian, > > I was just ab

help with using CFCProxy.

2009-01-21 Thread cf coder
Hello everybody, I want to call ColdFusion objects from a Java class. I found this docucmentation by Ben Forta on CFCProxy: http://www.forta.com/misc/cfcproxy.htm I have a my CFC (see below) that has an init function which initialies all the objects?

Re: Strange error with cffeed

2009-01-21 Thread Jochem van Dieten
On Tue, Jan 20, 2009 at 8:00 AM, James Holmes wrote: > We have sandboxing turned on; while just about everything works as you > would expect without it, it appears that for some functionality > (including cffeed) the path to [coldfusion > instance]/WEB-INF/cfusion/lib needs to be added to the sandb

AW: Railo Hosting or a very basic VPS to install it on

2009-01-21 Thread Gert Franz
Adrian, you might want to contact Peter Amiri from Alurium (pe...@alurium.com) since he is just building up a hosting environment with Railo. Let me know if you need anything else and I would be glad to help. Greetings from Switzerland Gert Franz Railo Technologies GmbH gert.fr...@railo.ch www.ra