"Run code" buttons in the web docs do not function
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 40/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, php, wasm
- Lĩnh vực
- frontend
Hướng nghiên cứu
The payload names only the affected manual page and console errors about WebAssembly instantiation, not the files behind the Run code button. Start by reproducing on the linked page with browser devtools open and read the first wasm error, which should show whether the module fails to load or to compile. Done means the example runs and its output appears on the page in a current browser, with the root cause identified in the issue thread.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Affected Page URL
https://www.php.net/manual/en/language.basic-syntax.phptags.php
Describe the bug
Clicking the "Run code" button does not cause the code to be run, and there is no visible error message or other output. The console shows a number of errors related to wasm instantiation.
I linked one affected page, but this happens on every page that I've tried.
Steps to reproduce
- Go to any documentation page that has a "Run Code" button for a block of example PHP.
- Click "Run code"
Expected behavior
The code should execute and the output should be presented on the page.
Screenshots
Console errors:
Additional context
This happens on all of the following browsers (all on Windows 11):
- Microsoft Edge, Version 157.0.4341.46
- Chrome, Version 157.0.8103.51
- Firefox, 160.0
- Ngôn ngữ chính
- PHP
- Star
- 1.1k
- Fork
- 648
- Merge trung bình
- 1 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 45
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của php/web-php
-
Bug Status: Needs Triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
php/web-php#2102 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
RSS feed is not valid according to Power AutomateCó thể đã có người làm @sy-records đã nhận hôm nay. Đang mởBug Status: Needs Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[UI/UX] Add Next/Previous pagination buttons to documentation pagesCó thể làm lại được @TheCoderGeekSquadLeader đã nhận 18 ngày trước và không có pull request nào đang mở. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
php/web-php#2049 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Page: downloads
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
php/web-php#1946 · 2 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Page: downloads
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
matomo-org/plugin-CustomAlerts#310 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
domain/checkout Platform(Default) priority/low testing/acceptance
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
pluginsGLPI/addressing#132 ·
-
5.14.0 PIE packages still declare PHP >=8.3, so PIE installs them on PHP 8.3 and the build failsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
-
bug component:user_profiles
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
knowii-oss/knowii#1689 ·
Maintainer thường phản hồi trong vòng 1 ngày