Any idea what i did wrong.
Not without knowing exactly what you did.
until i tried to export the database using localhost/phpmyadmin. But it wasnt finding that so i entered some commands on the terminal
That’s way to vague to even guess what’s happened. It’s also not something you would normally encounter if phpMyAdmin was properly installed and operating correctly.
Find yourself a good “WordPress on Ubuntu 15.04” tutorial and have another go at it.
If you’ve installed WordPress by using the “apt-get install wordpress” command, or from the package manager, do yourself a huge service and look for a tutorial that helps you install it properly in /var/www/html instead
Thread Starter
luanl
(@luanl)
The wordpress directory is in /var/www/html. But apache2 wont find it (when i enter localhost/wordpress it’s as if i have no connection).
The closest thing i can say about what i exactly did is that i added Include /etc/phpmyadmin/apache.conf in /etc/apache2/conf-available/phpmyadmin.conf. I did not have phpmyadmin installed at the time when i tried this so it created a new file that did not exist.
I thank you for taking time to reply.
– What are you seeing when you try http://localhost
– Did you configure a virtual host for the wordpress directory in /etc/apache2/sites-available/ or did you leave the server in its default configuration
..they wont load at first but when i close and reopen the tab it works fine, until i click to go somewhere else on the site.
– is that behavior accompanied by an error code or message when it doesn’t work?
Thread Starter
luanl
(@luanl)
When i try http://localhost it takes me to the default “It Works” page.
I know your going to hate me because i use the word think, but i don’t think i created a virtual host. I followed a tutorial but i don’t remember doing anything in the “sites-available” diretory.
When it doesn’t work it simply says Unable to connect (like when i’m not connected to the internet).
When i try http://localhost it takes me to the default “It Works” page.
Well, at least that tells us Apache is still working. 🙂
http://localhost/wordpress failing only intermittently or prior to a refresh is certainly a mystery. I’m afraid I don’t have a clue as to what’s actually happened.
Thread Starter
luanl
(@luanl)
I think i somehow screwed up the link between apache2 and the WP directory. Anyway i thank you for your feedback 🙂
Thread Starter
luanl
(@luanl)
I fixed the problem by actually installing phpmyadmin. Then the “include phpmyadmin” line made sense. Now everything is working fine.