How To Run Giix ?

Dear all members,

i have instatlled the giix.but its not running .Gii runs like localhost/.../index.php/r=gii but how to run the Giix ??

plz help

thanks

The giix generators are on the Gii page. Please check the readme file for instructions.

my code for main.php

‘import’=>array(

'application.models.*',


'application.components.*',

),

‘gii’ => array(

'class' => 'system.gii.GiiModule',


'password'=>'.......',


'generatorPaths' => array(


    'ext.giix.generators', // giix generators


),

),

‘components’=>array(

'ext.giix.components.*', 


'messages' => array ( // giix messages directory,giix is  and extension.


    'extensionBasePaths' => array(


        'ext.giix.messages', // giix messages directory.


    ),


),

),

it run Only gii not the generators??plz help in config file.

thanks

I’m sorry for confusing you sending you the wrong file for reference. Please check the instruction files on your downloaded package for instructions. The changes you need to do:

The line [font=“Courier New”]‘ext.giix.components.*’,[/font] shouln’t be under “components”, but under “import”. Check the step 3 of the install file.

The messages configuration has extra requirements and is available only on the development version (the file I mistankenly sent you). You can remove the entire "messages" array.

Please let me know if it works with these changes.

thanks for your reply…i updated my code as per your settings.

my new changes as per your updates, but only Gii run wity yii code generators not the giix ?

‘import’=>array(

	'application.models.*',


	'application.components.*',


	'application.vendors.*',   //file for bcrypt of password in client.php


	'ext.giix.components.*', // giix components ,giix is and extension.


),

‘modules’=>array(

‘gii’=>array(

				  'class'=>'system.gii.GiiModule',


				  'password'=>'123456789',


				  'generatorPaths' => array(


				  'ext.giix.generators', // giix generators


				  ),


				  // If removed, Gii defaults to localhost only. Edit carefully to taste.


				  'ipFilters'=>array('127.0.0.1','::1'),


	),

‘components’=>array(

				  'extensionBasePaths' => array(


				  'giix' => 'ext.giix.messages', // giix messages directory.


					


					),

You should have removed the entire "messages" array. Including its contents.

giix generators appear on the Gii page. They start with "Giix".

I remove all messages array and contents and try these

with this url

http://localhost/demo/index.php?r=giix

Result:

Welcome to Yii Code Generator!

Problem: Generator not stating with Giix.?

sorry for disturbance again.

You may use the following generators to quickly build up your Yii application:

with this url

http://localhost/demo/index.php?r=gii

Result:

Welcome to Yii Code Generator!

This URL is wrong.

The giix generators are on the same page (with the same URL) as the Gii generators. Please check the readme file, under the "using" heading.

The correct URL is:

Sir, i have used this url http://localhost/demo/index.php?r=giigii page open and i run the model generators and CRUD generators. but no model class with name giix…, is created .so what the problem may be??

Can you zip and upload/attach your project so I can take a look at it?

sir,plz see my demo.zip file as attachement.

thanks

3496

demo.zip

Thanks. I’ll take a loot at it.

Ref the first step of the instructions:

You created an additional "giix" directory under "extensions".

The directories "giix-core" and "giix-components" should be directly under "extensions".

Please test and let me know if this is enough.

sir, i have updated as per your instructions and uder extensions, i unzipped the giix-core and giix-components directorires. i open the url localhost/demo/index.php?r=gii and this page opens correctly.But when i create model or crud Generators , these is no giix---- prefix with name of activerreord or model or controller.it treat it as created by gii not by giix?

Welcome to Yii Code Generator!

You may use the following generators to quickly build up your Yii application:

Controller Generator


Crud Generator


Form Generator


Model Generator


Module Generator

Ok, there’s still something wrong. Let mecheck again.

Done, sorry for the delay.

Please redo the configuration for giix, copying and pasting the code from the INSTALL file bundled with your download.

There are a few typos on the configuration of your application for giix. If you copy and paste the code it should be fixed.

Please let me know if this works.

sorr i coul’d not understand well.what i have to do no??

The configuration is wrong. For example, you used dots where the instructions request dashes.

Please just copy and paste the configuration from the instructions and it should work.

Here are the pieces you have to change:




'modules' => array(

	...

	'gii' => array(

		'class' => 'system.gii.GiiModule',

		...

		'generatorPaths' => array(

			'ext.giix-core', // giix generators

		),

	),

),






'import' => array(

	...

	'ext.giix-components.*', // giix components

),



yes Now the giix model genrator run but for Base Class it gives error:

Class ‘GxActiveRecord’ does not exist or has syntax error.