forum
Members-
Posts
33 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
forum's Achievements
Member (2/5)
0
Reputation
-
When I click start I get this error Status change detected: stopped 16:03:16 [mysql] Error: MySQL shutdown unexpectedly. 16:03:16 [mysql] This may be due to a blocked port, missing dependencies, 16:03:16 [mysql] improper privileges, a crash, or a shutdown by another method. 16:03:16 [mysql] Press the Logs button to view error logs and check 16:03:16 [mysql] the Windows Event Viewer for more clues 16:03:16 [mysql] If you need more help, copy and post this 16:03:16 [mysql] entire log window on the forums In general, no one can figure out this PHP, as I understand it, errors pop up on their own on elementary things, is this solvable, or is there another language where this does not happen?
-
Of course I tried, but for me what is written here is not all clear, in general I solved this problem in only one way, in the file ntpd-vhosts.conf I registered the root document and then everything worked.
-
for example when i go to the start page it opens and all the styles work but when i click on enter or go back to the main page it tells me that the file is not found i can never figure out how this PHP works
-
I can't figure out how paths work, for example I have many folders and files in them, there is a file index.php, it is the main one, in it $path = $_SERVER['DOCUMENT_ROOT']; echo $path; the path shows C:/xampp/htdocs/, what should be written in the files so that the styles and files work? My styles do not work and the files say that the file does not exist
-
It seems to be simple, but PHP is impossible to understand, the file is there, but it says that it is not there, what to do, how to launch it? The previous project is always launched, why is not clear
-
This answer is of course not clear to me, just like And why was this published on the PHP Coding Help forum? A newbie will post where he understands, if the developer of some forum has not developed it to full understanding, then the newbie is not to blame)
-
I can't understand why the styles disappeared <?php $path = $_SERVER['DOCUMENT_ROOT']; ?> <!DOCTYPE html> <html lang="en"> <?include "$path/private/head.php"; ?> <body> <div class="cont"> <?include "$path/private/header.php"; ?> <main class="startPage"> <div id="startLogin" class="startbtn">Log In</div> <div id="startSignup" class="startbtn">Sign Up</div> </main> <?include "$path/private/footer.php"; ?> </div> </body> </html> //это head отдельный файл <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <link rel="stylesheet" href="/css/styles.css"> <script src="/js/jquery-3.7.1.min.js"></script> <script src="/js/script.js"></script> </head> //style *{ margin: 0; padding: 0; box-sizing: border-box; } body{ background-color: gray; } .cont{ height: 100vh; width: 960px; margin: 0 auto; display: grid; grid-template-rows: 100px 1fr 100px; gap: 5px; } header,main,footer{ border-radius: 10px; } header{ background: linear-gradient(white,skyblue); color: rgb(147, 136, 136); font-size: 2.3rem; display: grid; align-content: center; justify-content: center; letter-spacing: 5px; } .startPage{ display: grid; align-content: center; justify-content: center; gap: 20px; background-color: white; } .startbtn{ width: 180px; height: 80px; background: white; border-radius: 10px; display: grid; align-items: center; justify-items: center; font-size: 2rem; color: skyblue; border: 2px solid skyblue; transition: all .5s; cursor: pointer; } .startbtn:hover{ color: pink; box-shadow: 0px 0px 20px gray; } footer{ background-color: white; }
-
I have text on my monitor with the feedback text class, it doesn’t fit on one line, why is this happening? https://codepen.io/codepcod/pen/RwzojGQ
-
the file itself with the php extension
-
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Game Website</title> <link rel="stylesheet" href="css/main.css"> </head> <body> <div class="wrapper"> <header class="container"> <span class="logo">logo</span> <nav> <ul> <li class="active"><a href="/">Home</a></li> <li><a href="about.php">About us</a></li> <li><a href="#">Portfolio</a></li> <li><a href="#">News</a></li> <li class="btn"><a href="contacts.php">Contacts</a></li> </ul> </nav> </header> <div class="hero container"> <div class="hero--info"> <h2>3D game Dev</h2> <h1>Work that we produce for our clients</h1> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard.</p> <button class="btn">Get more details</button> </div> <img src="img/joystick.svg" alt=""> </div> <div class="container trending"> <a href="#" class="see-all">SEE ALL</a> <h3>Currently Trending Games</h3> <div class="games"> <div class="block"> <img src="/img/game1.png" alt=""> <span><img src="/img/fire.svg" alt=""> 40 Followers</span> </div> <div class="block"> <img src="/img/game2.png" alt=""> <span><img src="/img/fire.svg" alt=""> 40 Followers</span> </div> <div class="block"> <img src="/img/game3.png" alt=""> <span><img src="/img/fire.svg" alt=""> 40 Followers</span> </div> <div class="block"> <img src="/img/game4.png" alt=""> <span><img src="/img/fire.svg" alt=""> 40 Followers</span> </div> </div> </div> <div class="container big-text"> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p> </div> <div class="container banner"> <h3>Lorem Ipsum</h3> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,</p> <img src="/img/banner.png" alt=""> </div> </div> <div class="features"> <div class="container"> <h3>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</h3> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,</p> <div class="info"> <div class="block"> <img src="/img/feature1.png" alt=""> <p>Mobile Game Development</p> <img src="/img/arrow.png" alt=""> </div> <div class="block"> <img src="/img/feature2.png" alt=""> <p>PC Game Development</p> <img src="/img/arrow.png" alt=""> </div> <div class="block"> <img src="/img/feature3.png" alt=""> <p>PS4 Game Development</p> <img src="/img/arrow.png" alt=""> </div> <div class="block"> <img src="/img/feature4.png" alt=""> <p>AR/VR Solutions</p> <img src="/img/arrow.png" alt=""> </div> <div class="block"> <img src="/img/feature5.png" alt=""> <p>AR/ VR design</p> <img src="/img/arrow.png" alt=""> </div> <div class="block"> <img src="/img/feature6.png" alt=""> <p>3D Modelings</p> <img src="/img/arrow.png" alt=""> </div> </div> </div> </div> <div class="wrapper"> <div class="container projects"> <h3>Our Recent Projects</h3> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. </p> <div class="images"> <img src="/img/Project1.png" alt=""> <img src="/img/Project2.png" alt=""> <img src="/img/Project3.png" alt=""> </div> <div class="images"> <img src="/img/Project4.png" alt=""> <img src="/img/Project5.png" alt=""> <img src="/img/Project6.png" alt=""> </div> <a href="" class="see-all">SEE ALL</a> </div> <div class="container email"> <h3>Lorem Ipsum</h3> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. </p> <div class="block"> <div> <h4>Stay in the loop</h4> <p>Subscribe to receive the latest news and updates about TDA. We promise not to spam you! </p> </div> <div> <input type="email" id="emailField" placeholder="Enter email address"> <button onclick="checkEmail()">Continue</button> </div> </div> </div> </div> <footer> <div class="blocks container"> <div> <span class="logo">logo</span> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. </p> </div> <div> <h4>About us</h4> <ul> <li>Zeux</li> <li>Portfolio</li> <li>Careers</li> <li>Contact us</li> </ul> </div> <div> <h4>Contact us</h4> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. </p> <p>+908 89097 890</p> </div> </div> <hr> <p>Copyright ® 2021 Lorem All rights Rcerved</p> </footer> <script> function checkEmail() { let email = document.querySelector('#emailField').value; if (!email.includes('@')) alert('Нет символа @'); else if (!email.includes('.')) alert('Нет символа .'); else alert('Все отлично!'); } </script> </body> </html> // about.php <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Game Website</title> <link rel="stylesheet" href="css/main.css"> </head> <body> <div class="wrapper"> <header class="container"> <span class="logo">logo</span> <nav> <ul> <li><a href="/">Home</a></li> <li class="active"><a href="/about.html">About us</a></li> <li><a href="#">Portfolio</a></li> <li><a href="#">News</a></li> <li class="btn"><a href="/contacts.html">Contacts</a></li> </ul> </nav> </header> <div class="hero-about container"> <div class="info"> <h1>Lorem Ipsum is simply dummy text of the printing and.</h1> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.</p> <button class="btn">Get in touch</button> </div> <img src="/img/about-banner.png" alt=""> </div> <div class="container work"> <h2>Why work with us</h2> <div class="blocks"> <div class="block"> <span class="badge purple">Lorem ipsum</span> <h3>Lorem Ipsum</h3> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,</p> </div> <div class="block"> <span class="badge brown">Lorem ipsum</span> <h3>Lorem Ipsum</h3> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,</p> </div> <div class="block"> <span class="badge green">Lorem ipsum</span> <h3>Lorem Ipsum</h3> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,</p> </div> </div> </div> </div> <footer> <div class="blocks container"> <div> <span class="logo">logo</span> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. </p> </div> <div> <h4>About us</h4> <ul> <li>Zeux</li> <li>Portfolio</li> <li>Careers</li> <li>Contact us</li> </ul> </div> <div> <h4>Contact us</h4> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. </p> <p>+908 89097 890</p> </div> </div> <hr> <p>Copyright ® 2021 Lorem All rights Rcerved</p> </footer> </body> </html>
-
I’ll say right away that I’m not a fan of this language, but for analysis I want to find out why, when moving to another file, it says that the page was not found and the extensions in the HTML browser. , not PHP? It also sometimes happens that from the main page it goes to another page, but if you go back, it gives the error file not found, how can I not find it if I’ve already been there? Are the problems only with this language or is it a problem with the servers? Or am I doing something wrong, but the documentation doesn't help me.
-
Why, when laying out in the header, and then in the main or footer, the top elements in the same main or header begin to shift, is there really no tag that fixes these elements?
-
https://codepen.io/codepcod/pen/yLrzwRR in .footer__item-input the bottom line goes 60px to the right and I want to make sure the input text doesn't reach the arrow
-
https://codepen.io/codepcod/pen/abxpRGd swiper-slide set to fixed width but it doesn't work, why is it stretched to fill the whole screen, I tried wide display but it doesn't work in my unit
-
Damn, how difficult it is to understand all this))