Themes gone away
-
I have moved my site to a new server.
Everything works sort of fine except the themes are gone.They are in the folder. they can be viewed on the blogs, but they cant change themes. they are ALL gone under network->themes.
Any idea why its like this?
-
Who owns the theme folders? If you moved, it’s possible the permissions and/or user who owns the files ned to be changed.
The theme folder and all other wordpress files has owner:group – www:www
The folder is 755 chmod.
All my plugins work and i can see them in the admin section. but not themes.
i have run
chown www:www home/wwwroot/ -R
but no luck
i am using NGINX and php-fpm
Does this have anything to do with my errors?
php and nginx is running as www
Themes are in /wp-content/themes, right?
Yes they are in that folder.
I cannot get this to work. Tried everything. Eny good ideas?
Can you do something if you have access to server?
The only servers I’ll do that for are ones at DreamHost right now.
Rename themes to themes-old
Create a new themes folder
Add in FRESH copies of the themes.
See if that works.
i tried making a new folder and downloading one inside wordpress and then going to the themes page on network admin. NO LUCK getting it to show there.
I think you need to talk to your host about this, since it’s something to do with that setup.
is there anything in the SQL that could have gone wrong when i moved?
i have tried “nulling” the allowed themes option. with no luck.
If you didn’t change the domain name, not really.
MAYBE look for the old path (like if you moved from /home/leisegang/public_html/ to /home/leisegang/example.com/ …)
i moved from a cpanel server with apache to an nginx server.
i have searched for public_html in the whole SQL database and it is not in there at all.
i am the host 🙁 so unfortunately i have noone else to ask!
What’s in the conf file for nginx’s rules for the site?
i am using WP-SUPER-CACHE but i dont have the rewrites i think, how do i implement those?
user www www; worker_processes 4; error_log /home/wwwlogs/nginx_error.log error; pid /usr/local/nginx/logs/nginx.pid; #Specifies the value for maximum file descriptors that can be opened by this process. worker_rlimit_nofile 10240; events { use epoll; worker_connections 4096; } http { include mime.types; default_type application/octet-stream; server_names_hash_bucket_size 128; client_header_buffer_size 32k; large_client_header_buffers 4 32k; client_max_body_size 100m; sendfile on; tcp_nopush on; keepalive_timeout 60; tcp_nodelay on; fastcgi_connect_timeout 300; fastcgi_send_timeout 300; fastcgi_read_timeout 300; fastcgi_buffer_size 64k; fastcgi_buffers 4 64k; fastcgi_busy_buffers_size 128k; fastcgi_temp_file_write_size 256k; gzip on; gzip_min_length 1k; gzip_buffers 4 16k; gzip_http_version 1.0; gzip_comp_level 2; gzip_types text/plain application/x-javascript text/css application/xml; gzip_vary on; #limit_zone crawler $binary_remote_addr 10m; #log format log_format access '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" $http_x_forwarded_for'; server { listen 80; server_name domain.com *.domain.com; index index.php; root /home/wwwroot; server_tokens off; location / { index index.php; try_files $uri $uri/ /index.php?$args; } # Add trailing slash to */wp-admin requests. rewrite /wp-admin$ $scheme://$host$uri/ permanent; # Directives to send expires headers and turn off 404 error logging. location ~* \.(js|css|png|jpg|jpeg|gif|ico|pdf)$ { expires 96h; log_not_found off; } # this prevents hidden files (beginning with a period) from being served location ~ /\. { access_log off; log_not_found off; deny all; } # Pass uploaded files to wp-includes/ms-files.php. rewrite /files/$ /index.php last; if ($uri !~ wp-content/plugins) { rewrite /files/(.+)$ /wp-includes/ms-files.php?file=$1 last; } # Rewrite multisite '.../wp-.*' and '.../*.php'. if (!-e $request_filename) { rewrite ^/[_0-9a-zA-Z-]+(/wp-.*) $1 last; rewrite ^/[_0-9a-zA-Z-]+.*(/wp-admin/.*\.php)$ $1 last; rewrite ^/[_0-9a-zA-Z-]+(/.*\.php)$ $1 last; } location ~ \.php$ { try_files $uri =404; fastcgi_pass unix:/tmp/php-cgi.sock; fastcgi_index index.php; include fcgi.conf; } access_log /home/wwwlogs/access.log access; } }
I wouldn’t mess with WP Super Cache yet.
What version of WP did you start with when you turned on Multisite? 3.0?
i used WPMU before. So i think 2.9.2?
- The topic ‘Themes gone away’ is closed to new replies.