How to fix The requested URL /gen.php was not found on this server?

Made the website number generator for yourself. Bought the domain, filled with a host Yandex.The metric GTM too. Copied the website and gets an error The requested URL /gen.php was not found on this server. Decided to check on the website from which you copied, and there be no error, just appears a white page. LdpPpOVLR0k.jpggNAY8YBnFg4.jpg-UGYwYJswIM.jpg
March 20th 20 at 11:29
2 answers
March 20th 20 at 11:31
Solution
How to fix?
Write your gen.php where will be implemented the functionality of the random number generator.
How to make to work?
Does not apply to gen.php and to xn--80akjcielidvhr6cf.xn--p1ai/gen.php
What's going on?
And here is the only question with which we had to start. You are trying to access the script generator numbers located on Your server. It returns a 404 error. Why? Because doesn't find the file. Why? Because it is not there. Why? Because he did not put there. Why? Because when you copy copies only the website frontend, and then not always all of it. Why? Because Nehru to deal with stealing someone else's intellectual property when their own level of knowledge is not enough for you to realize the cause of the 404 error and continue the logical chain.
PS Script to generate random numbers is 10 lines of code. Subject to tests and conditions from a source site. Take the trouble to Google "random number generator in php" - you can write your 20-30 minutes according to numerous manuals.
March 20th 20 at 11:33
You have in file /js/script.js@rev=8 Ajax why it appeals to /gen.php.
Do not copy everything blindly.5ccad807bb87e807359023.png
On which site copied it should appeal to /gen.php. As I understand it is the generator - lesley_Cronin commented on March 20th 20 at 11:36
Here is my ariel.Weber44.beget.tech/gen.php
Here's the original website http://случайноечисло.рф/gen.php - lesley_Cronin commented on March 20th 20 at 11:39
Still that's what the error in xn--80akjcielidvhr6cf.xn--p1ai/js/jquery.min.js
sDiqtZOvHE8.jpg - lesley_Cronin commented on March 20th 20 at 11:42
What would you recommend to do? - lesley_Cronin commented on March 20th 20 at 11:45
@ariel.Weber44and gen.php you copied to your hosting? - blaze.Thiel88 commented on March 20th 20 at 11:48
What would you recommend to do?

not to steal - Rosina.Schmeler commented on March 20th 20 at 11:51

Find more questions by tags JavaScriptApacheHTML