K
K
kapa72019-05-02 14:36:27
JavaScript
kapa7, 2019-05-02 14:36:27

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

Made a number generator website for myself. I bought a domain, uploaded it to the host, Yandex.Metrica and GTM too. I copied the site and got the error The requested URL /gen.php was not found on this server. I decided to check on the site from which I copied, and there is no such error, just a white page appears.LdpPpOVLR0k.jpggNAY8YBnFg4.jpg-UGYwYJswIM.jpg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail Shvedkov, 2019-05-02
@kapa7

How to fix?
Write your own gen.php, which will implement the functionality of the number generator.
Refer not to gen.php, but to xn--80akjcielidvhr6cf.xn--p1ai/gen.php
But this is the only correct question to start with. You are trying to access a number generator script located on your server. It returns 404 error. Why? Because it does not find the file. Why? Because it's not there. Why? Because they didn't put it there. Why? Because when copying a site, only the frontend is copied, and not always the whole one. Why? Because it’s not worth it to steal someone else’s intellectual property when your own level of knowledge is not enough to understand the cause of a 404 error and continue the logical chain.
PS The random number generation script is 10 lines of code. Subject to checks and conditions from the source site. Take the trouble to google "php random number generator" - you can write your own in 20-30 minutes using numerous manuals.

A
Andrey Andreev, 2019-05-02
@b0nn1e

In your /js/[email protected]=8 file, for some reason Ajax accesses /gen.php.
Do not copy everything mindlessly.5ccad807bb87e807359023.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question