Advertisement
Guest User

Custom Field Saving / Data Output Debug

a guest
Feb 21st, 2012
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.55 KB | None | 0 0
  1. [02/22/2012 2:33 AM] - SUCCESS :$value is an array, so removing all previous data...
  2. [02/22/2012 2:33 AM] - SUCCESS :
  3. Array
  4. (
  5.     [0] => Resource Name 1
  6.     [1] => http://link.com/1.pdf
  7.     [2] => PDF
  8. )
  9. [02/22/2012 2:33 AM] - SUCCESS :Removed all custom field data from post id: 6 for the key wsm-content-downloads
  10. [02/22/2012 2:33 AM] - SUCCESS :Beginning foreach loop to save data for $value as $entry...
  11. [02/22/2012 2:33 AM] - SUCCESS :Successfully updated custom field data for post id: 6 for the key wsm-content-downloads with the $value as $entry Resource Name 1
  12. [02/22/2012 2:33 AM] - SUCCESS :Returning to the beginning of data save loop or ending...
  13.  
  14. ------------------------------------------------------------------
  15.  
  16. [02/22/2012 2:33 AM] - SUCCESS :Beginning foreach loop to save data for $value as $entry...
  17. [02/22/2012 2:33 AM] - SUCCESS :Successfully updated custom field data for post id: 6 for the key wsm-content-downloads with the $value as $entry http://link.com/1.pdf
  18. [02/22/2012 2:33 AM] - SUCCESS :Returning to the beginning of data save loop or ending...
  19.  
  20. ------------------------------------------------------------------
  21.  
  22. [02/22/2012 2:33 AM] - SUCCESS :Beginning foreach loop to save data for $value as $entry...
  23. [02/22/2012 2:33 AM] - SUCCESS :Successfully updated custom field data for post id: 6 for the key wsm-content-downloads with the $value as $entry PDF
  24. [02/22/2012 2:33 AM] - SUCCESS :Returning to the beginning of data save loop or ending...
  25.  
  26. ------------------------------------------------------------------
  27.  
  28. [02/22/2012 2:33 AM] - SUCCESS :Ended array custom field data save loop for: 6 for the key wsm-content-downloads. Custom field data for key is as follows:
  29. [02/22/2012 2:33 AM] - SUCCESS :
  30. Array
  31. (
  32.     [0] => http://link.com/1.pdf
  33.     [1] => Resource Name 1
  34.     [2] => PDF
  35. )
  36. [02/22/2012 2:33 AM] - SUCCESS :Ending data saving operation and reloading the page...
  37.  
  38. ------------------------------------------------------------------
  39.  
  40. [02/22/2012 2:33 AM] - SUCCESS :We've found content downloads for this post, setting the value of $i to 0 to start the loop...
  41. [02/22/2012 2:33 AM] - SUCCESS :
  42. Array
  43. (
  44.     [0] => http://link.com/1.pdf
  45.     [1] => Resource Name 1
  46.     [2] => PDF
  47. )
  48. [02/22/2012 2:33 AM] - SUCCESS :Begin foreach loop for meta box downloads output: $i =0
  49. [02/22/2012 2:33 AM] - SUCCESS :variable $i is not equal to 3 yet, so not resetting value to 0.  $i = 0
  50. [02/22/2012 2:33 AM] - SUCCESS :Incremented value of $i which now equals 1
  51. [02/22/2012 2:33 AM] - SUCCESS :$flag=1 outputting first input with the value of http://link.com/1.pdf
  52.  
  53. ------------------------------------------------------------------
  54.  
  55. [02/22/2012 2:33 AM] - SUCCESS :Begin foreach loop for meta box downloads output: $i =1
  56. [02/22/2012 2:33 AM] - SUCCESS :variable $i is not equal to 3 yet, so not resetting value to 0.  $i = 1
  57. [02/22/2012 2:33 AM] - SUCCESS :Incremented value of $i which now equals 2
  58. [02/22/2012 2:33 AM] - SUCCESS :$flag=2 outputting second input with the value of Resource Name 1
  59.  
  60. ------------------------------------------------------------------
  61.  
  62. [02/22/2012 2:33 AM] - SUCCESS :Begin foreach loop for meta box downloads output: $i =2
  63. [02/22/2012 2:33 AM] - SUCCESS :variable $i is not equal to 3 yet, so not resetting value to 0.  $i = 2
  64. [02/22/2012 2:33 AM] - SUCCESS :Incremented value of $i which now equals 3
  65. [02/22/2012 2:33 AM] - SUCCESS :$element == PDF, setting value of $select_pdf to selected="selected"
  66. [02/22/2012 2:33 AM] - SUCCESS :$flag=3 outputting third input (download type select list) with the value of PDF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement