Hello to you all,
I just started a new AppGini application using AG version 5.84 revision 1108. Everything looked just fine until I tried to customize the Login Page according to UdeMy instructions.
The background image did not display so I checked the browser console (F12) and I got this:
-------------------------------
common.js.php:1349 AppGini.currentTableName: Could not retrieve table name from page URL
AppGini.currentTableName @ common.js.php:1349
init @ common.js.php:1378
(anonymous) @ common.js.php:167
i @ jquery-1.12.4.min.js:2
fireWith @ jquery-1.12.4.min.js:2
ready @ jquery-1.12.4.min.js:2
K @ jquery-1.12.4.min.js:2
DevTools failed to load SourceMap: Could not parse content for xxhttps://xxxxxxx/covid/resources/initializr/css/bootstrap.css.map:xx Unexpected token < in JSON at position 4
-----------------------------------
So I emptied the footer-extras.php file in order to check if the php code was the source of the problem.
Result: Same error reported by console. Maybe I did something wrong somewhere in the configuration but I do not know what.
NOTE : I have another AG app which has been online for the last two years and the same error shows up in the console.
I have no idea how to correct this. I hope someone on this forum can help me.
Regards
DevTools failed to load SourceMap
Re: DevTools failed to load SourceMap
Hello,
I assume that many/most of us will have this console warning, as it is a known browser problem. To my knowledge the warning has nothing to do with AppGini or AppGini extensions.
Here is an article that describes a way to get around this warning.
https://superuser.com/questions/1523427 ... -extension
tl;dr
In dev tools check option "Selected context only"
This should remove warnings raised by other plugins or extensions.
I assume that many/most of us will have this console warning, as it is a known browser problem. To my knowledge the warning has nothing to do with AppGini or AppGini extensions.
Here is an article that describes a way to get around this warning.
https://superuser.com/questions/1523427 ... -extension
tl;dr
In dev tools check option "Selected context only"
This should remove warnings raised by other plugins or extensions.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: DevTools failed to load SourceMap
Thank you Mr Setzer for your prompt comment.
The checked "Selected context only" option did the trick for the DevTools failed to load SourceMap: Could not parse content for ...
but the "AppGini.currentTableName: Could not retrieve table name from page URL" error is still there. This error refers specifically to AppGini which is intriguing since you wrote that this warning has nothing to do with AppGini.
Anyway, since it does not impact on AG operations, lets forget it.
Regards
The checked "Selected context only" option did the trick for the DevTools failed to load SourceMap: Could not parse content for ...
but the "AppGini.currentTableName: Could not retrieve table name from page URL" error is still there. This error refers specifically to AppGini which is intriguing since you wrote that this warning has nothing to do with AppGini.
Anyway, since it does not impact on AG operations, lets forget it.
Regards
Re: DevTools failed to load SourceMap
Yes, there are a few posts in this forum about this. It is a well known issue on AppGini custom pages and pages not related to any table."AppGini.currentTableName: Could not retrieve table name from page URL"
This console printout will not harm your other scripts so we all can ignore it for now. I have asked Ahmed (BigProf) about this months ago and he has confirmed it to me. He considers removing that console printout in a future release.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools