0.6.9 - record tree menu not working

A place for users and developers of the Xataface to discuss and receive support.

Postby njw » Thu Sep 28, 2006 3:14 pm

Hi Steve

I've loaded 0.6.9 and everyhting seems to be working except the record tree menu. The top level shows up, but if I clikc on the + to get the next level, I get

Show details tablename

Loading ...


but it doesn't load anything.

I'm using Firefox 1.5.0.7 on Win Me, scripting is allowed, and the software is running on Linux server.

Any ideas?

Thanks

Neil
njw
 
Posts: 280
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Thu Sep 28, 2006 3:39 pm

Hi Neil,

Does the tree menu work for you at http://dataface.weblite.ca ?

You can check the javascript console in firefox to tell you if there is an error. Clear the console, then try clicking the plus icon. See what it gives you.

-Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby njw » Thu Sep 28, 2006 3:56 pm

Hi Neil,

>

Does the tree menu work for you at http://dataface.weblite.ca ?

>

You can check the javascript console in firefox to tell you if there is an error. Clear the console, then try clicking the plus icon. See what it gives you.

>

-Steve



This is the first error in the javascript console

Error: getHTTPObject is not defined
Source File: http://archomai.qsgi2e.co.uk/ACF/index.php?-table=Locations&-action=browse&LocationsId=%3D2
Line: 194

Neil
njw
 
Posts: 280
Joined: Wed Dec 31, 1969 5:00 pm

Postby njw » Thu Sep 28, 2006 3:58 pm

"Grandma eggs teaching suck to" - please re-arrange ;)
njw
 
Posts: 280
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Thu Sep 28, 2006 4:23 pm

Hi Neil,

I think this may be a case of cached templates not refreshing (maybe). One thing to try might be to delete all of the files in your templates_c directory (in both the dataface folder and the application folder). If that doesn't do it...

This function (getHTTPObject()) is located in the js/ajax.js file. Perhaps check that this file exists and is readable by the webserver....

-Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby njw » Fri Sep 29, 2006 2:13 am

Deleted the templates_c sub-folders in the application - none in Dataface as I have created a new folder for 0.6.9.

The ajax.js file exists and has protections: 644

Still getting the same result.

Cheers

Neil
njw
 
Posts: 280
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Fri Sep 29, 2006 7:42 am

Another common pitfall might be to have your app's index.php file referencing the old dataface folder in the df_init() call. That would certainly cause something like this.

-Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Fri Sep 29, 2006 7:52 am

OK.. I took a look at the page that you provided and it appears as though the problem may be that you have dataface at a different domain than app. Dataface is at http://www.qsgi2e.co.uk/dataface0p6p9 whereas the app not at 'www' but at a different subdomain. Some of the javascripts and images are loaded omitting the host name, and just providing a path - hence the problem. I'll take a look and try to add full host names to all javascript includes, but for now perhaps make it so that dataface is accessible at the same domain. I often use symbolic links for this.

-Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Fri Sep 29, 2006 8:10 am

I believe I have fixed this issue... see the issue tracker http://framework.weblite.ca/development/issue-tracker/125 for the patch.

Best regards

Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby njw » Sat Sep 30, 2006 5:02 am

Many thanks Steve. Works fine now.

Neil
njw
 
Posts: 280
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 12 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved