​รบกวนสอบถาม ครับทำไม โปรเจ็คที่เราสร้างเมื่ออัพโหลดลงใน เซิร์ฟเวอร์จริง แล้วถึงไม่แสดงผล อะไรเลย ขึ้นเป็นหน้าจอว่างๆไม่

wave
Sanya Namburi
1,820
สังคมนักพัฒนาระบบ (Community)
​รบกวนสอบถาม ครับทำไม โปรเจ็คที่เราสร้างเมื่ออัพโหลดลงใน เซิร์ฟเวอร์จริง แล้วถึงไม่แสดงผล อะไรเลย ขึ้นเป็นหน้าจอว่างๆไม่

<p><span style="background-color: initial;">รบกวนสอบถาม ครับทำไม โปรเจ็คที่เราสร้างเมื่ออัพโหลดลงใน เซิร์ฟเวอร์จริง แล้วถึงไม่แสดงผล อะไรเลย ขึ้นเป็นหน้าจอว่างๆไม่มีอะไรขึ้นเลย ฟ้อง error ก็ไม่มี</span></p><p>แต่ในขณะที่รันใน localhost ใช้ได้ปกติทุกอย่าง ลองเทส requirements แล้ว ได้อย่างนี้ครับ</p><table><tbody><tr><td>PHP version</td><td>Passed</td><td><a href="http://www.yiiframework.com/">Yii Framework</a></td><td>PHP 5.1.0 or higher is required.</td></tr><tr><td>$_SERVER variable</td><td>Passed</td><td><a href="http://www.yiiframework.com/">Yii Framework</a></td></tr><tr><td>Reflection extension</td><td>Passed</td><td><a href="http://www.yiiframework.com/">Yii Framework</a></td></tr><tr><td>PCRE extension</td><td>Passed</td><td><a href="http://www.yiiframework.com/">Yii Framework</a></td></tr><tr><td>SPL extension</td><td>Passed</td><td><a href="http://www.yiiframework.com/">Yii Framework</a></td></tr><tr><td>DOM extension</td><td>Passed</td><td><a href="http://www.yiiframework.com/doc/api/CHtmlPurifier">CHtmlPurifier</a>, <a href="http://www.yiiframework.com/doc/api/CWsdlGenerator">CWsdlGenerator</a></td></tr><tr><td>PDO extension</td><td>Passed</td><td>All <a href="http://www.yiiframework.com/doc/api/#system.db">DB-related classes</a></td></tr><tr><td>PDO SQLite extension</td><td>Warning</td><td>All <a href="http://www.yiiframework.com/doc/api/#system.db">DB-related classes</a></td><td>Required for SQLite database.</td></tr><tr><td>PDO MySQL extension</td><td>Passed</td><td>All <a href="http://www.yiiframework.com/doc/api/#system.db">DB-related classes</a></td><td>Required for MySQL database.</td></tr><tr><td>PDO PostgreSQL extension</td><td>Warning</td><td>All <a href="http://www.yiiframework.com/doc/api/#system.db">DB-related classes</a></td><td>Required for PostgreSQL database.</td></tr><tr><td>PDO Oracle extension</td><td>Warning</td><td>All <a href="http://www.yiiframework.com/doc/api/#system.db">DB-related classes</a></td><td>Required for Oracle database.</td></tr><tr><td>PDO MSSQL extension (pdo_mssql)</td><td>Warning</td><td>All <a href="http://www.yiiframework.com/doc/api/#system.db">DB-related classes</a></td><td>Required for MSSQL database from MS Windows</td></tr><tr><td>PDO MSSQL extension (pdo_dblib)</td><td>Warning</td><td>All <a href="http://www.yiiframework.com/doc/api/#system.db">DB-related classes</a></td><td>Required for MSSQL database from GNU/Linux or other UNIX.</td></tr><tr><td>PDO MSSQL extension (<a href="http://sqlsrvphp.codeplex.com/">pdo_sqlsrv</a>)</td><td>Warning</td><td>All <a href="http://www.yiiframework.com/doc/api/#system.db">DB-related classes</a></td><td>Required for MSSQL database with the driver provided by Microsoft.</td></tr><tr><td>PDO ODBC extension</td><td>Warning</td><td>All <a href="http://www.yiiframework.com/doc/api/#system.db">DB-related classes</a></td><td>Required in case database interaction will be through ODBC layer.</td></tr><tr><td>Memcache extension</td><td>Warning</td><td><a href="http://www.yiiframework.com/doc/api/CMemCache">CMemCache</a></td></tr><tr><td>APC extension</td><td>Warning</td><td><a href="http://www.yiiframework.com/doc/api/CApcCache">CApcCache</a></td></tr><tr><td>Mcrypt extension</td><td>Passed</td><td><a href="http://www.yiiframework.com/doc/api/CSecurityManager">CSecurityManager</a></td><td>Required by encrypt and decrypt methods.</td></tr><tr><td>crypt() CRYPT_BLOWFISH option</td><td>Passed</td><td><a href="http://www.yiiframework.com/doc/api/1.1/CPasswordHelper">CPasswordHelper</a></td><td>Required for secure password storage.</td></tr><tr><td>SOAP extension</td><td>Passed</td><td><a href="http://www.yiiframework.com/doc/api/CWebService">CWebService</a>, <a href="http://www.yiiframework.com/doc/api/CWebServiceAction">CWebServiceAction</a></td></tr><tr><td>GD extension with<br>FreeType support<br>or ImageMagick<br>extension with<br>PNG support</td><td>Passed</td><td><a href="http://www.yiiframework.com/doc/api/CCaptchaAction">CCaptchaAction</a></td></tr><tr><td>Ctype extension</td><td>Passed</td><td><a href="http://www.yiiframework.com/doc/api/CDateFormatter">CDateFormatter</a>,<a href="http://www.yiiframework.com/doc/api/CDateFormatter">CDateTimeParser</a>,<a href="http://www.yiiframework.com/doc/api/CTextHighlighter">CTextHighlighter</a>,<a href="http://www.yiiframework.com/doc/api/CHtmlPurifier">CHtmlPurifier</a></td></tr><tr><td>Fileinfo extension</td><td>Passed</td><td><a href="http://www.yiiframework.com/doc/api/CFileValidator">CFileValidator</a></td></tr></tbody></table>

3 ความคิดเห็น

  • Sanya Namburi

  • มานพ กองอุ่น

รบกวนสอบถาม ครับทำไม โปรเจ็คที่เราสร้างเมื่ออัพโหลดลงใน เซิร์ฟเวอร์จริง แล้วถึงไม่แสดงผล อะไรเลย ขึ้นเป็นหน้าจอว่างๆไม่มีอะไรขึ้นเลย ฟ้อง error ก็ไม่มี

แต่ในขณะที่รันใน localhost ใช้ได้ปกติทุกอย่าง ลองเทส requirements แล้ว ได้อย่างนี้ครับ

PHP versionPassedYii FrameworkPHP 5.1.0 or higher is required.
$_SERVER variablePassedYii Framework
Reflection extensionPassedYii Framework
PCRE extensionPassedYii Framework
SPL extensionPassedYii Framework
DOM extensionPassedCHtmlPurifier, CWsdlGenerator
PDO extensionPassedAll DB-related classes
PDO SQLite extensionWarningAll DB-related classesRequired for SQLite database.
PDO MySQL extensionPassedAll DB-related classesRequired for MySQL database.
PDO PostgreSQL extensionWarningAll DB-related classesRequired for PostgreSQL database.
PDO Oracle extensionWarningAll DB-related classesRequired for Oracle database.
PDO MSSQL extension (pdo_mssql)WarningAll DB-related classesRequired for MSSQL database from MS Windows
PDO MSSQL extension (pdo_dblib)WarningAll DB-related classesRequired for MSSQL database from GNU/Linux or other UNIX.
PDO MSSQL extension (pdo_sqlsrv)WarningAll DB-related classesRequired for MSSQL database with the driver provided by Microsoft.
PDO ODBC extensionWarningAll DB-related classesRequired in case database interaction will be through ODBC layer.
Memcache extensionWarningCMemCache
APC extensionWarningCApcCache
Mcrypt extensionPassedCSecurityManagerRequired by encrypt and decrypt methods.
crypt() CRYPT_BLOWFISH optionPassedCPasswordHelperRequired for secure password storage.
SOAP extensionPassedCWebService, CWebServiceAction
GD extension with
FreeType support
or ImageMagick
extension with
PNG support
PassedCCaptchaAction
Ctype extensionPassedCDateFormatter,CDateTimeParser,CTextHighlighter,CHtmlPurifier
Fileinfo extensionPassedCFileValidator

ลองตรวจสอบการเชื่อมต่อฐานข้อมูล

หรือลองเรียกหน้าที่ไม่ได้ใช้งานฐานข้อมูล เช่น site/login

หรืออาจมีการ upload ไฟล์ไม่ครบ เช่น ไม่ได้ upload framework เข้าไปด้วยครับ

หรือ path ไปยัง framework ไม่ถูกต้องให้แก้ที่ index.php ครับ

site/login ก็ว่าเปล่าครับ