Ehsan_collboy Posted September 18, 2021 Share Posted September 18, 2021 Hi Dear I am creating a Social Media Web based Application But i am stack in Some Code So please Dear check my code and Highlight the error. the error is post cant show in index page and second error is Registration Can't Complete I also Attach the link of MY Code i compressed in RAR file. Quote Link to comment https://forums.phpfreaks.com/topic/313768-please-dear-check-my-code-and-highlight-the-error/ Share on other sites More sharing options...
gizmola Posted September 18, 2021 Share Posted September 18, 2021 Post with portions of your problematic code using the code button. We don't allow people linking to archive files, as they could literally contain anything. 1 Quote Link to comment https://forums.phpfreaks.com/topic/313768-please-dear-check-my-code-and-highlight-the-error/#findComment-1590089 Share on other sites More sharing options...
Ehsan_collboy Posted September 18, 2021 Author Share Posted September 18, 2021 I only add my complete code and nothing in this rar file Quote Link to comment https://forums.phpfreaks.com/topic/313768-please-dear-check-my-code-and-highlight-the-error/#findComment-1590090 Share on other sites More sharing options...
Ehsan_collboy Posted September 18, 2021 Author Share Posted September 18, 2021 if you have an other way to send the code please share with me i will send the code Quote Link to comment https://forums.phpfreaks.com/topic/313768-please-dear-check-my-code-and-highlight-the-error/#findComment-1590091 Share on other sites More sharing options...
Ehsan_collboy Posted September 18, 2021 Author Share Posted September 18, 2021 https://drive.google.com/file/d/16ypQz93cb_8KbFcy8SHmK7C6oiT4H2nz/view?usp=sharing here is my code Quote Link to comment https://forums.phpfreaks.com/topic/313768-please-dear-check-my-code-and-highlight-the-error/#findComment-1590092 Share on other sites More sharing options...
gw1500se Posted September 18, 2021 Share Posted September 18, 2021 (edited) Unlikely you will get any help here without posting the errant code. Perhaps it is just me but your attitude may need changing as well. As for the error, make sure you have error reporting turned on and include the error in your post. error_reporting(E_ALL); Edited September 18, 2021 by gw1500se 1 Quote Link to comment https://forums.phpfreaks.com/topic/313768-please-dear-check-my-code-and-highlight-the-error/#findComment-1590094 Share on other sites More sharing options...
ginerjm Posted September 18, 2021 Share Posted September 18, 2021 People here don't like clicking on things that they don't know. That's why you need to post the code that your errors are in. Usually the line number in the error message will help you locate that area. Quote Link to comment https://forums.phpfreaks.com/topic/313768-please-dear-check-my-code-and-highlight-the-error/#findComment-1590096 Share on other sites More sharing options...
gizmola Posted September 18, 2021 Share Posted September 18, 2021 I browsed through the code. Did you write this code? Is it from a Tutorial? I don't understand why something new would use Bootstrap 2.0.1, which is a 7 year old version of Bootstrap. I did not find the error messages you provided in your first message. Are these really the error messages that occurred? Without the exact messages, we can't pinpoint where that code is running from. 1 Quote Link to comment https://forums.phpfreaks.com/topic/313768-please-dear-check-my-code-and-highlight-the-error/#findComment-1590097 Share on other sites More sharing options...
Ehsan_collboy Posted September 19, 2021 Author Share Posted September 19, 2021 Thanks Man for Checking my code The first problem is when a new user come to the code he want to register on code but registration can't proceed and the second problem is friends post can't show on index page Quote Link to comment https://forums.phpfreaks.com/topic/313768-please-dear-check-my-code-and-highlight-the-error/#findComment-1590138 Share on other sites More sharing options...
gw1500se Posted September 20, 2021 Share Posted September 20, 2021 Still no code? 1 Quote Link to comment https://forums.phpfreaks.com/topic/313768-please-dear-check-my-code-and-highlight-the-error/#findComment-1590155 Share on other sites More sharing options...
ginerjm Posted September 20, 2021 Share Posted September 20, 2021 Tell us what happens with your code. Show us your code in these particular areas. Add some debugging to help you diagnose the problem (echo statements!). Help us to help you. Your saying that something "can't proceed' or "can't show" is not at all helpful. Do some work on your own to find out why things aren't happening. That's how a programmer makes things happen. 1 Quote Link to comment https://forums.phpfreaks.com/topic/313768-please-dear-check-my-code-and-highlight-the-error/#findComment-1590156 Share on other sites More sharing options...
gizmola Posted September 23, 2021 Share Posted September 23, 2021 I have come to the conclusion, he wants us to run his code, test it and debug it. The language barrier is also probably contributing to it. I looked at the code, which is pretty simple. It might actually work, if the database is available. Probably there is a database connection problem, and OP is just not seeing the error messages as gw1500se suggested helpfully in an earlier post, might be remedied with error_reporting and possibly turning the errors on during development. 1 Quote Link to comment https://forums.phpfreaks.com/topic/313768-please-dear-check-my-code-and-highlight-the-error/#findComment-1590277 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.