Forum Replies Created

Viewing 15 replies - 31 through 45 (of 116 total)
  • install wp-super-cache.

    if you have root access install APC cache. and the APC object cache for wordpress.

    that will help A LOT

    do you have the rewrite rules?

    Thread Starter leisegang

    (@leisegang)

    This is still not resolved. Is there anything in my PHPinfo that is wrong?

    I can post the php.ini file if it helps.

    Thread Starter leisegang

    (@leisegang)

    i set up a site with a “vanilla” wordpress out of the box, with no wordpress rewrites. Just nginx default settings.

    I cannot see the themes on that install either.

    i am using PHP 5.4.12 Is there anything in the phpinfo file that is wrong that you can see?

    https://bloggbyen.com/phpinfo.php

    Should i paste my whole PHP.ini files so you can see?

    Thread Starter leisegang

    (@leisegang)

    So i should set up a test site on the same server and se if it works?

    Will do. be back with more info!

    Thread Starter leisegang

    (@leisegang)

    By the way. When i check the allowed themes option in wp_sitemeta it is empty..

    Is there anywhere in wordpress i have to set the “path” from root to where wordpress “lives” ?

    any idea Mika?

    Thread Starter leisegang

    (@leisegang)

    i used WPMU before. So i think 2.9.2?

    Thread Starter leisegang

    (@leisegang)

    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;
    	}
    }
    Thread Starter leisegang

    (@leisegang)

    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!

    Thread Starter leisegang

    (@leisegang)

    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.

    Thread Starter leisegang

    (@leisegang)

    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.

    Thread Starter leisegang

    (@leisegang)

    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?

    Thread Starter leisegang

    (@leisegang)

    i am using NGINX and php-fpm

    Does this have anything to do with my errors?

    php and nginx is running as www

    Thread Starter leisegang

    (@leisegang)

    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

    Thread Starter leisegang

    (@leisegang)

    Thanks! That worked!

    Such an easy fix! Just a = too little!

Viewing 15 replies - 31 through 45 (of 116 total)