Author: Dan LaSota
-
MySQL for File Attachments
What I need is right here: mysql> select ID, post_title, post_name, post_parent from wp_2_posts where post_type=’attachment’; +—–+————————-+————————-+————-+ | ID | post_title | post_name | post_parent | +—–+————————-+————————-+————-+ | 40 | AUTC_orangelogo_150 | autc_orangelogo_150 | 0 | | 66 | UAF Rotary | rotary | 0 | | 82 | bob_pawlowski | bob_pawlowski | 0 |…
-
File Upload Limit
I’m working on getting a system for the AUTC people to be able to upload files properly. I’m taking a guess that 24M should work. I had to edit /etc/php.ini and add define(‘WP_MEMORY_LIMIT’, ’24MB’); to wp-config.php
-
Breadcrumbs Function Solved
Finally updated the wordpress multisite hierarchical breadcrumbs function. This includes pages, news feeds, posts, and category archives. The plugin authors were too slow in getting changes out.
-
Generic 302 Redirects
A redirect is a message the web server sends the client telling it that the page requested is temporarily moved. I’ll be using this when making web pages a bit especially when I need to point to content that is on an older server like Roxen. That way, I can go ahead and create the…
-
Sagavanirktok Video Page
This is a good example of something which seems simple but creates a cascade of other work. I added a new web page, https://ine.uaf.edu/autc/media/sag-river-breakup/, to a sub site of the new INE web site. I had to stitch together the AUTC subsite, create a Navigation Widget Column for this AUTC site, clean up the AUTC…
-
MySQL 5.1.50 and Disk Space
In the process of upgrading to 5.1.50 directly from 5.1.48 on beta.ine.uaf.edu. I ran into some difficulty on that as the machine ran out of disk space. Spent some time talking to Peter about short and long term solutions. A plan is in order. The actual process of upgrading 5.1.50 went well on the beta…
-
MySQL 5.1.49
5.1.49 is out. The changes are listed here: https://dev.mysql.com/doc/refman/5.1/en/news-5-1-49.html I do not deem this a critical but will get to it when time permits.