Something very odd happaned today. On a page running a chart, the Flash plugin would throw an error and force the browser to crash. I reproduced this among multiple machines and with both IE and Firefox. Since I had never seen this before I was really thrown for a loop.
I decided to pop over to the CF Admin to see if anything was logged. I then discovered that the server had reverted to Developer mode and I wasn't allowed in. I went to the box itself - entered the serial - restarted - and when I returned to the site with my browser it all worked fine.
So - something to look out for folks!
Archived Comments
The developer's edition is supposed to have a watermark stating:
"ColdFusion MX 7 Developer Edition Not for Production Use"
The text's alpha is faded and superimposed on output from CFDOCUMENT, CFCHART, and reports and only serve requests to localhost and 2 other IPs.
I tried to reproduce this and found that when requesting the charts from a new client where the license limit will be exceeded, the chart is never even attempted to be loaded so the flash player was never loaded.
The only page output is a CF error stating:
"A License Exception has been thrown.
You tried to access the developer edition from a disallowed IP"
For me, the Flash Player was definitely loading (hence the crash). Let me ask you this. When you tested, and the server "expired", did you restart the server _before_ you tested? In my case, it was a "good" server that expired during the day.
Speaking of CFChart - any idea why the fontsize attribute does absolutely nothing to the data labels in the chart? My labels are huge - so huge that in a cluster bar graph they overlap each other and look horrible...
Hey Steven - I think I see the problem. You need to test with this scenario. CF server is in trial mode. You hit /foo.cfm where foo.cfm has a cfchart in it. Let CF expire. Hit the server with two DIFFERENT boxes, so that now the box is "tied" up license wise. With the ORIGINAL browser, hit the same page again. The page must load from the browser cache. So you actually see page content, NOT the license warning. However, the FLash chart will attempt to load fro the server - and this is where the crash comes in.
Thanks man this worked perfectly. Surprised the hell out of us when it started giving us the exception thrown. Also you should mention that the file where they put the key in is License.properties open that in notepad, the file speaks for itself and boom all done.
Note: I am still using a developer edition license
I am querying a list of values with pre calculated percents, and a corresponding list of value names, which get turned into arrays, the cfchartseries tagg is cflooped through so that it will work with the arrays, but when I try to get the chart to render in the browser, it gives me values like 4,400% when the percent label format is selected. But other wise if it is left as the default it says 44(a pre calculated percent)
Why???