I'm having weird issues after installing WordPress, (using a subdomain and separate directory) it seems that files are not loading properly.
Freshly installed WordPress
Using the default theme
No https thing
I did contact the host support about this (I did assume that it's a permission issue) and he even temporarily set the directory permission to 777 and files to 666 to see if that resolves the issue. but unfortunately, it didn't. We tried everything already still doesn't work! I'm stuck
If i understand properly, your js & css files are not loading. correct?
check your js & css file path in inspect. its proper or not?
Try reloading your files, make sure your folders are appropriately named according to your code and linking between pages/folders.
Good luck
Failed to load resource: the server responded with a status of 404 (Not Found
I think the folders path is not correct.check once your files path and reload. Check once your CSS and JS path names also then again reload the page
Related
I'm using Django 3.1.7 on a MacBook Pro after transferring the Django project off of a Windows 10 machine. However, upon re-setting up the database and superuser and running the command pipenv sync to install all necessary modules, the server does run; but it doesn't serve any of my URLs or the CSS styles for the Admin page. I can reach the admin page at '/admin' but no other page that I've set up will display. All it gives me is my custom 404 page whenever I try to serve a page. Is there any way to fix this? Is something wrong? Where are the Admin CSS files?
python manage.py runserver --insecure
Use the --insecure option to force serving of static files with the staticfiles app even if the DEBUG setting is False.
djangoproject
I think we'd need more information... maybe the files itself.
There could be tons of things that could go wrong. Is your settings.py still pointing to the correct file paths? In views.py, did you make sure you are setting the html files in the same path? Are the html files in the right folder? Are all the Django and module versions the same? There's too much to name.
I have the same problem.
By what you are describing it happens because your file path uses either / or
One machine uses forward slash and the other backwards slash
I dont know to so use a method that work on both
I have multiple WordPress websites. All of them have been running fine for a long time. But suddenly my WP websites shown the error:
This page isn’t working
When I investigate the problem I found this in the error log:
"Uncaught Error: Call to undefined function wp() in /home/nc136xrqx05i/public_html/wp-blog-header.php:16"
and the wp-load.php file is 0.
Then I rename the plugin files. Then the websites run but if I try to install a plugin from the plugin folder from dashbaord, wp-load file is becoming empty again and the site goes down.
How can I solve that?
The solution to this issue is to set the permission of the wp-load file to 444 after copying the contents back into the file, but you have to do it quickly because whatever is emptying the file is doing it very fast. I had the very same issue today and tech support for both web host that I am with di
I had the same issue with my site and now I changed the wp-load.php file's permission from 644 to 444 as shown in the image below.
Also, I suggest you to take regular backup and replace the core files of Wordpress.
I had this problem, and found malicious files located in my wp-content folder (which were thus not overwritten during the re-upload of the WP core files. )
I removed these files - as they were responsible for emptying the wp-load file and the problem was solved :)
I have a website in drupal 7.53. When I try to upload an image in my article, it shows the image as a cross (image not found). For testing pruposes, I've set my folders to 777:
sites/default
sites/default/files
sites/default/files/tmp
But no luck.
Edit:
I've changed the "clean url" option to no clean urls and now it starts working. So I've replaces the .htaccess file to the default drupal file, but still no luck when I turn on "clean url".
From my experience most common reasons that can cause image style image creation failure are:
GD library not installed or not working properly
Wrong file permissions (php can't upload/write file)
Domain access module (it's "Locale" sub-moduel) - there's a bug in that module which messes up the image paths.
.htaccess file (some wrong options)
What I would do is try the fresh installation on same environment and if it's working well there or not and then I would switch off temporary module by module to see what is causing this issue. Also try switching to default Drupal's theme to see will it happen with it too.
My website is loading same files with www and without www. I just deleted the file from file manager and its showing 404 which is fine but a different version of it is loading
https://ospreyhomes.ae/wp-content/uploads/2015/01/logo.png (Delete but loading over without www domain)
https://www.ospreyhomes.ae/wp-content/uploads/2015/01/logo.png (Deleted - 404)
How can i get rid of the https://ospreyhomes.ae/wp-content/uploads/2015/01/logo.png being accessed on internet. i have already deleted the file
Same things goes with these 2 files. File deleted but being accessed with url without www
https://ospreyhomes.ae/wp-content/uploads/2015/01/logo.png
https://www.ospreyhomes.ae/wp-content/uploads/2015/01/logo.png
Its almost happen to any file when you have cdn cache service enable like cloudflare. Make sure you clear your browser cache. Try F5. Even not working,Then try a proxy browser to see real-time status of file or disable cloudflare while editing files.
From my side,i see your file has been deleted.
I'm having trouble making my CSS external stylesheet work in my actual hosting. It all works fine when I open the files from my Finder (I'm using a mac), but the stylesheet does not seem to load to my server properly. All other html files load fine and are visible when you visit my website in any browser,this is my website and the File Manager on my cPanel indicates that the CSS folder and external stylesheet file have been successfully uploaded for enough time that the style features should display. I tried clearing my browsing history and reopening my browser.
My link tag is and I have tried it using aswell as with just "css/socialpolarities.css". I've checked to make sure the spelling is right on the path and corresponds to the actual file.
Is the answer to just put all the style files in the public_html folder and then just change the path on all my html files? Or am I missing something?
I'm also using LiquidWeb if that means anything
The file css/socialpolarities.css seems to exist, but is void of content.
try looking at your local file to make sure it is indeed the one with the css code, then upload it to the same folder and override the original one.
You may have had an upload error.
I got it! The problem was actually that I needed to put the css file in the home directory, for some strange reason. My path from my html files definitely specified that the css files were in a css directory so I'm not sure if it's something I did wrong or whether the cPanel just sucks. Regardless, it works so I won't mess with it. Now time to copy all of my webfont files into my home directory...this is going to be messy lol.
Check your permission. They should be 755. You can search about permissions on internet. I changed the permissions and it worked fine.