Forum Replies Created

Viewing 15 replies - 16 through 30 (of 52 total)
  • Thread Starter bradbpw

    (@bradbpw)

    That worked. Thank you!

    Thread Starter bradbpw

    (@bradbpw)

    Thanks! That worked great! Could a similar CSS code be used to change the background color of the complementary info? What about the text?

    Thanks!

    Thread Starter bradbpw

    (@bradbpw)

    I am referring to roles. I don’t have a plugin to set roles but I know I have done this in the past as I have created custom roles. I have two roles, “Agent” and “Agency” that I am trying to adjust the restrictions on.

    Thread Starter bradbpw

    (@bradbpw)

    Hmm, changing the image didn’t work. However, reinstalling WordPress HTTPS plugin solved the issue. All is good.

    Thanks for all the help!!

    Thread Starter bradbpw

    (@bradbpw)

    Thank you very much! I’ll start working on that!

    Thread Starter bradbpw

    (@bradbpw)

    Well holy crap! I didn’t have the FORCE_SSL_LOGIN and FORCE_SSL_ADMIN as well as the if ($_SERVER line at the top of the config.php file. It was near the bottom. That appears to have fixed it from what I can tell so far!

    Thank you so much for the help!!

    One little thing, On a lot of my pages I’m still getting the grey padlock with orange triangle in my address bar that Google defines as meaning

    Your connection to the site is encrypted, but Google Chrome has detected mixed content on the page.

    Any idea how to correct that?

    Thread Starter bradbpw

    (@bradbpw)

    I changed the underscore in my Nginx config to a ‘-‘. Still no joy. Here is my apache log.

    [Wed Dec 10 11:02:35 2014] [info] removed PID file /var/run/apache2.pid (pid=4400)
    [Wed Dec 10 11:02:35 2014] [notice] caught SIGTERM, shutting down
    [Wed Dec 10 11:02:36 2014] [info] Init: Seeding PRNG with 656 bytes of entropy
    [Wed Dec 10 11:02:36 2014] [info] Init: Generating temporary RSA private keys (512/1024 bits)
    [Wed Dec 10 11:02:36 2014] [info] Init: Generating temporary DH parameters (512/1024 bits)
    [Wed Dec 10 11:02:36 2014] [info] Init: Initializing (virtual) servers for SSL
    [Wed Dec 10 11:02:36 2014] [info] mod_ssl/2.2.22 compiled against Server: Apache/2.2.22, Library: OpenSSL/1.0.1
    [Wed Dec 10 11:02:36 2014] [warn] module deflate_module is already loaded, skipping
    PHP Warning: Module ‘apc’ already loaded in Unknown on line 0
    [Wed Dec 10 11:02:36 2014] [info] Init: Seeding PRNG with 656 bytes of entropy
    [Wed Dec 10 11:02:37 2014] [info] Init: Generating temporary RSA private keys (512/1024 bits)
    [Wed Dec 10 11:02:37 2014] [info] Init: Generating temporary DH parameters (512/1024 bits)
    [Wed Dec 10 11:02:37 2014] [debug] ssl_scache_shmcb.c(253): shmcb_init allocated 512000 bytes of shared memory
    [Wed Dec 10 11:02:37 2014] [debug] ssl_scache_shmcb.c(272): for 511920 bytes (512000 including header), recommending 32 subcaches, 133 indexes each
    [Wed Dec 10 11:02:37 2014] [debug] ssl_scache_shmcb.c(306): shmcb_init_memory choices follow
    [Wed Dec 10 11:02:37 2014] [debug] ssl_scache_shmcb.c(308): subcache_num = 32
    [Wed Dec 10 11:02:37 2014] [debug] ssl_scache_shmcb.c(310): subcache_size = 15992
    [Wed Dec 10 11:02:37 2014] [debug] ssl_scache_shmcb.c(312): subcache_data_offset = 3208
    [Wed Dec 10 11:02:37 2014] [debug] ssl_scache_shmcb.c(314): subcache_data_size = 12784
    [Wed Dec 10 11:02:37 2014] [debug] ssl_scache_shmcb.c(316): index_num = 133
    [Wed Dec 10 11:02:37 2014] [info] Shared memory session cache initialised
    [Wed Dec 10 11:02:37 2014] [info] Init: Initializing (virtual) servers for SSL
    [Wed Dec 10 11:02:37 2014] [info] mod_ssl/2.2.22 compiled against Server: Apache/2.2.22, Library: OpenSSL/1.0.1
    [Wed Dec 10 11:02:37 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.15 with Suhosin-Patch mod_ssl/2.2.22 OpenSSL/1.0.1 configured — resuming normal operations
    [Wed Dec 10 11:02:37 2014] [info] Server built: Jul 22 2014 14:35:25
    [Wed Dec 10 11:02:37 2014] [debug] prefork.c(1023): AcceptMutex: sysvsem (default: sysvsem)
    [Wed Dec 10 11:02:43 2014] [debug] mod_headers.c(756): headers: ap_headers_output_filter()
    [Wed Dec 10 11:02:43 2014] [debug] mod_deflate.c(700): [client 127.0.0.1] Zlib: Compressed 0 to 2 : URL /index.php
    [Wed Dec 10 11:02:43 2014] [debug] mod_headers.c(756): headers: ap_headers_output_filter()
    [Wed Dec 10 11:02:43 2014] [debug] mod_deflate.c(700): [client 127.0.0.1] Zlib: Compressed 4362 to 1534 : URL /wp-login.php
    [Wed Dec 10 11:02:43 2014] [debug] mod_headers.c(756): headers: ap_headers_output_filter()

    You can view the login for my page at ap.bpwgroup.com. It is secured now but the CSS is broken and it doesn’t have the full green SSL lock in the address bar. This is with the settings I posted in my first post but with the X-FORWARDED-PROTO instead of an underscore.

    Thread Starter bradbpw

    (@bradbpw)

    I am terminating at Nginx. configs are below. There is no “http” before my server names “www.subdomain.domain.com”, this forum must be adding them.

    Nginx

    server {
    listen 80;
    server_name subdomain.domain.com https://www.subdomain.domain.com;
    access_log /var/log/nginx/subdomain.domain.log;
    rewrite ^ https://$server_name$request_uri; # enforce https
    }
    server {
    listen 443;
    ssl on;
    server_name subdomain.domain.com https://www.subdomain.domain.com;
    ssl_certificate /etc/ssl/certs/ssl-bundle.crt;
    ssl_certificate_key /etc/ssl/myserver.key;

    access_log /var/log/nginx/subdomain.domain.log;

    location / {

    client_max_body_size 20M;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded_Proto https;
    proxy_set_header Host $http_host;
    proxy_set_header X-NginX-Proxy true;
    set $portNum 8083;

    proxy_pass https://127.0.0.1:$portNum;
    }

    }

    Apache

    <VirtualHost *:8083>

    DocumentRoot /my/path/to/wordpress/

    Alias /openatrium/ /my/path/to/wordpress/
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    </Directory>

    <Directory my/path/to/wordpress/>
    Options +FollowSymLinks
    AllowOverride All
    order allow,deny
    allow from all
    </Directory>

    </VirtualHost>

    Thread Starter bradbpw

    (@bradbpw)

    I’m getting an error when trying to change the owner using that command. It’s telling me the “h” is an invalid option.

    chmod: invalid option — ‘h’
    Try

    chmod –help’ for more information.
    brad@ubuntu:/var/www$ sudo chmod –help
    Usage: chmod [OPTION]… MODE[,MODE]… FILE…
    or: chmod [OPTION]… OCTAL-MODE FILE…
    or: chmod [OPTION]… –reference=RFILE FILE…
    Change the mode of each FILE to MODE.

    -c, –changes like verbose but report only when a change is made
    –no-preserve-root do not treat `/’ specially (the default)
    –preserve-root fail to operate recursively on `/’
    -f, –silent, –quiet suppress most error messages
    -v, –verbose output a diagnostic for every file processed
    –reference=RFILE use RFILE’s mode instead of MODE values
    -R, –recursive change files and directories recursively
    –help display this help and exit
    –version output version information and exit`

    Thread Starter bradbpw

    (@bradbpw)

    Thanks for the help. That worked. I just changed all of it to 777

    brad@ubuntu:/var/www$ sudo chmod 777 -R wordpress/

    Thread Starter bradbpw

    (@bradbpw)

    My Wp-contetn directory is already set at 777

    brad@ubuntu:/var/www/wordpress$ ls -l
    total 180
    -rw-rw-r--  1 root root   418 Sep 24  2013 index.php
    -rw-rw-r--  1 root root 19930 Apr  9 18:50 license.txt
    -rw-rw-r--  1 root root  7194 Aug  6 13:27 readme.html
    -rw-rw-r--  1 root root  4896 Dec 24  2013 wp-activate.php
    drwxrwxr-x  9 root root  4096 Aug  6 13:41 wp-admin
    -rw-rw-r--  1 root root   271 Jan  8  2012 wp-blog-header.php
    -rw-rw-r--  1 root root  4818 Feb 18  2014 wp-comments-post.php
    -rwxr-xr-x  1 root root  3191 Aug 27 22:34 wp-config.php
    -rw-rw-r--  1 root root  3087 Oct 24  2013 wp-config-sample.php
    drwxrwxrwx  8 root root  4096 Aug 27 22:35 wp-content
    -rw-rw-r--  1 root root  2932 Sep 24  2013 wp-cron.php
    drwxrwxr-x 12 root root  4096 Aug  6 13:41 wp-includes
    -rw-rw-r--  1 root root  2380 Oct 24  2013 wp-links-opml.php
    -rw-rw-r--  1 root root  2359 Oct 24  2013 wp-load.php
    -rw-rw-r--  1 root root 33407 Aug  6 01:37 wp-login.php
    -rw-rw-r--  1 root root  8235 Nov 13  2013 wp-mail.php
    -rw-rw-r--  1 root root 11070 Apr  7 15:15 wp-settings.php
    -rw-rw-r--  1 root root 25665 Nov 12  2013 wp-signup.php
    -rw-rw-r--  1 root root  4026 Oct 24  2013 wp-trackback.php
    -rw-rw-r--  1 root root  3032 Feb  9  2014 xmlrpc.php
    brad@ubuntu:/var/www/wordpress$ cd wp-content
    brad@ubuntu:/var/www/wordpress/wp-content$ ls -l
    total 32
    -rw-r--r--  1 www-data www-data 1100 Aug 27 22:34 advanced-cache.php
    drwxr-xr-x  6 www-data www-data 4096 Aug 27 22:36 cache
    -rwxrwxrwx  1 root     root       28 Jan  8  2012 index.php
    drwxrwxrwx 16 root     root     4096 Sep  9 16:39 plugins
    drwxrwxrwx  6 root     root     4096 Sep  9 15:24 themes
    drwxrwxrwx  2 www-data www-data 4096 Sep  9 16:39 upgrade
    drwxrwxrwx  4 www-data www-data 4096 Sep  9 16:39 uploads
    drwxr-xr-x  2 www-data www-data 4096 Sep  9 16:39 w3tc-config
    Thread Starter bradbpw

    (@bradbpw)

    Thanks for the replies. I was able to find a way to bypass the need for FTP credentials by adding the code below to my wp-config.php file

    define('FS_METHOD', 'direct');

    Thread Starter bradbpw

    (@bradbpw)

    I am able to login to the server using filezilla and the local IP address of the server

    Thread Starter bradbpw

    (@bradbpw)

    Yes. I have VSFTPD installed

    Thread Starter bradbpw

    (@bradbpw)

    Awesome! Thanks for the help Michael!

Viewing 15 replies - 16 through 30 (of 52 total)