Duvrazh
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [onetone] How do I add my blog to the Onetone template?This is old-ish but I’m working with this theme right now and as a moderately experienced WordPress user (and the fact that this came up high on Google search) I’m going to share some info real quick.
- You can indeed add menu items. By default the OneTone sections seem to generate their own menu. If you add a menu to the header location in Appearance > Menus and don’t put items in it, the entire menu will break. Just add a dummy link if you have to for checking how the menus form.
- Adding your own pages is easily doable like my first bullet – be warned that the theme was designed for one page only it seems. The “default” look of a Page is pretty bad. I’m investigating how to concurrently run multiple themes because of this. I’ve tried editing the css file, it just made things worse. Not sure how MageeWP put this together (I’m not a programmer – I’m a sys admin)
- The “About” link is tied to the ‘menu-slug’ – you might have edited your slug and therefore broken the link – this is true for the mid-page link in the body. Everyone should keep that in mind.
- Secondary URLs are fine and won’t break anything as long as they’re REDIRECTS to the primary URL. Pointing them straight to a wordpress installation configured for the primary URL will cause all kinds of things not to work correctly. WP could fix that without too many problems but it’s probably not worth the time.
Take that, Google.
Forum: Fixing WordPress
In reply to: Upload HTTP Error (detailed)I figured it out. If you’ve configured your server, Debian Jessie in my case, to pipe php into FastCGI for multithreaded Nginx-esque speed, there is a FastCGI default value of 128kb for max post length.
This is insanely under-documented. Add the FcgidMaxRequestLen and desired value in bytes to your fastcgi.conf in /etc/apache2/mods-available like the following.
<IfModule mod_fcgid.c> FcgidMaxRequestLen 26214400 FcgidConnectTimeout 60 </IfModule>
26214400 = 25 MB
8388608 = 8 MB
1048576 = 1 MB (for easy multiplication)Forum: Fixing WordPress
In reply to: Upload HTTP Error (detailed)BUMP
Can anyone else offer any insight here please?
Forum: Fixing WordPress
In reply to: How to re-gain admin permissions on wordpress siteIf you have access to the sql database you can use a variety of methods to look at the users table to get your administrator’s account details – you’ll probably have to forcibly reset the password on the admin account from the sounds of it. Phpmyadmin would be my recommendation but there are CLI methods and apparently a plugin called Adminer. I say be wary of a plugin managing the database that the entire site depends on to operate.
Forum: Fixing WordPress
In reply to: Upload HTTP Error (detailed)All that work for nothing. I made a couple extra files in ~ and made some aliases to put a site into debug and you know what?
0 -rw-r–r– 1 www-data www-data 0 Oct 2 18:04 debug.log
I had to touch the file… one didn’t create on it’s own. Either no errors are being thrown or the debug flag isn’t doing anything. My aliases modified both files btw.
I did a find debug.log from the site’s root directory but no joy. I’m thoroughly confused. These were all fantastic suggestions so far, I was certain this would unearth some kind of a clue.
Forum: Fixing WordPress
In reply to: Upload HTTP Error (detailed)That’s a step up on the involvement required since I don’t have those logs being collected by Sumo. I’ll run those tests once I automated turning on debug mode with a bash script.
Thanks for the next step. I’ll post results this afternoon.
Forum: Fixing WordPress
In reply to: Upload HTTP Error (detailed)Aight here goes.
- PDF Upload – Failed – same error on page
- PDF Upload – Developer Tools Error – https://pasteboard.co/14J27HFN.png
- I’ve already reinstalled wordpress – I’m going to rule this out
- GD – https://pasteboard.co/14JdcDy5.png
- ImageMagick – https://pasteboard.co/14JgQ5Cw.png
I am a system admin by day – but not an Apache admin by any means. I’m looking at that browser error… Found it in the combined log searching 500.
# Time Message 1 10/02/2015 08:46:24.000 108.162.237.114 - - [02/Oct/2015:12:46:24 +0000] "POST /wp-admin/async-upload.php HTTP/1.1" 500 799 "https://duvrazh.net/wp-admin/upload.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36" Host: duvrazh.net Name: /var/www/duvrazh.net/logs/combined.log Category: Apache_duvrazh.net
I use Sumo to collect and search logs so I did a +/- 1 minute – https://pastebin.com/hNd3MKh1 – nothing stands out of these at me. Do GD and ImageMagick conflict when jpg support is enabled on both modules?
I know this goes against best practices but I’m going to go ahead and leave my phpinfo() in place – you’ll be able to take a look if it will assist. https://www.duvrazh.net/phpinfo.php
Thank you for your assistance jkovis.
Forum: Fixing WordPress
In reply to: Upload HTTP Error (detailed)This link is a for a screenshot of the error.
https://pasteboard.co/13YotXlJ.png- upload_max_filesize 2M
- post_max_size 8M
The item I attempted to upload for that screenshot has the following properties:
- Size – 177 KB (181,808 bytes)
- Size on disk – 180 KB (184,320 bytes)
- Height – 1920
- Width – 1080