yasirnali
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Changed the functions.php and now my blog is blank.I think I might’ve got it. I’m reading about it and it just clicked.
After buying the website through Flippa and getting the domain transferred over to the account, the seller was helping me set up the server. It’s a WordPress site. All she helped me do was create a droplet, didn’t even choose wordpress as an image, and she gave me an SSH key. Under DNS, we never added the domain and neither did we change the namesevers given by my DigitalOcean to be updated on GoDaddy. But the server was just running. So essentially all I had was a droplet named with an SSH key and nothing on the server. That’s why when I go into my FTP program and go to see the files I can’t see anything but empty basic folders. Nothing with domains and themes. It doesn’t make sense for my site to run without the WordPress image option (apache2 etc) for 4 days. Is it possible that the server/snapshot was all along on her account and running there? She said she still has her account.
Forum: Fixing WordPress
In reply to: Changed the functions.php and now my blog is blank.Do I run all that in the console access in DigitalOcean?
Forum: Fixing WordPress
In reply to: Changed the functions.php and now my blog is blank.I’m going to try my best to search. This is what DigitalOcean told me”Hello,
The file you need to edit would be in the /etc/apache2/sites-available/ folder. Sadly, we wouldn’t know the exact name. However I can help you figure it out!
First, run the following command:
ls -lah /etc/apache2/sites-available/
This will output a list, something like this:
drwxr-xr-x 2 root root 4.0K Nov 24 22:33 .
drwxr-xr-x 9 root root 4.0K Nov 24 22:50 ..
-rw-r–r– 1 root root 1.5K Nov 24 22:20 000-default.conf
-rw-r–r– 1 root root 6.3K Jan 7 2014 default-ssl.confIt may also have other records, if you have multiple sites. If you see one with the name of your website like example.com.conf then that’s the one you want. If you don’t see your site listed, then 000-default.conf will most likely be the one.
Next, using the file name you’ve decided on, run the following command:
grep “DocumentRoot” /etc/apache2/sites-available/000-default.conf
Of course, replace the 000-default.conf if you found another file with your site name on it!
This will spit out something like this:
DocumentRoot /var/www/
/var/www is the document root in this case. Your location may be different. That is where the files for your site will be located.
Let us know if you have any other questions!
Regards,
James
DigitalOcean Support
Check out our community for great tutorials, articles and FAQs!
https://digitalocean.com/community”Forum: Fixing WordPress
In reply to: Changed the functions.php and now my blog is blank.I’m getting a white screen. My website is inspire52.com
This is the short video I was using: https://www.youtube.com/watch?v=JhegR-xmAps
Basically he added 5 lines of codes at the bottom of the functions.php file. All I have to do is re-access that and edit the code
Forum: Fixing WordPress
In reply to: Changed the functions.php and now my blog is blank.Questas, that’s my local directory. That’s essentially what’s on my computer. I don’t have the directories saved there. Everything is on the remote/server side.
Forum: Fixing WordPress
In reply to: Changed the functions.php and now my blog is blank.I am double clicking var Lol
This is exactly what opens up. It drops down https://imgur.com/wiYIBDkForum: Fixing WordPress
In reply to: Changed the functions.php and now my blog is blank.Questas_admin,
That’s the picture of what happens when I click on the VAR folder. It gives me all those folders, but www.
Forum: Fixing WordPress
In reply to: Changed the functions.php and now my blog is blank.Hi Anacawonka,
Not really sure what you mean by checking the “documentroot” directive in the hosts file. Is that something I would still do in FileZilla?If it is, even when I go into the remote site portion of FileZilla and skim through the etc/ directory it doens’t show me apache2/ : https://imgur.com/Mig7MEm
Sorry I’m realyl really new to this.
Forum: Fixing WordPress
In reply to: Changed the functions.php and now my blog is blank.This is what I see: https://imgur.com/7lCxdyH
Forum: Fixing WordPress
In reply to: Changed the functions.php and now my blog is blank.This is what my hosting service provider (Digital Ocean) wrote back:
There has been a response to your ticket:
Greetings!
Thank you for submitting a ticket with us today!
I see that you are using a normal Ubuntu image, so we wouldn’t really know where your WordPress directory is.
This would be wherever you installed WordPress on your droplet.
You can always pull up your virtual host in /etc/apache2/sites-available/ and see where the DocumentRoot is located.
Let us know if you have any additional questions or concerns.
Forum: Fixing WordPress
In reply to: Changed the functions.php and now my blog is blank.I’m currently running a remote file search. This sucks. Trying to find paths like theme and public_html. Hopefully something comes up.
Next I’m going to do a remote directory search for the path “public.html” and a file search for functions.php
Could it be that my files are hidden?
Forum: Fixing WordPress
In reply to: Changed the functions.php and now my blog is blank.The worst part is I can’t access my wp-admin link for my website because of the error in the functions.php. So I went to digitalocean set up the console access, got the login credentials and logged into filezilla successfully. Just don’t know why those folders aren’t there. I noticed every other similar post had it, maybe I’m making a silly mistake.
Forum: Fixing WordPress
In reply to: Changed the functions.php and now my blog is blank.haha sorry about that. I was just having a mini panic attack :/
This is all I see https://imgur.com/ehDKXT9
I know I logged in correctly, through DigitalOcean ??