Website URL
(http://dreamphones.wuaze.com/?i=1)
this is what i get after every process, what can be wrong?
this is what i get after every process, what can be wrong?
It’s requesting files that don’t exist. If the file was uploaded, but shows up as missing, the file is too big.
Hello Jri-Creator, I’m just a beginner could it be possible to help me out here.
I am not sure what you need help with. If it’s for the files not on the server even though they were uploaded, read my post. Check your code for errors, too, to make sure you have the files, if you have them on the server, set up correctly.
That’s what this forum is for. But you do need to work with us and actually share information and be willing to do stuff. We can help you fix this, but we can’t fix it for you.
@KangJL showed it already, but if you didn’t understand what he meant: a lot of the files from your website are missing. Your page references a lot of files in a directory with the name assets
, but that entire directory appears to be missing from your website.
Did you test this page on your own computer? If so, make sure to upload all the required files to your hosting account.
everything seems okay and i’ve checked the files in the file manager. Everything is available there. I’ve also tested on my computer and it works well. Still can’t figure out what the reason might be.
I had a brief look at your website and your files, and there appear to be quite a few issues.
You put an index.php file directly in the htdocs folder, which references various files in the assets
folder. But for that to work, there must be an assets
folder directly in the htdocs folder, but there isn’t.
In your screenshot, the URL is http://localhost/shopping/
, not just http://localhost
. There is also a folder shopping
on your website. But the URL http://dreamphones.wuaze.com/shopping/ returns a blank page. The Network tab in my browser says the status code is 500, which means the website code crashed.
But there is no way to debug the crash, because the second line of code in the index.php file disables all error reporting, so there is no way to see why it’s broken without doing a deep dive into the code.
I did have a quick look at the config.php file too, since a common issue when moving websites from local development to a hosting server is bad database configuration. But that file is not even valid PHP code, which could be one of the reasons it crashes.
The code on your own computer cannot be identical, because there are quite a few problems that very clearly would prevent this code from working. You also appear to have been messing around with the site and file structure resulting in incorrect paths and files in wrong places.
If you know the code on your own computer works well, then I suggest you remove all the current files and start over. This time, make sure to only change the required configuration (without making the code invalid), and do not move files around.
And if you don’t your website to be in the shopping
folder, don’t put it in a shopping
folder.
Thanks alot for the help. I guess I’d have to remove all the current files and start over, and then consider all your contributons and help.