Error happens after the whole file is uploaded (we lifted the post-size and file upload limits). Solution that helped me: nano /etc/apache2/mods-available/fcgid.conf add this: FcgidMaxRequestLen 1073741824 or edit MaxRequestLen to a higher value. Then restart: service apache2 restart
Author Archives: Vladimir Vassilev
Using git via console
# Basic commands to get you started in using Git via console # Дълъг документ, който да ви накара да оцените какво GitHub for Windows прави за вас 😉 Commands to navigate in the console pwd print working directory cd change directory. Използвайте кавички ако в името има интервал cd Users cd “Program files” mkdir …
Before sending a quote to a client
We need to ask ourselves the following questions in order to be sure how much we can get paid for the work and are we really willing to sell our time and expertize for the project: What services am I providing? How many hours do I think this will take me? How much is this …
BuddyPress forum topics don’t show up
As the last year’s Vlado was not wise enough to blog about this little problem that occurs after BuddyPress updates or server migrations, he is doing it one year later, when he comes again to such a problem. all forum topics are missing; creating a forum topic doesn’t show up; checking topics from a specific …
Getting the BuddyPress user profile link
For an author’s profile link, use
1 |
bp_core_get_user_domain( $user_id ) |
to get the URL, and
1 |
bp_core_get_userlink( $user_id ) |
to get an HTML link element, including display name. For the xprofile data, use
1 |
xprofile_get_field_data( $field, $user_id ) |
$field can be either the name of the field (like ‘Biography’) or the numerical field id.
Getting a specific URL parameter in jQuery
1 2 3 |
function getURLParameter(name) { return decodeURIComponent((new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)','i').exec(location.search)||[,""])[1].replace(/+/g, '%20'))||null; } |
WordPress languages and multilanguage possibilities
Getting WordPress to speak your langauge from R-Cubed Design Forge