Yii Framework Forum: First Encounter First Error - Yii Framework Forum

Jump to content

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

First Encounter First Error Got Error 500 Rate Topic: -----

#1 User is offline   viktor 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 21-April 10

Posted 21 April 2010 - 01:51 PM

Hello, my name is viktor, this is the first day i get to know about yii

i already upload yii to my server and test the requirements.. all ok, except 3 warning on:
PDO PostgreSQL extension
Memcache extension
APC extension

however the real problem arise when i try to run blog demo, it return "
Error 500
Application runtime path "/home/digital/public_html/backup/yii/demos/blog/protected/runtime" is not valid. Please make sure it is a directory writable by the Web server process.
"

as appear here hxxp://doxadigital.com/backup/yii/demos/blog/


the requirement test can be seen here:
hxxp://doxadigital.com/backup/yii/requirements/

please help me to pinpont the problem ? what should i do next ?
0

#2 User is offline   viktor 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 21-April 10

Posted 21 April 2010 - 01:51 PM

additional note: i already try chmode with 755 and 777 with no luck
0

#3 User is online   tri 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 1,651
  • Joined: 20-November 08
  • Location:Stockholm, Sweden

Posted 21 April 2010 - 02:11 PM

View Postviktor, on 21 April 2010 - 01:51 PM, said:

additional note: i already try chmode with 755 and 777 with no luck


Strange.

chmod -R 777 .../blog/protected/runtime should be fine. You'll also have to do the same to the .../blog/assets folder.

/Tommy

This post has been edited by tri: 21 April 2010 - 02:17 PM

Don't forget to read The Definitive Guide to Yii (en) (sv) | The class reference has the details
0

#4 User is offline   yoshi 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 170
  • Joined: 28-February 09
  • Location:Germany

Posted 21 April 2010 - 05:51 PM

View Postviktor, on 21 April 2010 - 01:51 PM, said:

additional note: i already try chmode with 755 and 777 with no luck


Silly question: did you do that on /blog/protected/runtime or maybe /blog/protected or s.th.? What i'm driving at: does the folder /blog/protected/runtime exists on your server?

Regards
0

#5 User is offline   viktor 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 21-April 10

Posted 21 April 2010 - 09:51 PM

Hello yoshi, those silly question solved the problem...

the problem exist when i extract the zip, runtime displays as file instead folder.. maybe the .zip file i uploaded is corrupt.

reupload and extract finally solved the problem...

regarding Yii Requirement Checker, got warning on Memcache extension and APC extension , any idea what risk i carry with those warning ? how to solve the problem ?

View Postyoshi, on 21 April 2010 - 05:51 PM, said:

Silly question: did you do that on /blog/protected/runtime or maybe /blog/protected or s.th.? What i'm driving at: does the folder /blog/protected/runtime exists on your server?

Regards

0

#6 User is offline   Vince. 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 432
  • Joined: 29-December 08
  • Location:Los Angeles,CA

Posted 22 April 2010 - 12:19 AM

memcache and apc cache are both php caching extensions Yii incorporates into it's framework along with other type of caches such as DB cache, XCache and file cache. Nothing serious though it's recommended that you have either APC cache or Xcache installed on your server to improve performance.
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image
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