تعذر تكوين الارتباط بـ “الدردشة”. تأكد من تعطيل أدوات حظر الإعلانات وحاول إعادة تحميل الصفحة.
تظهر الكثير من الأخطاء على منتدى discourse الخاص بي،
Uncaught SyntaxError: Unexpected identifier ‘#t’
discourse-gamificati…df24ec1342936.js:26 Uncaught SyntaxError: Unexpected identifier ‘#a’
discourse-gamificati…bc0b7464476afd.js:3 Uncaught SyntaxError: Unexpected identifier ‘#a’
discourse-lazy-video…dfeb8ed6127f2.js:10 Uncaught SyntaxError: Unexpected identifier ‘#t’
discourse-presence-f…f783c0d7b6fc3.js:12 Uncaught SyntaxError: Unexpected identifier ‘#s’
discourse-whos-onlin…6a7b6c96d55f3.js:12 Uncaught SyntaxError: Unexpected identifier ‘#s’
docker_manager_admin…db0da9a0d1924.js:11 Uncaught SyntaxError: Unexpected identifier ‘#t’
poll-caab9fa7e923441…fdf6d171b8dd53.js:4 Uncaught SyntaxError: Unexpected identifier ‘#e’
6fd02ed……74b887738ade31.js:5 Uncaught SyntaxError: Unexpected identifier ‘#e’
ما هو الخطأ بالضبط؟
أيضًا، عناوين IP الحقيقية لمستخدمي لا تظهر، جميع عناوين IP تظهر كـ 127.0.01
أدناه ملف nginx الخاص بي:
# /ask discourse start
location /ask {
proxy_ssl_server_name on;
proxy_set_header Host $host; # faizan Ensures the Host header is correctly set.
proxy_set_header X-Real-IP $remote_addr; # faizan added to see if it sends real ip
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_pass http://localhost:1357/ask;
proxy_redirect off; # faizan Ensures that any redirects are not altered.
}
# /ask end
أنا على cloudlare وقد علقت أيضًا
# - "templates/web.ratelimited.template.yml" علقت هذا لإصلاح خطأ 429
لأن حدود المعدل كانت تظهر أخطاء nginx و 429 كانت تظهر في نافذة discourse المنبثقة من الداخل.
## Plugins go here
## see https://meta.discourse.org/t/19157 for details
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- git clone https://github.com/discourse/docker_manager.git
- git clone https://github.com/discourse/discourse-voting.git
- git clone https://github.com/discourse/discourse-akismet.git
- git clone https://github.com/discourse/discourse-whos-online.git
- git clone https://github.com/discourse/discourse-gamification.git
- git clone https://github.com/discourse/discourse-adplugin.git
- git clone https://github.com/codergautam/disable-email-verification-discourse.git
- git clone https://github.com/discourse/discourse-subscriptions.git
- git clone https://github.com/discourse/discourse-follow.git
- git clone https://github.com/discourse/discourse-cakeday.git
لقد قمت أيضًا بتعطيل cloudflare rocket-loader، حيث كان ذلك يتسبب في تعليق صفحة discourse الخاصة بي في حلقة تحميل لا نهائية للصفحة الرئيسية. كيف يمكنني إصلاح هذا؟
هل يمكن لأحد أن يساعدني في إصلاح جميع مشاكلي المذكورة أعلاه وإظهار عناوين IP الحقيقية للمستخدمين؟ ما الذي ينقص أو خاطئ في ملف app.yaml الخاص بي وفي ملف nginx config الخاص بي؟ ما هي التغييرات التي أحتاج إلى إجرائها لإصلاح جميع المشكلات والأخطاء المذكورة أعلاه بشكل دائم؟ أنا على مثبت
3.4.0.beta1-dev
لقد استخدمت الأوامر التالية لإعادة البناء
cd /var/discourse
git pull
./launcher bootstrap web_only && ./launcher destroy web_only && ./launcher start web_only
./launcher rebuild data;./launcher rebuild web_only
لكنني لست متأكدًا تمامًا من الفرق بين الاثنين.







