Note that there are some explanatory texts on larger screens.

plurals
  1. POYii:: WARNING unable to include files on some pages; please explain
    text
    copied!<p>I have been recently running into this issue once I uploaded my Application to an online server, I keep receiving Warnings such as:</p> <pre><code>YiiBase::include(CJuiInputWidget.php) [&lt;a href='yiibase.include'&gt;yiibase.include&lt;/a&gt;]: failed to open stream: No such file or directory </code></pre> <p>--OR--</p> <pre><code>YiiBase::include(YiiMailer.php) [&lt;a href='yiibase.include'&gt;yiibase.include&lt;/a&gt;]: failed to open stream: No such file or directory </code></pre> <p>--OR--</p> <pre><code>YiiBase::include(CGridColumn.php) [&lt;a href='yiibase.include'&gt;yiibase.include&lt;/a&gt;]: failed to open stream: No such file or directory </code></pre> <p>The real issue here is that all of these pages are working perfectly on my localhost or on other pages on the online server. When I hid the warnings, some pages are displayed normally while others are not, I know the error is still there.</p> <p>My Localhost specs are: XAMPP, Windows 7 OS, PHP Version 5.3.8</p> <p>Online Server Specs: XAMPP, Windows 7 OS, PHP Version 5.2.6</p> <p>I am currently solving the issue by importing the required widgets in main. What is also crazy for example is that CGridColumn and CJuiInputwidget are working perfectly on other pages , I have made sure that case sensitivity is considered.</p> <p>Can anyone point me in the right direction or give me any pointers or thoughts on what is happening, any tips or advices are amazingly appreciated!</p> <p>Here is also a stack trace of whats going on:</p> <pre><code>**Stack trace: #0 D:\...\yii\framework\YiiBase.php(395): spl_autoload_call() #1 D:\...\yii\framework\YiiBase.php(395): autoload() #2 D:\...\yii\framework\YiiBase.php(296): autoload() #3 D:\...\yii\framework\YiiBase.php(196): import() #4 D:\...\yii\framework\zii\widgets\grid\CGridView.php(363): </code></pre> <p>createComponent()**</p> <p>as you can see the major issue has to do with the autoload</p> <p>Thank you, for taking the time to read this,</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload