Advertisement
Guest User

Untitled

a guest
Nov 24th, 2014
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. Deprecated: Priority argument is now ignored - use the default of 100. You should really be setting routes via _config yaml fragments though. Called from . in /var/www/framework/dev/Deprecation.php on line 174
  2. [User Warning] Couldn't set response type to 404 because of output on line 174 of /var/www/framework/dev/Deprecation.php
  3. GET /site/?flushtoken=8d5f8b43d285c03cebe0b29037b78b10&flush=all
  4.  
  5. Line 262 in /var/www/framework/control/HTTPResponse.php
  6. Source
  7.  
  8. 253 header("$header: $value", true, $this->statusCode);
  9. 254 }
  10. 255 } else {
  11. 256 // It's critical that these status codes are sent; we need to report a failure if not.
  12. 257 if($this->statusCode >= 300) {
  13. 258 user_error(
  14. 259 "Couldn't set response type to $this->statusCode because " .
  15. 260 "of output on line $line of $file",
  16. 261 E_USER_WARNING
  17. 262 );
  18. 263 }
  19. 264 }
  20. 265
  21. 266 // Only show error pages or generic "friendly" errors if the status code signifies
  22. 267 // an error, and the response doesn't have any body yet that might contain
  23. 268 // a more specific error description.
  24.  
  25. Trace
  26.  
  27. Couldn't set response type to 404 because of output on line 174 of /var/www/framework/dev/Deprecation.php
  28. HTTPResponse.php:262
  29. SS_HTTPResponse->output()
  30. Director.php:189
  31. Director::direct(/site/,DataModel)
  32. main.php:176
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement