Yii Framework Forum: YII on IIS 7.5 (win 2008 server R2) - Yii Framework Forum

Jump to content

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

YII on IIS 7.5 (win 2008 server R2) Rate Topic: -----

#1 User is offline   Soter 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 17
  • Joined: 04-December 11

Posted 25 July 2012 - 12:33 PM

Hi,

Anyone manage to configure succefully IIS 7.5 to run yii?

i have 2 issues:
- update/delete from cgridview not working (i get Request is invalid from yii) - something is wrog with $_SERVER [QUERY_STRING]? '&id=xx' - with no yii urlManger (my request is like "blabla/index.php?r=admin/view&id=1")
- some problems with windows auth

Any ideas about how to debug this?
Can you please give me some tips?

thx!
0

#2 User is offline   Soter 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 17
  • Joined: 04-December 11

Posted 26 July 2012 - 02:00 AM

View PostSoter, on 25 July 2012 - 12:33 PM, said:

Hi,

Anyone manage to configure succefully IIS 7.5 to run yii?

i have 2 issues:
- update/delete from cgridview not working (i get Request is invalid from yii) - something is wrog with $_SERVER [QUERY_STRING]? '&id=xx' - with no yii urlManger (my request is like "blabla/index.php?r=admin/view&id=1")
- some problems with windows auth

Any ideas about how to debug this?
Can you please give me some tips?

thx!


My log shows:

2012/07/26 10:58:27 [error] [exception.CHttpException.400] exception 'CHttpException' with message 'Your request is invalid.' in C:\dev\enkTest\yii\framework\web\CController.php:328
Stack trace:
#0 C:\dev\enkTest\yii\framework\web\CController.php(301): CController->invalidActionParams(Object(CInlineAction))
#1 C:\dev\enkTest\yii\framework\web\filters\CFilterChain.php(134): CController->runAction(Object(CInlineAction))
#2 C:\dev\enkTest\yii\framework\web\filters\CFilter.php(41): CFilterChain->run()
#3 C:\dev\enkTest\hrap01\protected\components\Controller.php(30): CFilter->filter(Object(CFilterChain))
#4 C:\dev\enkTest\yii\framework\web\filters\CInlineFilter.php(59): Controller->filterHttps(Object(CFilterChain))
#5 C:\dev\enkTest\yii\framework\web\filters\CFilterChain.php(131): CInlineFilter->filter(Object(CFilterChain))
#6 C:\dev\enkTest\yii\framework\web\filters\CFilter.php(41): CFilterChain->run()
#7 C:\dev\enkTest\yii\framework\web\CController.php(1144): CFilter->filter(Object(CFilterChain))
#8 C:\dev\enkTest\yii\framework\web\filters\CInlineFilter.php(59): CController->filterAccessControl(Object(CFilterChain))
#9 C:\dev\enkTest\yii\framework\web\filters\CFilterChain.php(131): CInlineFilter->filter(Object(CFilterChain))
#10 C:\dev\enkTest\yii\framework\web\CController.php(283): CFilterChain->run()
#11 C:\dev\enkTest\yii\framework\web\CController.php(257): CController->runActionWithFilters(Object(CInlineAction), Array)
#12 C:\dev\enkTest\yii\framework\web\CWebApplication.php(277): CController->run('view')
#13 C:\dev\enkTest\yii\framework\web\CWebApplication.php(136): CWebApplication->runController('hrtask/default/...')
#14 C:\dev\enkTest\yii\framework\base\CApplication.php(158): CWebApplication->processRequest()
#15 C:\dev\enkTest\hrap01\index.php(13): CApplication->run()
#16 {main} REQUEST_URI=/hrap01/index.php?r=hrtask/default/view&id=13216
0

#3 User is offline   Backslider 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 363
  • Joined: 23-July 09

Posted 26 July 2012 - 11:43 PM

The REQUEST_URI is shown as: /hrap01/index.php?r=hrtask/default/view&id=13216

This is not what you are saying it should be.
We were all once expert at....... nothing.

yii-language-behavior

My Blog
0

#4 User is offline   Soter 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 17
  • Joined: 04-December 11

Posted 27 July 2012 - 09:11 AM

View PostBackslider, on 26 July 2012 - 11:43 PM, said:

The REQUEST_URI is shown as: /hrap01/index.php?r=hrtask/default/view&id=13216

This is not what you are saying it should be.


Yay, i'm such a newbie... i've messed'up my controllers; it;s ok now :D

And regarding to windows auth i added rights to everyone on yii framework folder :/

thank you!
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