Yii Framework Forum: Gii Error - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Gii Error Gii Model Generator not working Rate Topic: -----

#1 User is offline   YearningForYii 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 63
  • Joined: 21-September 12

Posted 29 December 2012 - 02:35 AM

Well,I tried to create a model class using Gii.But Model generator is not working.All other CRUD generators are working perfectly.Well the errors it is showing is related to Sendgrid,A module I installed to send Emails.

The errors are
1.E_WARNING: Missing argument 1 for SendGrid::__construct(), called in /home/rahulan/public_html/yii/framework/YiiBase.php on line 219 and defined [/public_html/protected/extensions/sendgrid/SendGrid.php:13]

2.Missing argument 2 for SendGrid::__construct(), called in /home/rahulan/public_html/yii/framework/YiiBase.php on line 219 and defined [/public_html/protected/extensions/sendgrid/SendGrid.php:13]

3.Undefined variable: username [/public_html/protected/extensions/sendgrid/SendGrid.php:15]

4.Call to undefined method SendGrid::init() [/public_html/yii/framework/base/CModule.php:388]

Guys,please help me out.. :(
0

#2 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,601
  • Joined: 10-October 10
  • Location:Denmark

Posted 29 December 2012 - 04:28 AM

Solution: get rid of SendGrid. :)

Or post in the SendGrid topic in the Extensions forum.
"Less noise - more signal"
0

#3 User is offline   YearningForYii 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 63
  • Joined: 21-September 12

Posted 31 December 2012 - 12:05 AM

Can't I post anything in the general discussion-forum?

View Postjacmoe, on 29 December 2012 - 04:28 AM, said:

Solution: get rid of SendGrid. :)

Or post in the SendGrid topic in the Extensions forum.

0

#4 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,601
  • Joined: 10-October 10
  • Location:Denmark

Posted 31 December 2012 - 08:17 AM

View PostYearningForYii, on 31 December 2012 - 12:05 AM, said:

Can't I post anything in the general discussion-forum?


So, did you try and disable SendGrid?
Did that work?

If it did, then it's related to the extension, and in that case it belongs in the Extensions forum. :)

If you, however, still have an error after getting rid of the extension, then feel free to continue the topic in general.
"Less noise - more signal"
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users