开发者

kohana based site on a new localhost

i have a kohana based website, and i moved it to another computer. i have installed xampp and changed the httpd.conf accordingly, to point to my new website location. and it points, cause at first it has given me an error regarding the fact that cache directory must be writable. it points to something /web

i have the path in this named web, with a index.php file that defines me the paths to applic开发者_如何学Pythonation, modules,etc. a bunch of the index:

<?php

  /**
  * The directory in which your application specific resources are located.
  * The application directory must contain the bootstrap.php file.
  *
  * @see  http://kohanaframework.org/guide/about.install#application
  */
  $application = '../application';

  /**
   * The directory in which your modules are located.
   *
   * @see  http://kohanaframework.org/guide/about.install#modules
   */
   $modules = '../modules';

 /**
  * The directory in which the Kohana resources are located. The system
  * directory must contain the classes/kohana.php file.
  *
  * @see  http://kohanaframework.org/guide/about.install#system
  */
  $system = '../system';

my problem is: whenever i access the localhost, i get an absolutely empty page. a blank one.no content. no error. (if i make localhost/phpmyadmin i can get into the phpmyadmin platform and see the database there)

what can be the problem??

thank you


start benchmarking

make a separate file and do any error in it and run and check is it showing any error ?

Because it is must here to get error message if it is not working.

Without that It is hard to resolve it.


First test whether the path given is perfect, by install.php, normally the writable of cache and logs comes when there are no such folders or there is permission issue(for eg in linux).

So, my opinion first check the path using install.php if u don't have u can take it from fresh copy of kohana.

It's the path issue what you are facing. and later if path are proper than in .htaccess on the display_errors

php_value display_errors 1

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜