Unable to create WordPress table


#1

I was trying to install WordPress as in this link. I’m getting an error as in the screenshot attached.

Also I cant reach my PMA at domain/ee/pma , it gives me a Welcome to nginx page as what I get on the domain root.

Attachment Link(s):

https://rtcamp.com/wp-content/uploads/rtMedia/topics/53193/2013/12/a.png


#2

I already reported a bug to wp-cli about wrong exit status.

You can fix this by running following commands:

curl -s http://wp-cli.org/installer.sh | INSTALL_DIR='/usr/share/easyengine/wp-cli' bash  
ln -s /usr/share/easyengine/wp-cli/bin/wp /usr/bin/wp  
cp -i /usr/share/easyengine/wp-cli/vendor/wp-cli/wp-cli/utils/wp-completion.bash /etc/bash_completion.d/  
source /etc/bash_completion.d/wp-completion.bash

Thanks

Attachment Link(s):

https://rtcamp.com/wp-content/uploads/rtMedia/topics/53195/2013/12/Selection_043.png


#3

I did recieve this in b/w though. Any issues?

root@hobby1:~# ln -s /usr/share/easyengine/wp-cli/bin/wp /usr/bin/wp ln: failed to create symbolic link `/usr/bin/wp': File exists

Also do I have to install WP again ?


#4

Run following command to verify wp is pointed on right place
ls -l /usr/bin/wp
the output must be like this:
lrwxrwxrwx 1 root root 35 Aug 21 11:12 /usr/bin/wp -> /usr/share/easyengine/wp-cli/bin/wp

Also do I have to install WP again ?

No need to install it again. If you go inside the /var/www/domain.com/htdocs/, you will find all the files/folders.
At this stage just open the domain name, it will redirect you to WordPress installation process, so you can add all the required things over there and you are done!

Or
The confusion is here, then just delete the site created by you and re-create it. https://rtcamp.com/easyengine/docs/site/delete/delete-website-database-webroot-nginx-configurations/

Thanks,
–Mitesh


#5

I get the same output as you mentioned, though I have issues elsewhere. Why I type in the domain, I get the Nginx welcome page and not the WordPress installation.
I get the same when I point my browser to domain/ee/pma

Any thoughts?


#6

I will need to debug this issue, can you please send me the error log and access log content, use following command to check logs,

cat /var/www/example.com/logs/*

OR

The fastest way to resolve this issue is delete and recreate site using following commands,

ee site delete all example.com

ee site create wp wpfc example.com

Kindly replace example.com with your domain name.


#7
root@hobby1:~# cat /var/www/hobbymela.com/logs/* cat: /var/www/hobbymela.com/logs/access.log: No such file or directory cat: /var/www/hobbymela.com/logs/error.log: No such file or directory

This is the what happened when I run that query.

Deleting and installing WP again.


#8

Installation went correctly and was successful. The problem I’m facing now is when I type the domain I get an error loading page and when I point the IP, I get Nginx welcome page.

Still I can’t access the PMA.


#9

Its seems like caching issue can you delete the nginx fastcgi cache
rm -rf /var/run/nginx-cache/* and check the website

Check Your Website: http://hobbymela.com/?page_id=2
WP-ADMIN: http://hobbymela.com/wp-admin

phpMyAdmin: http://hobbymela.com/pma/


#10

Now the domain comes when there is no www. before the domain. But when the site is being accessed with www before, it throws an error.

I added the following code to my domain.com file in etc/nginx/sites-available/ directory, though it doesn’t work.

server {  
        server_name "~^(?!www\.).*" ;  
        return 301 $scheme://www.$host$request_uri;  
}

#11

Arjun,
I guess the domain name with www is not pointed with any CNAME or IP address.
Please cross check it.


#12

Everything is fine! Thank you Mitesh!


#13