bradbpw
Forum Replies Created
-
Forum: Plugins
In reply to: [Fourteen Extended] Fourteen Extended 1.2.2 messes up headerYep, that did it! Thanks Zulf!
Forum: Plugins
In reply to: [Fourteen Extended] Fourteen Extended 1.2.2 messes up headerSorry, should have elaborated. The random link is a page on my wordpress site. This link is normally only under a rollover link on the left sidebar.
The site is a company intranet, so I really can’t give access to it. Here is a screenshot of the problem. Hopefully that will help
[IMG]https://i62.tinypic.com/28j8w21.jpg[/IMG]
Forum: Fixing WordPress
In reply to: Can't customize login logo using multiple plug-insGot this fixed, it was a problem with my post_max_size in php.ini. I had it at 250mb, it needed to be 250M
Forum: Fixing WordPress
In reply to: Can't upload files over 1mb – HTTP ErrorI got it fixed!!
While trying to fix my other problem I came across a small typo in my php.ini file. I had upload_max_filesize = 250 mb. It needed to be 250M. That coupled with the other suggestions fixed my issues!!
THANK YOU SO MUCH GUYS!!!!
To sum it up, here is what needs to be done.
Add this to /etc/nginx/sites-enabled/default
server {
listen 81; ## listen for ipv4; this line is default and implied
#listen [::]:80 default ipv6only=on; ## listen for ipv6root /usr/share/nginx/www;
index index.html index.htm;# Make site accessible from https://localhost/
server_name localhost;
client_max_body_size 100M;Add this to /wordpress/wp-config.php
// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘wordpress’);/** MySQL database username */
define(‘DB_USER’, ‘root’);/** MySQL database password */
define(‘DB_PASSWORD’, ‘jb*1978*’);/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);/** Database Charset to use in creating database tables. */
define(‘DB_CHARSET’, ‘utf8’);/** The Database Collate type. Don’t change this if in doubt. */
define(‘DB_COLLATE’, ”);/** Increase limit for uploads. */
define(‘WP_MEMORY_LIMIT’, ‘100M’);Upload max size at /etc/php5/cgi/php.ini has always been this
; Maximum allowed size for uploaded files.
; https://php.net/upload-max-filesize
upload_max_filesize = 100MForum: Fixing WordPress
In reply to: Can't upload files over 1mb – HTTP ErrorYes, I have restarted nginx and apache each time and rebooted the server a few times.
I think all this screwing around has now caused another issue for me. I started a new thread on it, but I’m sure it’s related. I thought I reverted everything back, but I guess not. This is becoming frustrating
Forum: Fixing WordPress
In reply to: Can't customize login logo using multiple plug-insI tried installing a new instance of wordpress and had the same problem. I’m confident this is a server issue now.
Forum: Fixing WordPress
In reply to: Can't upload files over 1mb – HTTP ErrorI checked the log again and now it is a different code, it is 403
xxx.xxx.xx.xxx – – [11/Feb/2014:18:13:21 -0600] “GET /favicon.ico HTTP/1.1” 200 0 “-” “Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like $
xxx.xxx.xx.xxx – – [11/Feb/2014:18:13:41 -0600] “POST /wp-admin/async-upload.php HTTP/1.1” 403 1394 “https://ap.bpwgroup.com/wp-admin/media-new.php” “Mozill$Forum: Fixing WordPress
In reply to: Can't upload files over 1mb – HTTP ErrorI followed that link to make the changes and it did not fix it.
I added this to /etc/nginx/sites-enabled/default
server {
listen 81; ## listen for ipv4; this line is default and implied
#listen [::]:80 default ipv6only=on; ## listen for ipv6root /usr/share/nginx/www;
index index.html index.htm;# Make site accessible from https://localhost/
server_name localhost;
client_max_body_size 100M;I added this to /wordpress/wp-config.php
// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘wordpress’);/** MySQL database username */
define(‘DB_USER’, ‘root’);/** MySQL database password */
define(‘DB_PASSWORD’, ‘jb*1978*’);/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);/** Database Charset to use in creating database tables. */
define(‘DB_CHARSET’, ‘utf8’);/** The Database Collate type. Don’t change this if in doubt. */
define(‘DB_COLLATE’, ”);/** Increase limit for uploads. */
define(‘WP_MEMORY_LIMIT’, ‘100M’);My upload max size at /etc/php5/cgi/php.ini has always been this
; Maximum allowed size for uploaded files.
; https://php.net/upload-max-filesize
upload_max_filesize = 250mbForum: Fixing WordPress
In reply to: Can't upload files over 1mb – HTTP ErrorAs far as permissions, my uploads/2014/02 has full permissions.
There weren’t any entries in the apache log file, but nginx had this:
xxx.xxx.xx.xxx – – [11/Feb/2014:17:16:38 -0600] “POST /wp-admin/admin-ajax.php HTTP/1.1” 200 26 “https://ap.bpwgroup.com/wp-admin/media-new.php” “Mozilla/5.$
xxx.xxx.xx.xxx – – [11/Feb/2014:17:16:51 -0600] “POST /wp-admin/async-upload.php HTTP/1.1” 413 601 “https://ap.bpwgroup.com/wp-admin/media-new.php” “Mozilla$Forum: Fixing WordPress
In reply to: Can't upload files over 1mb – HTTP ErrorOk, I appreciate the help.
I’m inclined to think it is a wordpress issue. I have an owncloud installation on this same server using the same Nginx to Apache proxy, and I can upload huge files to it.
Thanks guys! I’ll report back if I get it fixed.
Forum: Fixing WordPress
In reply to: Can't upload files over 1mb – HTTP ErrorI made the changes to the Nginx config using this
https://rtcamp.com/tutorials/php/increase-file-upload-size-limit/Didn’t fix it.
This may help, I found an error code by inspecting the page after the error
Failed to load resource: the server responded with a status of 403 (Forbidden)
My wordpress/wp-content/uploads has full permissions
drwxrwxrwx 4 www-data www-data 4096 Feb 4 21:30 uploads
Forum: Fixing WordPress
In reply to: Can't upload files over 1mb – HTTP ErrorClaytonJames, yes, we are using nginx as a front end proxy for apache.
Forum: Fixing WordPress
In reply to: Can't upload files over 1mb – HTTP ErrorI’m having some trouble finding this setting in my php.ini file or finding a separate file that contains apc.max_file_size. I don’t have a apc.info, apc.ini, file or an apc section in my php.ini file. Is there a way to tell where my phpinfo() is pulling those settings from?
Thanks for the help so far. I’m hopefully optimistic that this is my issue!
Forum: Fixing WordPress
In reply to: Can't upload files over 1mb – HTTP ErrorHere is my phpinfo page. I don’t see anything that would be causing it, but I’m not an expert
Forum: Fixing WordPress
In reply to: Can't upload files over 1mb – HTTP ErrorThose should be good too
; Maximum size of POST data that PHP will accept.
; https://php.net/post-max-size
post_max_size = 250mb; Maximum amount of time each script may spend parsing request data. It’s a good
; idea to limit this time on productions servers in order to eliminate unexpectedly
; long running scripts.
; Note: This directive is hardcoded to -1 for the CLI SAPI
; Default Value: -1 (Unlimited)
; Development Value: 60 (60 seconds)
; Production Value: 60 (60 seconds)
; https://php.net/max-input-time
max_input_time = 60