Advertisement
ALUN

Untitled

Feb 22nd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. Backtrace:
  2. File: /motivity/application/core/MY_Exceptions.php
  3. Line: 67
  4. Function: include
  5.  
  6. File: /motivity/application/core/MY_Model.php
  7. Line: 1513
  8. Function: insert
  9.  
  10. File: /motivity/application/core/MY_Model.php
  11. Line: 1484
  12. Function: add
  13.  
  14. File: /motivity/application/modules/news/models/News.php
  15. Line: 165
  16. Function: save
  17.  
  18. File: /motivity/application/Traits/adminControllerTrait.php
  19. Line: 79
  20. Function: save
  21.  
  22. File: /motivity/application/modules/news/controllers/News_admin.php
  23. Line: 16
  24. Function: copy
  25.  
  26. File: /motivity/application/Traits/adminControllerTrait.php
  27. Line: 46
  28. Function: {closure}
  29.  
  30. File: /motivity/application/Traits/adminControllerTrait.php
  31. Line: 15
  32. Function: call
  33.  
  34. File: /motivity/index.php
  35. Line: 468
  36. Function: require_once
  37.  
  38.  
  39. Error Number: 1452
  40. Cannot add or update a child row: a foreign key constraint fails (`motivity`.`news`, CONSTRAINT `category` FOREIGN KEY (`category`) REFERENCES `news_category` (`id`) ON DELETE SET NULL ON UPDATE CASCADE)
  41. INSERT INTO `news` (`date`, `title`, `url`, `summary`, `text`, `preview_image`, `wallpaper`, `images`, `files`, `category`, `author`, `editor`, `created`, `modified`, `active`, `deleted`, `pinned`, `source`) VALUES ('2018-02-22 17:47:55', 'Новая новость', 'unique_url-1-2', 'Кратко', '<p>0</p>', '4', NULL, '', '', '0', '1', '4', '2018-02-22 17:47:55', '2018-02-22 17:47:55', 0, NULL, '0', '')
  42. Filename: core/MY_Model.php
  43. Line Number: 1513
  44.  
  45. Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 266342400 bytes) in /motivity/application/views/errors/html/error_db.php on line 76
  46.  
  47.  
  48.  
  49.  
  50. A PHP Error was encountered
  51.  
  52.  
  53. Severity: Error
  54.  
  55.  
  56. Message: Allowed memory size of 536870912 bytes exhausted (tried to allocate 266342400 bytes)
  57.  
  58.  
  59. Filename: html/error_db.php
  60.  
  61.  
  62. Line Number: 76
  63.  
  64.  
  65.  
  66.  
  67.  
  68. Backtrace:
  69.  
  70.  
  71.  
  72.  
  73.  
  74. File: /motivity/system/core/Exceptions.php
  75.  
  76. Line: 269
  77.  
  78. Function: include
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86. File: /motivity/system/core/Common.php
  87.  
  88. Line: 627
  89.  
  90. Function: show_php_error
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98. File: /motivity/system/core/Common.php
  99.  
  100. Line: 692
  101.  
  102. Function: _error_handler
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement