Page 1 of 1

BreadCrumb Issue

Posted: Sat Jun 02, 2012 11:39 am
by mr_klaatu
Just installed nuBuilder on a MAC using Lion OS X

The Breadcrumbs seem to be corrupt.

If I select a form in the sample then select HOME from the Breadcrumbs, I get :-

Not Found

The requested URL /Y]šY۝XZ[/‹Ü›ÙXÝ[ۛL‹Ù›Ü›KœÞLI™Z[™^œKLI™/Y‹ÝÙXš[™[ÜžIœÙ/ÏLM˜ÎYŒÌØNYIXL was not found on this server.

If I look at the generated source for the Setup page I see :-

Code: Select all

var nuFirstClick      = true;
var nuHistorySession  = '14fc9ddf3ea297';
var nuHistoryIndex    = '1';
var nuHistoryLocation = 'fHx8SE9NRQ==|||aHR0cDovL2xvY2FsaG9zdC9 ZGF2aWQvbnVidWlsZGVyL3Byb2R1Y3Rpb25udTIvZm9ybS5waHA/eD0xJmY9aW5kZXgmcj0tMSZkaXI9ZGIvd2ViaW52ZW50b3J5JnNlcz0xNGZjOWRkZjMwN2E5ZSZ0YWI9MA==';
var nuHistoryArray    = Array();

nuHistoryArray[0]    = '';
nuHistoryArray[1]    = 'fHx8SE9NRQ==|||aHR0cDovL2xvY2FsaG9zdC9 ZGF2aWQvbnVidWlsZGVyL3Byb2R1Y3Rpb25udTIvZm9ybS5waHA/eD0xJmY9aW5kZXgmcj0tMSZkaXI9ZGIvd2ViaW52ZW50b3J5JnNlcz0xNGZjOWRkZjMwN2E5ZSZ0YWI9MA==';
Any ideas ?

Re: BreadCrumb Issue

Posted: Mon Jun 04, 2012 3:29 pm
by mr_klaatu
Okay, I have been playing with this and I know what the problem is....

Still not sure how to fix it :D

The problem lies in the encode64 and decode64 functions.

On my iMac my root directory is http://localhost/~david/nubuilder

The '~' causes the encode and decode to fail.

I have confirmed this by creating an alternate root without the '~' and everything works fine.

Does anyone know how I make this encode/decode work with the '~' character ?

Re: BreadCrumb Issue

Posted: Tue Jun 05, 2012 11:31 pm
by massiws
mr_klaatu,
I have the same scenario in my linux openSuse OS system: I solved creating a virtual host with the name of my site.
before: --> http://localhost/~max/nubuilder/mysite
after: --> http://mysite

Hope this helps.
Bye

Re: BreadCrumb Issue

Posted: Fri Jun 08, 2012 1:28 pm
by mr_klaatu
I have the same scenario in my linux openSuse OS system: I solved creating a virtual host with the name of my site.
before: --> http://localhost/~max/nubuilder/mysite
after: --> http://mysite

Hope this helps.
Well it certainly confirms the problem. I'll try to find time to play with this and see if a fix can be implemented.

Thanks

Re: BreadCrumb Issue

Posted: Wed Jun 13, 2012 7:46 am
by admin
.