Page 1 of 1
Posted:
Thu Sep 28, 2006 3:14 pm
by njw
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
Posted:
Thu Sep 28, 2006 3:39 pm
by shannah
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
Posted:
Thu Sep 28, 2006 3:56 pm
by njw
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=%3D2Line: 194
Neil
Posted:
Thu Sep 28, 2006 3:58 pm
by njw
"Grandma eggs teaching suck to" - please re-arrange
Posted:
Thu Sep 28, 2006 4:23 pm
by shannah
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
Posted:
Fri Sep 29, 2006 2:13 am
by njw
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
Posted:
Fri Sep 29, 2006 7:42 am
by shannah
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
Posted:
Fri Sep 29, 2006 7:52 am
by shannah
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
Posted:
Fri Sep 29, 2006 8:10 am
by shannah
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
Posted:
Sat Sep 30, 2006 5:02 am
by njw
Many thanks Steve. Works fine now.
Neil