Detail View Uncaught Reference Error

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
omackeytech
Posts: 25
Joined: 2014-06-04 13:18

Detail View Uncaught Reference Error

Post by omackeytech » 2018-12-05 00:31

I regenerated a project I started in 2014 and have been revising it as I go.

With the current regeneration, I found 2 issues, this is the second. The other I will explain when I duplicate it.

When I go to open the detail view of a row I get a blank screen, Chrome says it's an "Uncaught ReferenceError: $j is not defined"

I attached a screenshot.

Any idea what might cause this?

AppGini 5.72 rev 1038
Attachments
Reference Error.jpg
Reference Error.jpg (202.25 KiB) Viewed 676 times

User avatar
a.gneady
Site Admin
Posts: 1021
Joined: 2012-09-27 14:46
Contact:

Re: Detail View Uncaught Reference Error

Post by a.gneady » 2018-12-05 12:58

This would be caused by the browser unable to find jQuery. Could you please, in the inspector window, switch to the 'Network' tab and make sure the 'All' tab is selected. Then reload the page using F5 and check to see if any errors are reported. My guess is that you need to upload jquery file.
:idea: Learn all the tips and tricks of customizing AppGini apps through our online course.

:arrow: Mass Update plugin: Update multiple records at once and improve your workflow efficiency.

:arrow: Summary Reports plugin: Build powerful reports and charts for your AppGini apps.

:arrow: Search Page Maker: Compose user-friendly yet powerful search pages for your AppGini apps.

omackeytech
Posts: 25
Joined: 2014-06-04 13:18

Re: Detail View Uncaught Reference Error

Post by omackeytech » 2018-12-05 20:04

Not sure what to look for, here it is...
Attachments
Network.jpg
Network.jpg (87.73 KiB) Viewed 655 times

omackeytech
Posts: 25
Joined: 2014-06-04 13:18

Re: Detail View Uncaught Reference Error

Post by omackeytech » 2018-12-06 00:10

I loaded a chrome extension "jQuery Everwhere" now I can load one of my three tables. The one that was causing the problem still does not open. Same error, a different result from 'network'. See attached.
Attachments
jquery load.jpg
jquery load.jpg (119.58 KiB) Viewed 644 times

omackeytech
Posts: 25
Joined: 2014-06-04 13:18

Re: Detail View Uncaught Reference Error

Post by omackeytech » 2018-12-07 03:02

I tried almost everything I could think of.
Then it dawned on me, jquery files were part of the AppGinni setup files.
I reloaded AppGinni, regenerated code and now everything works.

Guess my jQuery was corrupt.

Thanks for pointing me in the right direction.....

Brian

omackeytech
Posts: 25
Joined: 2014-06-04 13:18

Re: Detail View Uncaught Reference Error

Post by omackeytech » 2018-12-10 02:40

It appears now on both my production copy and test server, but not on android devices. I attached what is happening on my test server, also can duplicate on my production server. It happens on Windows in both cases.

This occurs when I click 'Add New' on the Child table.

Using Chrome Version 71.0.3578.80 (Official Build) (64-bit). XAMPP 3.2.1 on the test server.

Any idea where to go from here?
Attachments
Jquery Error.png
Jquery Error.png (208.86 KiB) Viewed 588 times

peebee
AppGini Super Hero
AppGini Super Hero
Posts: 209
Joined: 2013-03-21 04:37

Re: Detail View Uncaught Reference Error

Post by peebee » 2018-12-10 03:04

I suspect your /common.js file may also not be the current version?

I'd suggest generate a fresh set of AppGini files and make sure ALL of the .js files (common.js and resources/jquery/js) are all overwritten with the latest version

Post Reply