Symfony 1 - Error - SQL and Doctrine with the command line

In this page, I'm gathering all errors that I will find while playing with Symfony and SQL requests.
And of course I will bring some explanations to resolve these errors.
It will be sliced by an example of each error and with its own solution.
So, let's start it because a problem has always a solution!

Symfony 1 - Doctrine - Set up a new database

In this tutorial we will see how to set up a database with Symfony 1 and doctrine examples.

Let's start by writing some code in the schema.sql file.
We will create the Hello project with this hello database.

Symfony 1 - Set up - A new project

In this tutorial of Symfony 1, we will set up a project from scratch.

Let's start it by downloading the project that you can find on the official web page of Symfony: http://www.symfony-project.org/installation

This tutorial will use the 1.4.12 version.

Apache - HTTP - Installation

I made a tutorial with examples for the installation of Apache HTTP, PHP, MySQL, phpMyAdmin and some virtual host explanations, for Windows.

You can find this tutorial by following this link:

Apache - HTTP - Errors

If all your web installation was working fine and you do not know why now nothing is working anymore, with a beautiful error such as: "Could not connect to localhost", let's try this solution.

First of all, try to stop your Apache HTTP server manually.
Left click on it on your tray icon in your taskbar:

phpMyAdmin - Installation - On Windows

I made a tutorial with examples for the installation of Apache HTTP, PHP, MySQL, phpMyAdmin and some virtual host explanations, for Windows.

You can find this tutorial by following this link:

Zend - Framework 1.11 - Using Zend_Controller

Let's explain, with this tutorial, how this Zend_Controller works.

I added some examples in addition of the official documentation, even if most of my text is taking from the Zend documentation.

Zend - Framework 1.11 - Using the zf command line tool

An easy way to create a new Controller is by doing this with the command line.

On Windows, open a new terminal (SHIFT + right click on your project directory) and write this:

$ TheProjectDirectory> CompletePathUntil\ZendFramework-1.11.7\bin\zf.bat create controller Menu

It will create:

C - Library functions - Using strcmp()

In this tutorial we will see how to use the strcmp() function.
It returns:

C - Recursion - Displaying a string

In this tutorial we will see how to display a string with the recursive method.

Let's see this example of the recursive and the iterative method with the functions below:

Pages

Subscribe to BadproG.com RSS