0.6.9 - record tree menu not working

Archived from the Xataface Users forum.

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


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


njw — Thu Sep 28, 2006 3:56 pm

Hi Neil,

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


njw — Thu Sep 28, 2006 3:58 pm

“Grandma eggs teaching suck to” - please re-arrange


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


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


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


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


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


njw — Sat Sep 30, 2006 5:02 am

Many thanks Steve. Works fine now.

Neil