about

archive is a shanghai based architectural office, founded in 2018 by shen li, who works both in architectural design and photography. the office works on a broad range of subjects, from furniture to architecture. Exploring various possibilities among materials, structures and space, archive comes up with more inspirations, a sense of direction and practical solutions that sustain our lives step by step.

news

jan 10, 2021, the project "little team's office" is published in leibal / dec 31, 2020, the project "little team's office" is published in designboom / apr 19, 2019, the project "jnn's studio" is published in designboom / december 24, 2018, the project "w studio" is published in gooood / december 14, 2018, the project "w studio" is published in designboom / august 24, 2018, shenli will give a public talk with yan zhuang at zuczug /

System Error

[2] ErrorException in Cookie.php line 97

Cannot modify header information - headers already sent by (output started at /home/archive/wwwroot/runtime/classmap.php:1)

  1. }
  2. $name = $config['prefix'] . $name;
  3. // 设置cookie
  4. if (is_array($value)) {
  5. array_walk_recursive($value, 'self::jsonFormatProtect', 'encode');
  6. $value = 'think:' . json_encode($value);
  7. }
  8. $expire = !empty($config['expire']) ? $_SERVER['REQUEST_TIME'] + intval($config['expire']) : 0;
  9. if ($config['setcookie']) {
  10. setcookie($name, $value, $expire, $config['path'], $config['domain'], $config['secure'], $config['httponly']);
  11. }
  12. $_COOKIE[$name] = $value;
  13. }
  14. /**
  15. * 永久保存Cookie数据
  16. * @param string $name cookie名称
  17. * @param mixed $value cookie值
  18. * @param mixed $option 可选参数 可能会是 null|integer|string

Call Stack

  1. in Cookie.php line 97
  2. at Error::appError(2, 'Cannot modify header...', '/home/archive/wwwroo...', 97, ['name' => 'think_var', 'value' => 'en-us', 'option' => ['expire' => 3600], ...])
  3. at setcookie('think_var', 'en-us', 1733928058, '/', '', false, '') in Cookie.php line 97
  4. at Cookie::set('think_var', 'en-us', ['expire' => 3600]) in Lang.php line 166
  5. at Lang::detect() in App.php line 90
  6. at App::run() in start.php line 18
  7. at require('/home/archive/wwwroo...') in index.php line 23

Exception Datas

Error Context
name think_var
value en-us
option { "expire": 3600 }
config { "prefix": "", "expire": 3600, "path": "\/", "domain": "", "secure": false, "httponly": "", "setcookie": true }
expire 1733928058

Environment Variables

GET Data

s
/index/index/cn
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www-data
HOME
/var/www
HTTP_CONNECTION
Keep-Alive
HTTP_HOST
archive.archi
HTTP_ACCEPT_ENCODING
br,gzip
HTTP_IF_MODIFIED_SINCE
Sat, 02 Nov 2024 09:25:00 GMT
HTTP_ACCEPT_LANGUAGE
en-US,en;q=0.5
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
PATH_INFO
SCRIPT_FILENAME
/home/archive/wwwroot/index.php
REDIRECT_STATUS
200
SERVER_NAME
archive.archi
SERVER_PORT
80
SERVER_ADDR
172.17.46.162
REMOTE_PORT
60412
REMOTE_ADDR
18.97.9.173
SERVER_SOFTWARE
nginx/1.16.1
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/home/archive/wwwroot
DOCUMENT_URI
/index.php
REQUEST_URI
/index/index/cn
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/index/index/cn
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1733924458.8361
REQUEST_TIME
1733924458
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/archive/wwwroot/application/
THINK_VERSION
5.0.7
THINK_START_TIME
1733924458.8362
THINK_START_MEM
358360
EXT
.php
DS
/
THINK_PATH
/home/archive/wwwroot/thinkphp/
LIB_PATH
/home/archive/wwwroot/thinkphp/library/
CORE_PATH
/home/archive/wwwroot/thinkphp/library/think/
TRAIT_PATH
/home/archive/wwwroot/thinkphp/library/traits/
ROOT_PATH
/home/archive/wwwroot/
EXTEND_PATH
/home/archive/wwwroot/extend/
VENDOR_PATH
/home/archive/wwwroot/vendor/
RUNTIME_PATH
/home/archive/wwwroot/runtime/
LOG_PATH
/home/archive/wwwroot/runtime/log/
CACHE_PATH
/home/archive/wwwroot/runtime/cache/
TEMP_PATH
/home/archive/wwwroot/runtime/temp/
CONF_PATH
/home/archive/wwwroot/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false