What is CakePHP?

What is CakePHP?
What is CakePHP?

What is CakePHP?

According to the official CakePHP website (http://cakephp.org):
“Cake is a rapid development framework for PHP which uses commonly known design patterns like Active Record, Association Data Mapping, Front Controller and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility.”
Someone who is new to frameworks might not understand parts of the definition. But understanding a few key terms will make the job much easier.
(more…)

Continue ReadingWhat is CakePHP?

Magento: How To Setup / integrate Google Adwords Conversion Tracking?

Magento: How To Setup Google Adwords Conversion Tracking
Magento: How To Setup Google Adwords Conversion Tracking

Setting up Google Adwords Conversion Tracking on your Magento Community store is relatively easy – but it’s not a built-in Magento feature, so you’ll have to edit a template file. Here are the 4 simple steps that need to be done: (more…)

Continue ReadingMagento: How To Setup / integrate Google Adwords Conversion Tracking?

PHP: Load Time Script

  • Post category:PHP
  • Post comments:1 Comment

PHP: Load Time
Load Time

This one is a must for developers and system admins. You need to know how long your site takes to load. Nobody sticks around waiting for a site to load anymore – there’s way too much content out there for that. Use this script to find out if your site is taking too long, and if it is, fix it. (more…)

Continue ReadingPHP: Load Time Script

Joomla 1.5: Using the Page Class Suffix in Template Code

Joomla 1.5: Using the Page Class Suffix in Template Code
Sometimes web designers need to access a page class suffix from directly within a template. A common reason to do this is to assign unique styles to individual pages linked from a menu (e.g. to change the dominant color on that page). By default Joomla applies the page class suffixes only to limited areas of a page, which often doesn’t offer enough flexibility. However, by making some simple changes to your template you can take advantage of the cascading nature of stylesheets to apply unique styles to any element on a page.

Load Suffix

First, we need to find out what the page class suffix is for the page we are visiting. To do this, you will need add some code to your template:
[custom_list type=”check”]

  • Open your template’s index.php file (located in /templates/*template-name*/)
  • Find the tag in the index.php, near the top area of the template
  • Above this, insert one of the following code blocks (Either of the following options will work fine in most cases. However they work slightly differently, so in certain cases your needs may dictate a specific choice.)

[/custom_list]
(more…)

Continue ReadingJoomla 1.5: Using the Page Class Suffix in Template Code

Magento: “There has been an error processing your request”

Symptoms
The following error message is shown instead of your usual Magento page:
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 1286489434787

Cause
Usually, it is caused by calling incompatible classes in themes, extensions or templates, database connectivity issues or resource shortage (i.e. insufficient diskspace or PHP memory_limit option).
(more…)

Continue ReadingMagento: “There has been an error processing your request”

Magento shows blank/empty page. How do I solve this?


Symptoms
Blank page is shown in Magento Frontend, Backend or Magento Connect Manager

Cause
If you see a blank page opening your Store in browser, it indicates that there is a PHP syntax error somewhere in the code of your site.
This usually happens when you modified files, templates or extensions manually, or installed a theme or extension with PHP syntax errors.

Troubleshooting
Before starting investigation please try to Disable Magento Compiler and Clear cached Magento data , in the most cases it should solve the issue.
To see the actual error message you need to login via FTP to your Store and use the following instructions:
(more…)

Continue ReadingMagento shows blank/empty page. How do I solve this?