cgbt空白页解决问题

    技术2022-05-19  33

    我们最终解决的方法是 第一  php.ini  把short_open_tag = Off 修改为 On                               第二     修改include下的 db.path.conf.php  

                                   $cache_dir             = "/data/cache/";     // cache dir                                $torrent_dir           = "/data/torrents";  // torrent dir                                 $attach_dir            = "/data/attachments";      // attachment dir

    而 cgbt的创始人 是这么说的:

     空白问题:

       $this->defaulttpldir = CGBT_ROOT . 'view/default';                 $this->tpldir = CGBT_ROOT . 'view/default';                 $this->objdir = CGBT_CACHE_DIR . 'view';                 $this->langfile = CGBT_ROOT . 'view/default/templates.lang.php';

     

    class/templace.class.php 吧view前面都加个/

     

     如果你的缓存目录是 /dev/shm/cgbt 你就再创建一个/dev/shm/cgbtview目录 权限都是777


    最新回复(0)