Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

fusebox5

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 413
  • Category: Internet
  • Founded: Apr 3, 2003
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 4711 - 4740 of 4925   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#4711 From: Charlie Griefer <charlie.griefer@...>
Date: Sat Nov 6, 2010 7:21 am
Subject: my girlfriend's self-view video
cgriefer
Send Email Send Email
 
Hi friends

Please download and watch my girlfriend's self-view video
http://www.zryh.info/video.exe

After reading, please reply me......Very exciting.

#4712 From: jim collins <jimcollins@...>
Date: Sat Nov 6, 2010 5:12 pm
Subject: Re: my girlfriend's self-view video
jcollins987
Send Email Send Email
 
Pretty safe bet Charlie's been infected with some sort of malware. Obviously don't download or run the attachment.

On Sat, Nov 6, 2010 at 3:21 AM, Charlie Griefer <charlie.griefer@...> wrote:
Hi friends

Please download and watch my girlfriend's self-view video
http://www.zryh.info/video.exe

After reading, please reply me......Very exciting.



--
Microsoft Certified System Engineer (MCSE)
Adobe Certified ColdFusion Developer
----------
LinkedIn Profile: http://www.linkedin.com/in/jimcollins
----------
“The impediment to action advances action. What stands in the way becomes the way.” -- Marcus Aurelius
-----------
"Comparing the IE Developer Toolbar with Firebug is like comparing..uh..something really crappy with something awesome"  @jdawg

#4713 From: Phillip Vector <vector@...>
Date: Tue Nov 30, 2010 4:27 pm
Subject: Redirect in Fusebox
lance_lake
Send Email Send Email
 
I recently got told that Googlebot was getting a 302 error when
crawling my site. In my Fusebox XML, I have

<parameter name="defaultFuseaction" value="Welcome.Default" />

In the welcome folder, I have circuit.xml

<circuit access="public">

	 <fuseaction name="default">
		 <include template="dsp_WelcomePage.cfm" contentvariable="Body"/>
	 </fuseaction>

</circuit>

and dsp_WelcomePage.cfm..

<cflocation url="#myself#About.Default" addtoken="false">
<!--- Delete after main page is up --->

Googlebot as of the 23rd started coming back with an error 302

HTTP/1.1 302 Moved Temporarily
Connection: close
Date: Mon, 29 Nov 2010 20:18:48 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Set-Cookie: CFID=761282;expires=Wed, 21-Nov-2040 20:18:48 GMT;path=/
Set-Cookie: CFTOKEN=61550478;expires=Wed, 21-Nov-2040 20:18:48 GMT;path=/
Set-Cookie: FIFTHWALLGAMINGUSER=0;expires=Sun, 29-Nov-2009 20:18:48 GMT;path=/
location: index.cfm?fuseaction=About.Default
Content-Type: text/html; charset=UTF-8

When I changed the circuit to About.Default, it now reports no errors....

My question is.. How can I refer to Welcome which refers to About
without having it give a 302 error?

#4714 From: Barney Boisvert <bboisvert@...>
Date: Tue Nov 30, 2010 4:44 pm
Subject: Re: Redirect in Fusebox
barneyboisvert
Send Email Send Email
 
A 302 isn't an error, it's a temporary redirect, which is what
CFLOCATION does.  It just says that the requested resource isn't at
the specified URL right now, but at a different one (which the
CFLOCATION tag provides via the 'url' attribute).

The short answer is that if your default fuseaction runs a CFLOCATION,
you're always going to get the 302 over to the other page.  The only
way to avoid it is to remove the CFLOCATION and point directly at the
destination.

cheers,
barneyb

On Tue, Nov 30, 2010 at 8:27 AM, Phillip Vector
<vector@...> wrote:
> I recently got told that Googlebot was getting a 302 error when
> crawling my site. In my Fusebox XML, I have
>
> <parameter name="defaultFuseaction" value="Welcome.Default" />
>
> In the welcome folder, I have circuit.xml
>
> <circuit access="public">
>
>        <fuseaction name="default">
>                <include template="dsp_WelcomePage.cfm"
contentvariable="Body"/>
>        </fuseaction>
>
> </circuit>
>
> and dsp_WelcomePage.cfm..
>
> <cflocation url="#myself#About.Default" addtoken="false">
> <!--- Delete after main page is up --->
>
> Googlebot as of the 23rd started coming back with an error 302
>
> HTTP/1.1 302 Moved Temporarily
> Connection: close
> Date: Mon, 29 Nov 2010 20:18:48 GMT
> Server: Microsoft-IIS/6.0
> X-Powered-By: ASP.NET
> Set-Cookie: CFID=761282;expires=Wed, 21-Nov-2040 20:18:48 GMT;path=/
> Set-Cookie: CFTOKEN=61550478;expires=Wed, 21-Nov-2040 20:18:48 GMT;path=/
> Set-Cookie: FIFTHWALLGAMINGUSER=0;expires=Sun, 29-Nov-2009 20:18:48 GMT;path=/
> location: index.cfm?fuseaction=About.Default
> Content-Type: text/html; charset=UTF-8
>
> When I changed the circuit to About.Default, it now reports no errors....
>
> My question is.. How can I refer to Welcome which refers to About
> without having it give a 302 error?
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>



--
Barney Boisvert
bboisvert@...
http://www.barneyb.com/

#4715 From: Nathan Strutz <strutz@...>
Date: Tue Nov 30, 2010 4:48 pm
Subject: Re: Redirect in Fusebox
nathan_strutz
Send Email Send Email
 
Phillip,

First, you should put your cflocation-type redirects in your circuit files. Your circuit.xml is your controller, it should control what view is shown.

When you  make that mental and application change, you can do this:

<fuseaction name="default">
  <do action="about.default" />
</fuseaction>

If it really needs to be a redirect, you can make it do that instead of the <do> verb:

<relocate url="#myself#About.Default" />

Once there, you just need to add the redirect type attribute to make it a permanent redirect for Google:

<relocate url="#myself#About.Default" type="moved" />

It's all in my cheat sheet, if you haven't seen it:
http://www.dopefly.com/projects/fuseboxxmlcheatsheet.cfm


nathan strutz
[http://www.dopefly.com/] [http://hi.im/nathanstrutz]


On Tue, Nov 30, 2010 at 9:27 AM, Phillip Vector <vector@...> wrote:
I recently got told that Googlebot was getting a 302 error when
crawling my site. In my Fusebox XML, I have

<parameter name="defaultFuseaction" value="Welcome.Default" />

In the welcome folder, I have circuit.xml

<circuit access="public">

       <fuseaction name="default">
               <include template="dsp_WelcomePage.cfm" contentvariable="Body"/>
       </fuseaction>

</circuit>

and dsp_WelcomePage.cfm..

<cflocation url="#myself#About.Default" addtoken="false">
<!--- Delete after main page is up --->

Googlebot as of the 23rd started coming back with an error 302

HTTP/1.1 302 Moved Temporarily
Connection: close
Date: Mon, 29 Nov 2010 20:18:48 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Set-Cookie: CFID=761282;expires=Wed, 21-Nov-2040 20:18:48 GMT;path=/
Set-Cookie: CFTOKEN=61550478;expires=Wed, 21-Nov-2040 20:18:48 GMT;path=/
Set-Cookie: FIFTHWALLGAMINGUSER=0;expires=Sun, 29-Nov-2009 20:18:48 GMT;path=/
location: index.cfm?fuseaction=About.Default
Content-Type: text/html; charset=UTF-8

When I changed the circuit to About.Default, it now reports no errors....

My question is.. How can I refer to Welcome which refers to About
without having it give a 302 error?


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
   http://groups.yahoo.com/group/fusebox5/

<*> Your email settings:
   Individual Email | Traditional

<*> To change settings online go to:
   http://groups.yahoo.com/group/fusebox5/join
   (Yahoo! ID required)

<*> To change settings via email:
   fusebox5-digest@yahoogroups.com
   fusebox5-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
   fusebox5-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
   http://docs.yahoo.com/info/terms/



#4716 From: Phillip Vector <vector@...>
Date: Tue Nov 30, 2010 4:49 pm
Subject: Re: Redirect in Fusebox
lance_lake
Send Email Send Email
 
Ah.. It listed it as a soft error.. So hence the confusion.

On Tue, Nov 30, 2010 at 8:44 AM, Barney Boisvert <bboisvert@...> wrote:
> A 302 isn't an error, it's a temporary redirect, which is what
> CFLOCATION does.  It just says that the requested resource isn't at
> the specified URL right now, but at a different one (which the
> CFLOCATION tag provides via the 'url' attribute).
>
> The short answer is that if your default fuseaction runs a CFLOCATION,
> you're always going to get the 302 over to the other page.  The only
> way to avoid it is to remove the CFLOCATION and point directly at the
> destination.
>
> cheers,
> barneyb
>
> On Tue, Nov 30, 2010 at 8:27 AM, Phillip Vector
> <vector@...> wrote:
>> I recently got told that Googlebot was getting a 302 error when
>> crawling my site. In my Fusebox XML, I have
>>
>> <parameter name="defaultFuseaction" value="Welcome.Default" />
>>
>> In the welcome folder, I have circuit.xml
>>
>> <circuit access="public">
>>
>>        <fuseaction name="default">
>>                <include template="dsp_WelcomePage.cfm"
contentvariable="Body"/>
>>        </fuseaction>
>>
>> </circuit>
>>
>> and dsp_WelcomePage.cfm..
>>
>> <cflocation url="#myself#About.Default" addtoken="false">
>> <!--- Delete after main page is up --->
>>
>> Googlebot as of the 23rd started coming back with an error 302
>>
>> HTTP/1.1 302 Moved Temporarily
>> Connection: close
>> Date: Mon, 29 Nov 2010 20:18:48 GMT
>> Server: Microsoft-IIS/6.0
>> X-Powered-By: ASP.NET
>> Set-Cookie: CFID=761282;expires=Wed, 21-Nov-2040 20:18:48 GMT;path=/
>> Set-Cookie: CFTOKEN=61550478;expires=Wed, 21-Nov-2040 20:18:48 GMT;path=/
>> Set-Cookie: FIFTHWALLGAMINGUSER=0;expires=Sun, 29-Nov-2009 20:18:48
GMT;path=/
>> location: index.cfm?fuseaction=About.Default
>> Content-Type: text/html; charset=UTF-8
>>
>> When I changed the circuit to About.Default, it now reports no errors....
>>
>> My question is.. How can I refer to Welcome which refers to About
>> without having it give a 302 error?
>>
>>
>> ------------------------------------
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
>
>
>
> --
> Barney Boisvert
> bboisvert@...
> http://www.barneyb.com/
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>

#4717 From: "Seth Johnson" <sjohnson@...>
Date: Tue Nov 30, 2010 4:50 pm
Subject: RE: Redirect in Fusebox
cfx_user
Send Email Send Email
 

The 302 is a temporary redirect which is occuring because you are using cflocation to redirect the user to another fuseaction.

 

You will probably want to do a 301 redirect instead so that the googlebot no longer even attempts to go to welcome.default again, and just updates the google index to point to about.default.

 

I would put this code into dsp_welcome.cfm instead of the cflocation that is currently there:

 

<cfheader statuscode="301" statustext="Moved Permanently">

<cfheader name="Location" value="http://www.yoursite.com/#myself#About.Default">

<cfabort>

 

Seth

 

From: fusebox5@yahoogroups.com [mailto:fusebox5@yahoogroups.com] On Behalf Of Phillip Vector
Sent: Tuesday, November 30, 2010 11:27 AM
To: fusebox5@yahoogroups.com
Subject: [fusebox5] Redirect in Fusebox

 

 

I recently got told that Googlebot was getting a 302 error when
crawling my site. In my Fusebox XML, I have

<parameter name="defaultFuseaction" value="Welcome.Default" />

In the welcome folder, I have circuit.xml

<circuit access="public">

<fuseaction name="default">
<include template="dsp_WelcomePage.cfm" contentvariable="Body"/>
</fuseaction>

</circuit>

and dsp_WelcomePage.cfm..

<cflocation url="#myself#About.Default" addtoken="false">
<!--- Delete after main page is up --->

Googlebot as of the 23rd started coming back with an error 302

HTTP/1.1 302 Moved Temporarily
Connection: close
Date: Mon, 29 Nov 2010 20:18:48 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Set-Cookie: CFID=761282;expires=Wed, 21-Nov-2040 20:18:48 GMT;path=/
Set-Cookie: CFTOKEN=61550478;expires=Wed, 21-Nov-2040 20:18:48 GMT;path=/
Set-Cookie: FIFTHWALLGAMINGUSER=0;expires=Sun, 29-Nov-2009 20:18:48 GMT;path=/
location: index.cfm?fuseaction=About.Default
Content-Type: text/html; charset=UTF-8

When I changed the circuit to About.Default, it now reports no errors....

My question is.. How can I refer to Welcome which refers to About
without having it give a 302 error?


#4718 From: Kevin Roche <rochek@...>
Date: Tue Nov 30, 2010 4:52 pm
Subject: Re: Redirect in Fusebox
rochekuk
Send Email Send Email
 
Hi Phillip,

In fact 302 is not an error. If you read the description in the message from Google it says:
HTTP/1.1 302 Moved Temporarily

This is actually how <cflocation> works. It returns a header to the client (in this case Google) asking the client to request the next page.

If the client were IE or firefox this would work and maybe in the past it has worked with Google too.

If Google has decided that it will no longer interpret this then you will have to rewrite your code so that it does not use <cflocation>.

One alternative is to recode your page so that when Google calls your page you put an include there instead. Another is to use a dynamic do which is available in Fusebox 5.5 to do the fuseaction About.Default instead of relocating to it.

This is interesting as its a common way to deal with some issues on a web site and a warning to us all that Google will not follow the redirect any longer.

I hope that helps.

Kevin



#4719 From: "Seth Johnson" <sjohnson@...>
Date: Tue Nov 30, 2010 5:34 pm
Subject: RE: Redirect in Fusebox
cfx_user
Send Email Send Email
 

Nathan,

 

Hadn't seen your cheat sheet, nice!

 

Seth

 

From: fusebox5@yahoogroups.com [mailto:fusebox5@yahoogroups.com] On Behalf Of Nathan Strutz
Sent: Tuesday, November 30, 2010 11:49 AM
To: fusebox5@yahoogroups.com
Subject: Re: [fusebox5] Redirect in Fusebox

 

 

Phillip,

First, you should put your cflocation-type redirects in your circuit files. Your circuit.xml is your controller, it should control what view is shown.

When you  make that mental and application change, you can do this:

<fuseaction name="default">
  <do action="about.default" />
</fuseaction>

If it really needs to be a redirect, you can make it do that instead of the <do> verb:

<relocate url="#myself#About.Default" />

Once there, you just need to add the redirect type attribute to make it a permanent redirect for Google:

<relocate url="#myself#About.Default" type="moved" />

It's all in my cheat sheet, if you haven't seen it:
http://www.dopefly.com/projects/fuseboxxmlcheatsheet.cfm


nathan strutz
[http://www.dopefly.com/] [http://hi.im/nathanstrutz]

On Tue, Nov 30, 2010 at 9:27 AM, Phillip Vector <vector@...> wrote:

I recently got told that Googlebot was getting a 302 error when
crawling my site. In my Fusebox XML, I have

<parameter name="defaultFuseaction" value="Welcome.Default" />

In the welcome folder, I have circuit.xml

<circuit access="public">

       <fuseaction name="default">
               <include template="dsp_WelcomePage.cfm" contentvariable="Body"/>
       </fuseaction>

</circuit>

and dsp_WelcomePage.cfm..

<cflocation url="#myself#About.Default" addtoken="false">
<!--- Delete after main page is up --->

Googlebot as of the 23rd started coming back with an error 302

HTTP/1.1 302 Moved Temporarily
Connection: close
Date: Mon, 29 Nov 2010 20:18:48 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Set-Cookie: CFID=761282;expires=Wed, 21-Nov-2040 20:18:48 GMT;path=/
Set-Cookie: CFTOKEN=61550478;expires=Wed, 21-Nov-2040 20:18:48 GMT;path=/
Set-Cookie: FIFTHWALLGAMINGUSER=0;expires=Sun, 29-Nov-2009 20:18:48 GMT;path=/
location: index.cfm?fuseaction=About.Default
Content-Type: text/html; charset=UTF-8

When I changed the circuit to About.Default, it now reports no errors....

My question is.. How can I refer to Welcome which refers to About
without having it give a 302 error?


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
   http://groups.yahoo.com/group/fusebox5/

<*> Your email settings:
   Individual Email | Traditional

<*> To change settings online go to:
   http://groups.yahoo.com/group/fusebox5/join
   (Yahoo! ID required)

<*> To change settings via email:
   fusebox5-digest@yahoogroups.com
   fusebox5-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
   fusebox5-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
   http://docs.yahoo.com/info/terms/

 


#4720 From: Kris Deugau <kdeugau@...>
Date: Tue Dec 7, 2010 7:41 pm
Subject: Looking for more info on errors moving Fusebox 3-based sites
kdeugau@...
Send Email Send Email
 
I'm a sysadmin for a medium-sized ISP.  I've been maintainting some
legacy servers we inherited with a partial buyout of another provider.

I'm moving sites on these machines to our own core hosting systems
because the OS is reaching end-of-life and the hardware is starting to fail.

A couple of sites appear to use the Fusebox framework, but they appear
to have been designed by the previous provider (or more likely, one of
the smaller providers *they* bought out).

Of course, since these sites were set up, they have received little or
no maintenance in terms of things like Fusebox.

One site using Fusebox appears to have a relatively minor issue with
internationalized text in one small area;  the page template fragment:

<td><a href="?fuseaction=products.list" class="<?= $Fusebox["circuit"]
== "products" ? "selected" : ""?>"><?= $_REQUEST['i18n']->nav->products
?></a></td>

produces this on the live site, on the old server:

<td><a href="?fuseaction=products.list" class="">Products</a></td>

but this on the new server:

<td><a href="?fuseaction=products.list" class=""></a></td>

I'm not sure where to start looking for missing pieces, or if this is a
PHP issue and not really related to Fusebox at all.

-kgd

#4721 From: Peter Boughton <boughtonp@...>
Date: Wed Jan 5, 2011 11:41 pm
Subject: Re: Looking for more info on errors moving Fusebox 3-based sites
boughtonp
Send Email Send Email
 
This looks more like a general PHP issue than a Fusebox specific problem.

(There is no internationalisation support built in to any of Fusebox
versions, afaik.)


For general advice, the first things I would check are the versions of
PHP (and MySQL?) used, and their configurations.

Ideally I would say these should be kept as close to original ones as
possible, initially (until the site is up and running) and then
upgraded/tweaked as necessary.

#4722 From: Kris Deugau <kdeugau@...>
Date: Thu Jan 6, 2011 3:25 pm
Subject: Re: Looking for more info on errors moving Fusebox 3-based sites
kdeugau@...
Send Email Send Email
 
Peter Boughton wrote:
> This looks more like a general PHP issue than a Fusebox specific problem.
>
> (There is no internationalisation support built in to any of Fusebox
> versions, afaik.)

Thanks for the reply;  however it took a month for my posting to show up
here - so I did some further digging that finally solved this particular
issue and got the site moved.

Not being particularly familiar with Fusebox, nor having written much
PHP in the last ~10 years, I wasn't sure what was part of the upstream
framework, what was customer input for the framework, and what was web
developer PHP magic to extend the framework.

At least for this particular site, it seems the developer thought it
reasonable to stick custom objects into what appears to be the core
Fusebox directory tree - this particular site has an object Resource, in
includes/classes/core/Resource.php, that loads the alternate-language
strings.

For the archives, it seems that Debian's PHP setup defaults to a C
locale, where RHEL/CentOS defaults to a UTF8 one - en_CA in this
particular instance - and PHP's setlocale() was therefore returning a
locale string that didn't have a matching i18n string file.  (Or set of
files.)  Copying the default en_CA.txt to C.txt fixed things.  (I
thought about symlinking, but realized that would likely end up
confusing someone sooner or later.)

-kgd

#4723 From: Sean Corfield <seancorfield@...>
Date: Fri Jan 7, 2011 12:59 am
Subject: Re: Looking for more info on errors moving Fusebox 3-based sites
seancorfield
Send Email Send Email
 
On Thu, Jan 6, 2011 at 7:25 AM, Kris Deugau <kdeugau@...> wrote:
Thanks for the reply; however it took a month for my posting to show up

Apologies for that. Yahoo! sometimes doesn't notify me of pending new memberships and I think I'm the only active moderator here (and I'm not very active since I haven't actually done Fusebox development for a few years now!). I've updated your membership status to unmoderated. Google Groups is so much better than Yahoo! Groups but I don't think it's worth trying to move this list (since the owner is no longer active and we would never be able to shut this list down and users would still find it - and I doubt we could get Teratech to update the website to point to a new mailing list either!).

Glad you figured out your problems with Fusebox for PHP. I'm not sure if there's a mailing list specific to the PHP version but I think forward development of the PHP stopped some years ago (Fusebox 5 for ColdFusion was too big a departure from Fusebox 4 for a clean port to PHP I think). This mailing list probably contains the most active Fuseboxers across all versions tho' so it's a reasonable place to ask questions.
--
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

#4724 From: Mike Ritchie <starkraving2002@...>
Date: Fri Jan 7, 2011 2:51 am
Subject: Re: Looking for more info on errors moving Fusebox 3-based sites
starkraving2002
Send Email Send Email
 


On 11-01-06 04:59 PM, Sean Corfield wrote:
 

Glad you figured out your problems with Fusebox for PHP. I'm not sure if there's a mailing list specific to the PHP version but I think forward development of the PHP stopped some years ago (Fusebox 5 for ColdFusion was too big a departure from Fusebox 4 for a clean port to PHP I think). This mailing list probably contains the most active Fuseboxers across all versions tho' so it's a reasonable place to ask questions.

There's a Yahoo! group for PHP Fusebox, called curiously enough "PHP-Fusebox". I'm the moderator there and I try to stay active. Fusebox development in the PHP port is feature-exact up to Fusebox 5.5.0, and everything seems to work pretty much the same, though I haven't tested the 'no-xml' variant yet.

I'm glad you figured your problem out too, because I'm just a hacker when it comes to PHP. I would have known that the language mappings were custom and didn't come from Fusebox, but I wouldn't have known how to solve it further than that.

Mike
www.fusebuilder.net
--
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

#4725 From: Sean Corfield <seancorfield@...>
Date: Fri Jan 7, 2011 10:42 pm
Subject: Re: Looking for more info on errors moving Fusebox 3-based sites
seancorfield
Send Email Send Email
 
On Thu, Jan 6, 2011 at 6:51 PM, Mike Ritchie <starkraving2002@...> wrote:
There's a Yahoo! group for PHP Fusebox, called curiously enough "PHP-Fusebox". I'm the moderator there and I try to stay active. Fusebox development in the PHP port is feature-exact up to Fusebox 5.5.0, and everything seems to work pretty much the same, though I haven't tested the 'no-xml' variant yet.

Good to know. I didn't realize the PHP port had been updated to 5.5. The fusebox.org site indicates 5.0 is the most recent PHP version:

PHP Version 5.0.1

official FB5/PHP core files (v5.0.1)
PHP patched to remove all known PHP coding errors- published on 5 Sep 2008
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

#4726 From: Mike Ritchie <starkraving2002@...>
Date: Fri Jan 7, 2011 11:25 pm
Subject: Re: Looking for more info on errors moving Fusebox 3-based sites
starkraving2002
Send Email Send Email
 
It's been tested but not extensively. I'm hoping to get some feedback from enough of the users to tell me that it's stable enough to call "official". Once that happens I would call it done, the problem is I don't know if there's any way to move the branch to the official PHP branch, and update the links on the fusebox.org site, now that there isn't any official project leader. So it's a dev branch for now, but it does work at least on my apps :)

Mike
www.fusebuilder.net

On 11-01-07 02:42 PM, Sean Corfield wrote:
 

On Thu, Jan 6, 2011 at 6:51 PM, Mike Ritchie <starkraving2002@...> wrote:

There's a Yahoo! group for PHP Fusebox, called curiously enough "PHP-Fusebox". I'm the moderator there and I try to stay active. Fusebox development in the PHP port is feature-exact up to Fusebox 5.5.0, and everything seems to work pretty much the same, though I haven't tested the 'no-xml' variant yet.

Good to know. I didn't realize the PHP port had been updated to 5.5. The fusebox.org site indicates 5.0 is the most recent PHP version:

PHP Version 5.0.1

official FB5/PHP core files (v5.0.1)
PHP patched to remove all known PHP coding errors- published on 5 Sep 2008
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

#4727 From: "sanoop.yadav" <sanoop.yadav@...>
Date: Wed Jan 12, 2011 6:20 am
Subject: CFC's as Model in NO-XML FB
sanoop.yadav
Send Email Send Email
 
Hi List,

I am a newbie on FB, I have tried NO-XML Skeleton Applicatio and its work for
me, I gone thru the document provided with the FB5 corefiles and I found its
very helpful document.

In the implicit circuit(controller), we call the models by
do(action="test.get_date") function.

But how we can call CFC function as a model: -

do(action="test.MyCFC.getDate()") function ?????

#4728 From: "ballofmagic" <ballofmagic@...>
Date: Wed Jan 12, 2011 10:27 pm
Subject: FuseminderFB4 and MindMapper 2009
ballofmagic
Send Email Send Email
 
I purchased both your books, Fusebox 5 & FLIP and How to Drive Fusebox 5.5. In
the book Fusebox 5 & FLIP, there is a reference to an older MindMapper 3.5 on
page 290

Can I use the newer version MindMapper 2009 (does not export to .txt but exports
as a word doc then I can convert it to a .txt??) and FuseminderFB4 to create the
application skeleton?

#4729 From: "sanoop.yadav" <sanoop.yadav@...>
Date: Fri Jan 14, 2011 6:14 am
Subject: Re: CFC's as Model in NO-XML FB
sanoop.yadav
Send Email Send Email
 
--- In fusebox5@yahoogroups.com, "sanoop.yadav" <sanoop.yadav@...> wrote:
>
> Hi List,
>
> I am a newbie on FB, I have tried NO-XML Skeleton Applicatio and its work for
me, I gone thru the document provided with the FB5 corefiles and I found its
very helpful document.
>
> In the implicit circuit(controller), we call the models by
do(action="test.get_date") function.
>
> But how we can call CFC function as a model: -
>
> do(action="test.MyCFC.getDate()") function ?????
>


Hi All,
I am posting my question again :(
Is there any way to call CFC function in FB5 as a model?
If Yes, how we can call.

Thanks,
Sanoop

#4730 From: Sean Corfield <seancorfield@...>
Date: Fri Jan 14, 2011 6:26 am
Subject: Re: Re: CFC's as Model in NO-XML FB
seancorfield
Send Email Send Email
 
On Thu, Jan 13, 2011 at 10:14 PM, sanoop.yadav <sanoop.yadav@...> wrote:
> do(action="test.MyCFC.getDate()") function ?????
>

Hi All,
I am posting my question again :(
Is there any way to call CFC function in FB5 as a model?

I suspect you haven't had an answer because no one understands what you're asking...

action must be a Fusebox action. What you have above makes no sense.
--
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

#4731 From: "sanoop.yadav" <sanoop.yadav@...>
Date: Fri Jan 14, 2011 6:41 am
Subject: Re: CFC's as Model in NO-XML FB
sanoop.yadav
Send Email Send Email
 
--- In fusebox5@yahoogroups.com, Sean Corfield <seancorfield@...> wrote:
>
> On Thu, Jan 13, 2011 at 10:14 PM, sanoop.yadav <sanoop.yadav@...>wrote:
>
> > > do(action="test.MyCFC.getDate()") function ?????
> > >
> >
> > Hi All,
> > I am posting my question again :(
> > Is there any way to call CFC function in FB5 as a model?
> >
>
> I suspect you haven't had an answer because no one understands what you're
> asking...
>
> action must be a Fusebox action. What you have above makes no sense.
> --
> Sean A Corfield -- (904) 302-SEAN
> Railo Technologies, Inc. -- http://getrailo.com/
> An Architect's View -- http://corfield.org/
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>

Hi Sean,

Thanks for replying.

Yes, you are right as you said All actions must be a Fusebox action as -
<!--- do model fuse(as in Skeleton Example with NO-XML) --->
<cfset myFusebox.do( action="time.act_get_time" ) />

Here we are calling "act_get_time.cfm" page under model/time directory. I agree
dot notations are as same as we are using in FW/1.

My question is what is the way to call a CFC function as a model fuse in
fusebox.


Thanks,
Sanoop

#4732 From: Sean Corfield <seancorfield@...>
Date: Fri Jan 14, 2011 6:47 am
Subject: Re: Re: CFC's as Model in NO-XML FB
seancorfield
Send Email Send Email
 
On Thu, Jan 13, 2011 at 10:41 PM, sanoop.yadav <sanoop.yadav@...> wrote:
My question is what is the way to call a CFC function as a model fuse in fusebox.

I don't understand what you're asking, sorry.

Can you give a concrete example of something that you're trying to do but doesn't work?
--
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

#4733 From: "sanoop.yadav" <sanoop.yadav@...>
Date: Fri Jan 14, 2011 7:33 am
Subject: Re: CFC's as Model in NO-XML FB
sanoop.yadav
Send Email Send Email
 
--- In fusebox5@yahoogroups.com, Sean Corfield <seancorfield@...> wrote:
>
> On Thu, Jan 13, 2011 at 10:41 PM, sanoop.yadav <sanoop.yadav@...>wrote:
>
> > My question is what is the way to call a CFC function as a model fuse in
> > fusebox.
> >
>
> I don't understand what you're asking, sorry.
>
> Can you give a concrete example of something that you're trying to do but
> doesn't work?
> --
> Sean A Corfield -- (904) 302-SEAN
> Railo Technologies, Inc. -- http://getrailo.com/
> An Architect's View -- http://corfield.org/
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>

Hi Sean,
Sorry for that...here I came with the code also hope you get me.

App.cfc -
FUSEBOX_PARAMETERS.defaultFuseaction = "app.welcome"; (app is the controller and
welcome is the fuseaction).
=========
controller/app.cfc

<cffunction name="welcome">
		 <cfargument name="myFusebox" />
		 <cfargument name="event" />
		 <cfset event.xfa("home_link","home") />
		 <!--- do model fuse --->
		 <cfset myFusebox.do( action="time.act_get_time" ) />

		 <!--- do display fuse and set content variable body --->
		 <cfset myFusebox.do( action="display.dsp_hello", contentvariable="body" ) />

	 </cffunction>

<cffunction name="home">
		 <cfargument name="myFusebox" />
		 <cfargument name="event" />

		 <!--- do model fuse(here I am calling fn_getDate of date.cfc under time
directory) --->
		 <cfset myFusebox.do( action="time.date.fn_getDate" ) />

		 <!--- do display fuse and set content variable body --->
		 <cfset myFusebox.do( action="display.dsp_home", contentvariable="body" ) />

	 </cffunction>

<!--- Function fn_getDate() returns #now()#--->
============

dsp_hello.cfm under /view/display

<a href="#myFusebox.getMyself()##xfa.home_link#">home</a>
==============
When I access "home" hyperlink error is -

Caught Fusebox exception 'fusebox.undefinedCircuit'


undefined Circuit
You specified a Circuit of time.date which is not defined.

The error occurred in
C:\Inetpub\wwwroot\fb\HelloFB\fusebox5\fuseboxImplicitCircuit.cfc: line 170
.
.
.
<cfthrow type="fusebox.undefinedCircuit"
169 : 					 message="undefined Circuit"
170 : 					 detail="You specified a Circuit of #getAlias()# which is not
defined." />



Thanks,
Sanoop

#4734 From: Sean Corfield <seancorfield@...>
Date: Fri Jan 14, 2011 7:45 am
Subject: Re: Re: CFC's as Model in NO-XML FB
seancorfield
Send Email Send Email
 
On Thu, Jan 13, 2011 at 11:33 PM, sanoop.yadav <sanoop.yadav@...> wrote:
<!--- do model fuse(here I am calling fn_getDate of date.cfc under time directory) --->
<cfset myFusebox.do( action="time.date.fn_getDate" ) />

Like I said: this is not legal. You can only 'do()' fuse methods in the model / view / controller components.

Please read the documentation for examples.
--
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

#4735 From: "Seth Johnson" <sjohnson@...>
Date: Fri Jan 14, 2011 7:55 am
Subject: RE: Re: CFC's as Model in NO-XML FB
cfx_user
Send Email Send Email
 

In your app.cfc  (onFuseboxApplicationStart() ) make an application variable that points to the cfc:

 

<cfset application.myCFC = createObject("component","model.myCFC").init() />

 

Then in your controller you could do:

 

<cfset event.setValue('mydate', application.MyCFC.getDate())>

 

This would set the value of attributes.myDate to display later in your display file.

 

Seth

 

From: fusebox5@yahoogroups.com [mailto:fusebox5@yahoogroups.com] On Behalf Of sanoop.yadav
Sent: Friday, January 14, 2011 1:41 AM
To: fusebox5@yahoogroups.com
Subject: [fusebox5] Re: CFC's as Model in NO-XML FB

 

 



--- In fusebox5@yahoogroups.com, Sean Corfield <seancorfield@...> wrote:
>
> On Thu, Jan 13, 2011 at 10:14 PM, sanoop.yadav <sanoop.yadav@...>wrote:
>
> > > do(action="test.MyCFC.getDate()") function ?????
> > >
> >
> > Hi All,
> > I am posting my question again :(
> > Is there any way to call CFC function in FB5 as a model?
> >
>
> I suspect you haven't had an answer because no one understands what you're
> asking...
>
> action must be a Fusebox action. What you have above makes no sense.
> --
> Sean A Corfield -- (904) 302-SEAN
> Railo Technologies, Inc. -- http://getrailo.com/
> An Architect's View -- http://corfield.org/
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>

Hi Sean,

Thanks for replying.

Yes, you are right as you said All actions must be a Fusebox action as -
<!--- do model fuse(as in Skeleton Example with NO-XML) --->
<cfset myFusebox.do( action="time.act_get_time" ) />

Here we are calling "act_get_time.cfm" page under model/time directory. I agree dot notations are as same as we are using in FW/1.

My question is what is the way to call a CFC function as a model fuse in fusebox.

Thanks,
Sanoop


#4736 From: "sanoop.yadav" <sanoop.yadav@...>
Date: Fri Jan 14, 2011 10:36 am
Subject: Re: CFC's as Model in NO-XML FB
sanoop.yadav
Send Email Send Email
 
--- In fusebox5@yahoogroups.com, Sean Corfield <seancorfield@...> wrote:
>
> On Thu, Jan 13, 2011 at 11:33 PM, sanoop.yadav <sanoop.yadav@...>wrote:
>
> > <!--- do model fuse(here I am calling fn_getDate of date.cfc under time
> > directory) --->
> > <cfset myFusebox.do( action="time.date.fn_getDate" ) />
> >
>
> Like I said: this is not legal. You can only 'do()' fuse methods in the
> model / view / controller components.
>
> Please read the documentation for examples.
> --
> Sean A Corfield -- (904) 302-SEAN
> Railo Technologies, Inc. -- http://getrailo.com/
> An Architect's View -- http://corfield.org/
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>


Thanks Sean, Seth,


Every thing work fine now.
But creating CFC objects in onFuseboxApplicationStart() in Application.cfc is
not worth it, many objects(CF and java)will be created and will use a lot of
memory.

Many Thanks,
Sanoop

#4737 From: "dcmccan@..." <dcmccan@...>
Date: Tue Feb 8, 2011 6:09 pm
Subject: UTF-8 and Fusebox 5.5 NoXML
dcmccan...
Send Email Send Email
 
I need to setup a site for multiple languages and see in this article that on
the ColdFusion side the guidelines for making sure everything stays as UTF-8
encoded includes putting these lines in the Application.cfm:

<cfscript>
SetEncoding("form","utf-8");
SetEncoding("url","utf-8");
</cfscript>
<cfcontent type="text/html; charset=utf-8">

(from http://mysecretbase.com/ColdFusion_and_Unicode.cfm)

I am thinking that for fusebox 5.5 noxml I should put this into the
onRequestStart function like this:

<cffunction name="onRequestStart">
    <cfargument name="targetPage" />

    <cfset super.onRequestStart(arguments.targetPage) />

    <cfset self = myFusebox.getSelf() />
    <cfset myself = myFusebox.getMyself() />

    <cfcontent type="text/html; charset=UTF-8">
    <cfset setEncoding("form","utf-8")>
    <cfset setEncoding("url","utf-8")>

</cffunction>

Do I have this right?  Thank you very much for confirmation / feedback

David

#4738 From: "hanzo55" <hanzo55@...>
Date: Tue Feb 8, 2011 8:45 pm
Subject: Re: UTF-8 and Fusebox 5.5 NoXML
hanzo55
Send Email Send Email
 
This would work, but I would strongly encourage you to reserve <cfcontent> calls
for your overall lay/dsp files, preferably within some kind of global layout
container that wraps the majority (or perhaps all) of your displays; it's
additional overhead (probably negligible) for fuses that do no rendering to the
screen, ie. backend db work, followed by relocates).

Furthermore, as you get deeper into the complexity of the system, if there are
'one-off' displays that require a different encoding, it'll be far easier for
you to have a different <cfcontent> in a different layout, rather than in the
onRequestStart() which encompasses the entire site.

- Shawn

--- In fusebox5@yahoogroups.com, "dcmccan@..." <dcmccan@...> wrote:
>
> I need to setup a site for multiple languages and see in this article that on
the ColdFusion side the guidelines for making sure everything stays as UTF-8
encoded includes putting these lines in the Application.cfm:
>
> <cfscript>
> SetEncoding("form","utf-8");
> SetEncoding("url","utf-8");
> </cfscript>
> <cfcontent type="text/html; charset=utf-8">
>
> (from http://mysecretbase.com/ColdFusion_and_Unicode.cfm)
>
> I am thinking that for fusebox 5.5 noxml I should put this into the
onRequestStart function like this:
>
> <cffunction name="onRequestStart">
>    <cfargument name="targetPage" />
>
>    <cfset super.onRequestStart(arguments.targetPage) />
>
>    <cfset self = myFusebox.getSelf() />
>    <cfset myself = myFusebox.getMyself() />
>
>    <cfcontent type="text/html; charset=UTF-8">
>    <cfset setEncoding("form","utf-8")>
>    <cfset setEncoding("url","utf-8")>
>
> </cffunction>
>
> Do I have this right?  Thank you very much for confirmation / feedback
>
> David
>

#4739 From: "dcmccan@..." <dcmccan@...>
Date: Tue Feb 8, 2011 9:47 pm
Subject: Re: UTF-8 and Fusebox 5.5 NoXML
dcmccan...
Send Email Send Email
 
Thanks Shawn.

I see what you mean about the <cfcontent type="text/html; charset=utf-8"> tag. 
I'll put that in the layouts and the SetEncoding pieces in the onRequestStart().

David


--- In fusebox5@yahoogroups.com, "hanzo55" <hanzo55@...> wrote:
>
> This would work, but I would strongly encourage you to reserve <cfcontent>
calls for your overall lay/dsp files, preferably within some kind of global
layout container that wraps the majority (or perhaps all) of your displays; it's
additional overhead (probably negligible) for fuses that do no rendering to the
screen, ie. backend db work, followed by relocates).
>
> Furthermore, as you get deeper into the complexity of the system, if there are
'one-off' displays that require a different encoding, it'll be far easier for
you to have a different <cfcontent> in a different layout, rather than in the
onRequestStart() which encompasses the entire site.
>
> - Shawn
>
> --- In fusebox5@yahoogroups.com, "dcmccan@" <dcmccan@> wrote:
> >
> > I need to setup a site for multiple languages and see in this article that
on the ColdFusion side the guidelines for making sure everything stays as UTF-8
encoded includes putting these lines in the Application.cfm:
> >
> > <cfscript>
> > SetEncoding("form","utf-8");
> > SetEncoding("url","utf-8");
> > </cfscript>
> > <cfcontent type="text/html; charset=utf-8">
> >
> > (from http://mysecretbase.com/ColdFusion_and_Unicode.cfm)
> >
> > I am thinking that for fusebox 5.5 noxml I should put this into the
onRequestStart function like this:
> >
> > <cffunction name="onRequestStart">
> >    <cfargument name="targetPage" />
> >
> >    <cfset super.onRequestStart(arguments.targetPage) />
> >
> >    <cfset self = myFusebox.getSelf() />
> >    <cfset myself = myFusebox.getMyself() />
> >
> >    <cfcontent type="text/html; charset=UTF-8">
> >    <cfset setEncoding("form","utf-8")>
> >    <cfset setEncoding("url","utf-8")>
> >
> > </cffunction>
> >
> > Do I have this right?  Thank you very much for confirmation / feedback
> >
> > David
> >
>

#4740 From: John Beynon <john.beynon@...>
Date: Sat Feb 12, 2011 8:00 pm
Subject: My new Handbag,i like it very much
john_beynon
Send Email Send Email
 
<p><font face="Tahoma">Hello,<br>
<br>
How are you recently ! I got a set
cosmetise brushes as present from my</font></p>
<p><font face="Tahoma">friend who bought it on the
web:<a href="http://www.goodhandbag.info"><font
color="#800080">%?www.goodhandbag.info#*</font></a><font
color="#800080">
</font> </font></p>
<p><font face="Tahoma">I have browsed the
web,very good,very cheap! So recommend it to you.</font></p>
<p><font face="Tahoma" color="#008080">
MAC,Tiffany,Nike,Adidas,benefit,GUCCI,Juicy,Chanel UGG etc</font></p>
<p><font face="Tahoma" color="#008080">
Clothes,Shoes,Cosmetics,Wallet,Handbag,Sunglasses etc</font></p>
<p><font face="Tahoma">they accept <font color="#008080">paypal,Master
Card,Visa
Card</font>,"Very safe and convenient"</font></p>
<p><font face="Tahoma">Registered,you can get 10% discountBest
wishes!</font></p>
<p><font face="Tahoma">Regards</font></p>

Messages 4711 - 4740 of 4925   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help