A PHP Error was encountered

Severity: Warning

Message: fopen(/var/lib/php/sessions/ci_session_ciboardb8kp9e9jk1k3eci3cn14sibrbkmark7a): failed to open stream: No space left on device

Filename: drivers/Session_files_driver.php

Line Number: 177

Backtrace:

File: /home/ciboard/www/application/core/CB_Controller.php
Line: 68
Function: __construct

File: /home/ciboard/www/application/controllers/Board_post.php
Line: 30
Function: __construct

File: /home/ciboard/www/index.php
Line: 350
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_start(): Failed to read session data: user (path: /var/lib/php/sessions)

Filename: Session/Session.php

Line Number: 143

Backtrace:

File: /home/ciboard/www/application/core/CB_Controller.php
Line: 68
Function: __construct

File: /home/ciboard/www/application/controllers/Board_post.php
Line: 30
Function: __construct

File: /home/ciboard/www/index.php
Line: 350
Function: require_once

URL routes 관련 질문이요. > 질문/답변 - 씨아이보드 :: 코드이그나이터 게시판 오픈소스
코드이그나이터 기반 PHP 오픈소스 게시판 : 씨아이보드

URL routes 관련 질문이요.

  • BPP
  • 2
  • 4,569
  • 글주소
  • 05-17

게시글 보기 형식을

http://www.ciboard.co.kr/boardkey/123   이런식으로 바꾸고 싶어서

 

routes.php line71) 에 아래 소스 추가

else if (strtoupper(config_item('uri_segment_post_type')) === 'D') {

$route['([a-zA-Z0-9_-]+)' . '/([0-9]+)'] = "board_post/post/$2";

}

 

CB_url_helper.php line 82) 에 아래소스 추가

elseif (strtoupper(config_item('uri_segment_post_type')) === 'D') {

$post_url = site_url($key . '/' . $post_id);

}​

 

Board_post.php  line 180) 에 아래소스 추가

elseif (strtoupper(config_item('uri_segment_post_type')) === 'D') {

if ($this->uri->segment('1') !== element('brd_key', $board)) {

show_404();

}

}

 

3군데 추가 하여서 config.php 에 $config['uri_segment_post_type'] 을 'D'로 변경 하였는데

게시글은 뷰페이지는 잘되는데 왜 수정페이지가 404가 될까요?