Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

BreadCrumb Issue

Locked
mr_klaatu
Posts: 3
Joined: Mon May 28, 2012 4:50 am

BreadCrumb Issue

Unread post 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 ?
mr_klaatu
Posts: 3
Joined: Mon May 28, 2012 4:50 am

Re: BreadCrumb Issue

Unread post 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 ?
massiws
Posts: 503
Joined: Thu May 24, 2012 2:08 am
Location: Milan, Italy
Contact:

Re: BreadCrumb Issue

Unread post 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
mr_klaatu
Posts: 3
Joined: Mon May 28, 2012 4:50 am

Re: BreadCrumb Issue

Unread post 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
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: BreadCrumb Issue

Unread post by admin »

.
Locked