cesarnjos
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Can’t upload media – Failed to write file to disk or HTTPGlad everything turned out okay :).
Thanks and have a great week!
Forum: Fixing WordPress
In reply to: Can’t upload media – Failed to write file to disk or HTTPIf the same problem is happening on the test site then its definitely something wrong with a server config or a user ownership.
Please give a call to godaddy directly and ask them to reset ownership of your files and then test again. If no luck please ask them to escalate the matter to be investigated.
As if it also happens on a fresh test installation then all that is left is a php/server config preventing it or file ownership issues.Let me know if you manage to fix it.
Thanks!
Forum: Fixing WordPress
In reply to: Can’t upload media – Failed to write file to disk or HTTPHello again.
Yes the steps there should suffice to fix any permission-wise issues, but there may still be problem regarding the owner, on the far right of your FTP client where the files are being listed there should be a tab called “owner”, is the information there on the uploads folder the same as it is on the main index.php?
Using a script to try to write something onto /wp-content/uploads folder should rule out permission/owner issues as long as the owner of that script is the same that owns wordpress’s files.
Thanks!
Forum: Fixing WordPress
In reply to: Can’t edit pagesThere’s several factors that may affect the site in a way that that happens.
I would recommend that you start by trying to disable the plugins.
This usually fixes it, then you just have to track which plugin was causing it by enabling one by one until it happens.If still no luck then try to temporarily enable one of the default themes, if this fixes it then you’ll know there’s some issue with your theme or an incompatibility problem.
Thanks!Forum: Fixing WordPress
In reply to: help with site, not able to access dashboardCould you please provide some more details about what are you seeing/error message when you try to login to the dashboard?
Your site seems to be quite slow at the moment so maybe you are just reaching the timeout when trying to login.From what i can see it seems that whatever change was made it changed the default folder location for the website.
It seems to have been changed to :
https://nnahra.org/home/ while it should be just https://nnahra.org/
Here’s an example of a file that your site tries to load:
https://nnahra.org/home/wp-content/plugins/woocommerce/assets/js/frontend/woocommerce.min.js?ver=3.1.0
while it should actually be:
https://nnahra.org/wp-content/plugins/woocommerce/assets/js/frontend/woocommerce.min.js?ver=3.1.0Please take a look here to see how you can get that resolved in an easy manner:
http://www.inmotionhosting.com/support/website/wordpress/wordpress-changing-the-site-url-and-home-settingsOnce that is fixed the access should immediately work fine.
Thanks!
Forum: Fixing WordPress
In reply to: Can’t upload media – Failed to write file to disk or HTTPUnfortunately there’s several things that can cause this issue.
I’ve resolved several issues exactly like this and the reasons vary so much.
Could you check if the disk is not actually full?
Its possible that the uploads folder may be locked either by permissions or by the host. If you’re a developer or have one you can have him try make a script that attempts to write something on that folder.
Its also possible that WordPress is running as a specific user (server-wise) and the uploads folder is owned by a different one, depending on the server rules this can make it so that one user can’t touch the files owned by the other one.If you try to make an installation of wordpress on a separate folder do you get the same issue?
Thanks!Forum: Fixing WordPress
In reply to: Massive 404 page attackHi there!
please take a look here:
https://blog.sucuri.net/2015/11/404-errors-search-console-spam-seo.htmlThere is not much that can be done in terms of if someone really wants to continue that spam to fix it permanently.
The most important part is that those 404’s have no effect on your SEO so you may as well just choose to ignore it.
You only need to worry if any of those links starts to result in a 200 or if they even start appearing on your Search Engine results page.
Thanks!To search for something through all the files you can simply find a PHP script that does it on Google, but if you are unsure about this or if the script will even work you can try to check with your hosting provider as they usually don’t mind carrying actions like that.
Glad to hear it hasn’t returned :), hope everything is good there now.
Forum: Fixing WordPress
In reply to: Mysterious code in functions.phpHi there!
I checked the code you provided and its possibly added by a malware indeed.
The code by itself doesn’t seem to have the capability to do more than list all the posts you have and inject some content into them.
You can search the database for <div id=”wp_cd_code”> to check if there was in fact any injection. If any record is found then i recommend you start cleaning up the database or try restore a good backup.
If the code continues to be added to the functions.php file then you may have some backdoor present on the site that needs to be removed.
As a precaution just in case be sure to change all credentials, FTP, wp-admin and database.
Hi there!
I checked the code you provided and its possibly added by a malware indeed.
The code by itself doesn’t seem to have the capability to do more than list all the posts you have and inject some content into them.
You can search the database for <div id=”wp_cd_code”> to check if there was in fact any injection. If any record is found then i recommend you start cleaning up the database or try restore a good backup.
If the code continues to be added to the functions.php file then you may have some backdoor present on the site that needs to be removed.
As a precaution just in case be sure to change all credentials, FTP, wp-admin and database.
Important to note that the issue may as well be a server config on your side or on one of the ad network’s side, this is why its important to test the same site on multiple computers and multiple networks to see if the issue also happens.
If the issue is contained to one computer then you have the options on my previous reply.
Thanks
The issue may to be coming from the client’s computer/browser.
The fact that this file is being downloaded could mean a few things:
-One of the ad networks in use on the site is having some server issue and a file is plainly being served.
-There’s some issue with the browser you are using either a plugin or add-on malfunctioning.
-You computer/network has been compromised.There’s a few very easy tests to check for this, first of, try to do the same on a different computer outside of the network you are in at the moment, if all works fine and the file is not downloaded then it means that the issue is with your computer or network.
Now let’s go over a few steps that can be taken in case the issue is in fact with your computer or network;
-Check the file C:\Windows\System32\drivers\etc\hosts for any bad entries, you can see here how it is suppose to be and how to reset it in case https://support.microsoft.com/en-us/kb/972034. If you have not added any entry it should look exactly like on that link.
-Check the DNS entries on your network and on your computer, this can be done through the network, you can see here how: http://kb.mit.edu/confluence/display/istcontrib/How+to+check+DNS+settings+on+Windows+7
For most cases automatic settings work fine, if you have any specific IP’s set there and you did not set them try put automatic but take note of the other IP’s that were there in case you have to revert.
-Uninstall your browser and use a junk cleaning tool to remove any leftovers and reinstall it.
-Use a different browser to see if it happens.
-Disable all the add-ons and extensions on your browser.In case the issue still happens on external computers then it may be from an ad network malfunctioning on the site, for this the site owner can try to disable the ads and see if it helps.
In most cases the issue still happens when adblocker is enabled, its very important to insure that the adblocker you have installed is real one, as there are many fake adblockers going around and even the ones on Chrome store cannot be trusted.As a last resort i would suggest formatting the computer if all of the above failed to fix the issue and its verified that the issue is coming from the computer in question.
Forum: Fixing WordPress
In reply to: Offline WP SiteHi there!
I’m not sure i understand exactly what you trying to do, care to explain a little further?
You are building a website that is going to be used only offline and you want admin areas to be not accessible? Or the opposite? You want to be able to use the site like it was online but keeping it offline?
Forum: Fixing WordPress
In reply to: Themes visible only for local networkHi there!
That’s half work already done.
Now you have to figure out why they are being blocked, this can have many reasons, .htaccess, firewall rules and etc.
Its usually just an .htaccess that is causing the issue but since your are only getting blocked from the outside its possible that its a firewall rule or even the apache/nginx settings.
I would recommend that you start by first disabling all caches, then you can try disabling the .htaccess files, you can do it by simply renaming it to for example .htaccess.bak.
Its really trial and error at this point unless you know how to look at the server logs directly and understand them :/
Forum: Fixing WordPress
In reply to: Deleting website troubleshootingHi there!
I believe there is no delete button, hehe.
WordPress sites are simple to delete, just go to the folder where the WordPress files are and remove them, simple right? :), you may want to also perform a full backup just in case.
You can also get rid of the database if necessary, in which case you just look at the wp-config.php file and check the credentials and DB name, log into it with adminer or PHPMyAdmin interface and remove it.
You need to be careful when deleting the database because the data from the current live site may also be there, in which case you should only delete the tables that match the prefix that is set on the wp-config.php file.Again, always good to perform a full backup beforehand in case things go wrong.
Good Luck 🙂