この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
Following this Tut on how to enable CORS
Adobe Experience Manager Help | Understanding Cross-Origin Resource Sharing (CORS) with AEM
but upon saving, I'm getting that error and to no avail I have fixed it. had to ask forum.
THANKS!
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
We created live environment and the problem was sovled!
Thanks everyone for the answer tho I really don't know what cause the error.
表示
返信
いいね!の合計
If you use AEM version of JQuery - it has a token that takes care of CORS issues. Create a clientlib and then add dependencies property with value of cq.jquery.
表示
返信
いいね!の合計
Thanks for the reply!
you mean this?
Adobe Experience Manager Help | Developing for Cross-Origin Resource Sharing (CORS) with AEM
表示
返信
いいね!の合計
Hello Sir. Still getting the Ajax error. Can't even save a Sharing Policy
表示
返信
いいね!の合計
Are you trying this in your local or DEV env ?
表示
返信
いいね!の合計
Try on a fresh instance - this will tell us if issue is something is mis-configured or a server error.
表示
返信
いいね!の合計
Hello! we've been trying to restart server again and again, trying different standard protocol still to no avail. we also thought it was something to do with PID so we search for a PID but to no avail.
表示
返信
いいね!の合計
Oh sorry my bad. fresh instance, I thought refresh instance. we plan to do that but have not done it yet. I'll get back with the results THANK!
表示
返信
いいね!の合計
Hello Sir!
Tested it in a new fresh instance yet still getting the AJAX error.
表示
返信
いいね!の合計
I think it's local Env. I don't know what do you mean by dev env.
表示
返信
いいね!の合計
The AEM server you are running , is it setup in your local machine and has a server as http://localhost:4502 ? If not is it in any cloud or linux box ? If so , that could be your development environment , which we call DEV
表示
返信
いいね!の合計
Ah! I'm running local env. we use local or live here
表示
返信
いいね!の合計
We created live environment and the problem was sovled!
Thanks everyone for the answer tho I really don't know what cause the error.
表示
返信
いいね!の合計
I am glad you got it working.
表示
返信
いいね!の合計