Archive for the ‘Web Programming’ Category

Installing WordPress/Joomla/Drupal on CentOS 6.2 (netinstall)

Step by Step how to install WordPress/Joomla/Drupal on CentOS 6.2 (netinstall). I’ve been looking at using a CMS for a while as an alternative to designing websites from scratch. I finally have had a reason to use one (long story) but the short end of it is that it needs to run on Linux. There [...]

Fixing Apache (13)Permission denied: access to / 403 Forbidden

How to Fix Apache (13)Permission denied: access to / 403 Forbidden. Every so often I run into a 403 Forbidden response when I’m setting up something in Apache, checking the log files will yield something like: Incoming search terms:rhel 6 (13)Permission denied apache (3)(13)permission denied: access to (3)how to fix error 403 forbidden access is [...]

WP-Optimize Database Cleanup and Optimization Plugin for WordPress

I use wordpress solutions in a day to day basis. WordPress comes with a very extensible framework that allows you to add comprehensive and powerful functionality to your Blog system. WP-Optimize plugin is written to simplify your daily wordpress works and make it simpler. WP-Optimize is a wordpress 2.7++ database cleanup and optimization tool. It [...]

How to disable scripts and styles

Many plugins and themes add JavaScript and CSS files to your site. While this alone isn’t necessarily a bad thing, using several plugins that do this can bog down your site with loads of requests for these files. The good news is that WordPress has a built-in system that allows us to deregister these scripts [...]

How to Resolve Fatal Error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes)

Recently, when either adding new plugins or upgrading plugins in WordPress, I encountered this error message: Fatal Error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes)… This means that WordPress needs more memory to run a process than the default PHP setting (usually 12M, in some, 32M). For a non-techie guy [...]

Ruby Reload Script or Console Without Restarting – Ruby on Rails

Testing rails application using script or console, you have to stop and start the console to test changes to your model objects. It makes development slow. This recipe shows you the easy way to reload the console. If you are using windows, you start the console by using this command: ruby script or console

File Rename or Move on the server – PHP Code

Server-side files move or rename via php adds more flexibility to some applications. A common scenario when working with files involves creating a temporary file through uploading or other means and then renaming this file to a permanent location. This recipe describes changing the name of an existing file using the PHP function rename(). The [...]

Powered by WordPress | Designed by: best suv | Thanks to trucks, infiniti suv and toyota suv