-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
blank page on video submit #24
Comments
According to JJDai, it may be because of an accent in the title of the video. |
Can you test it with a title in English, with no accents? |
I tested here, and the submission worked without problems. Maybe you can provide a link to the video that you're submitting that is not posting, and I'll test it here too? |
I entered this code: 4n_RABfrg0U So yes, if I enter a title without accent it works. |
Hmm, I don't know what to tell you, because I was able to add it on our demo site: |
There might be also an issue/conflict related to your French translation or your theme templates. Try testing with xBootstrap or with the Default theme, and if you're using xLanguage, then also switch to English, and see if it made a difference... |
It's all in english. When I do my tests I don't install french. Did you try to submit the video on user side? |
I use xswatch4, without modifications. |
I submitted it on the Admin side. |
No worries, at least we're making progress 👍🏻 |
My only concern is that it might be caused by the Protector, and this would be more difficult to fix it, because touching Protector is always very risky, and I would have to ask Richard for help. But let's first do some testing... |
The problem comes from protector, indeed, it detects an SQL injection. |
in module xoopstube ;) |
' = single quote |
This is just a temporary fix till I find a permanent solution. It worked on my PC, but please test on your server. |
I tested and now I get this error: |
Tested whith XoopsTube 1.08 RC-2 (07/25/2021)https://github.com/mambax7/xoopstube
and Xoops 2.5.11 latest version.
When I try to submit a video on the user side (/modules/xoopstube/submit.php), I get a blank page like this:
SQL Injection found
None All Errors (0) Deprecated (0) Queries (22) Blocks (3) Extra (2) Timers(5)
Errors
My config:
Apache/2.4.18 (Ubuntu)
PHP version 7.4.9
MySQLi extension mysqlnd 7.4.9
The text was updated successfully, but these errors were encountered: