Private messages error

Gesperax
Artist

When I'm trying to open a private message, I see this -

application error ArgumentError at /user/private_messages wrong number of arguments (given 0, expected 1..2) file: filters.rb location: truncate line: 66 BACKTRACE (expand)

JUMP TO: GET POST COOKIES ENV /srv/api/spkslumberpartyproduction/web/views/pminbox.haml in block in _tilt70132356736500 = lastmessage[:messagebody].truncate.markdowntohtml /srv/api/spkslumberpartyproduction/web/views/pminbox.haml in each - @roots.each do | pmroot | /srv/api/spkslumberpartyproduction/web/views/pminbox.haml in _tilt70132356736500 - @roots.each do | pmroot | /srv/api/spkslumberpartyproduction/web/routes/privatemessages.rb in block in haml :pm_inbox GET No GET data.

POST No POST data.

COOKIES Variable Value rack.session
"BAh7CEkiD3Nlc3Npb25faWQGOgZFVG86HVJhY2s6OlNlc3Npb246OlNlc3Npb25JZAY6D0BwdWJsaWNfaWRJIkVlMGJmMTJmNzdhY2ZkODU4ZGYxZmI0YjQyZGVmZTNmZDRkYmQ5YTA1ODAyODAxNGM3YTJlNmM2MGNlYzQyYTBiBjsARkkiCWNzcmYGOwBGSSIxUWJkWjV3ZWFTTkIvUVYwTEt5QTVjRHJXNjF4aHBQc3FzbVFGd3REcHZxaz0GOwBGSSINdHJhY2tpbmcGOwBGewZJIhRIVFRQX1VTRVJfQUdFTlQGOwBUSSItMmVjZjhkOTM2YTcxYTQzMWJjMWZhY2Y2MjkxNjkwNjUxMDA4M2FjNAY7AEY=--31d7e0435fbf360819f8f0ba132a7b7159440d05" age-verified
"" username
"Gesperax" sessiontoken
"$2a$12$b45JueuQY5AUWpugMK2yie.XDUsKAga7RuZ6rno.3ALeK5zt0rXNC" Rack ENV Variable Value HTTP
ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9 HTTPACCEPTENCODING
gzip HTTPACCEPTLANGUAGE
ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 HTTPCDNLOOP
cloudflare HTTPCFCONNECTINGIP
5.149.250.222 HTTP
CFIPCOUNTRY
GB HTTP
CFRAY 655a41004cd35433-LHR HTTPCFREQUESTID
0a4c46f42d000054338699c000000001 HTTPCFVISITOR {"scheme":"https"} HTTPCONNECTION close HTTPCOOKIE rack.session=BAh7CEkiD3Nlc3Npb25faWQGOgZFVG86HVJhY2s6OlNlc3Npb246OlNlc3Npb25JZAY6D0BwdWJsaWNfaWRJIkVlMGJmMTJmNzdhY2ZkODU4ZGYxZmI0YjQyZGVmZTNmZDRkYmQ5YTA1ODAyODAxNGM3YTJlNmM2MGNlYzQyYTBiBjsARkkiCWNzcmYGOwBGSSIxUWJkWjV3ZWFTTkIvUVYwTEt5QTVjRHJXNjF4aHBQc3FzbVFGd3REcHZxaz0GOwBGSSINdHJhY2tpbmcGOwBGewZJIhRIVFRQX1VTRVJfQUdFTlQGOwBUSSItMmVjZjhkOTM2YTcxYTQzMWJjMWZhY2Y2MjkxNjkwNjUxMDA4M2FjNAY7AEY%3D--31d7e0435fbf360819f8f0ba132a7b7159440d05; age-verified=; username=Gesperax; sessiontoken=%242a%2412%24b45JueuQY5AUWpugMK2yie.XDUsKAga7RuZ6rno.3ALeK5zt0rXNC HTTPHOST
spankingslumberparty.com HTTPREFERER
https://spankingslumberparty.com/message
board/subboard?id=2 HTTPSECCHUA
" Not A;Brand";v="99", "Chromium";v="90" HTTPSECCHUAMOBILE
?0 HTTPSECFETCHDEST document HTTPSECFETCHMODE navigate HTTPSECFETCHSITE none HTTPSECFETCHUSER ?1 HTTPUPGRADEINSECUREREQUESTS
1 HTTP
USERAGENT Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.214 Safari/537.36 HTTPVERSION
HTTP/1.0 HTTPXFORWARDEDFOR
5.149.250.222, 162.158.159.135 HTTP
XFORWARDEDPROTO
https HTTPXREALIP
162.158.159.135 PATH
INFO
/user/privatemessages QUERYSTRING
REMOTEADDR 127.0.0.1 REQUESTMETHOD
GET REQUESTPATH
/user/private
messages REQUESTURI /user/privatemessages SCRIPTNAME SERVERNAME spankingslumberparty.com SERVERPORT 443 SERVERPROTOCOL HTTP/1.0 SERVERSOFTWARE Unicorn 6.0.0 rack.afterreply
[] rack.errors

rack.hijack

rack.hijack?
true rack.input

>

rack.logger

, @app=#"@outbuf", :defaultencoding=>"utf-8"}, "/srv/api/spkslumberpartyproduction/web/views"]=>#"@outbuf"}, @line=1, @file="/srv/api/spkslumberpartyproduction/web/views/pminbox.haml", @compiledmethod={[SlumberParty::WebApp, []]=>#}, @defaultencoding="utf-8", @reader=#, @data="-# Inbox\n.row.justify-content-center\n .col-lg-10\n .rounded\n .row.header\n %h1 My Private Messages\n\n -# Render actual inbox\n - if @roots.count == 0\n %p\n No conversations here (yet :O)\n - else\n - i = 0\n - @roots.each do | pmroot |\n .row.gallery-artist.user-comments{:style => i == 0 ? \"padding-top: 0px\" : \"\"}\n - i += 1\n - username = pmroot[:user1] == @user[:username] ? pmroot[:user2] : pmroot[:user1]\n\n -# User avatar\n .col-sm-2.text-center\n %a{:href => \"/user/profile?username=#{CGI::escape username}\"}\n %img{:class => \"more-gal-items\",\n :alt => username,\n :src => profilepicturefor(username)}\n = username\n\n -# User Status\n %p.align-center\n - @profileuser = Users.where(:username => username).first\n - if @profileuser[:isbanned]\n %span{:style => \"font-size: 22px; color: red; font-weight: 800; text-transform: uppercase; -webkit-text-stroke: 1px #e87298;\"}\n Banned\n - if @profileuser[:banneduntil]\n %br\n %span{:style => \"color: red; font-weight: 600;\"}\n = \"(Until #{@profileuser[:banneduntil].strftime \"%A, %b %d\"})\"\n - else\n = rolestringforuser username\n\n -# Message info and preview stuff\n - lastmessage = pmroot.privatemessages.sort { |x,y| x[:createdat] y[:createdat] }.last\n - unread = pmroot.privatemessages.select { |x| x[:user] != @user[:username] and x[:unread] }.count != 0\n .col.comment-body\n .comment-body-container\n -# Subject line\n %h1{:style => unread ? \"font-weight: 800\" : \"\"}\n %a{:href => \"/user/viewprivatemessage?id=#{pmroot[:pmrootid]}\"}= pmroot[:subject]\n - if unread\n %i.fa.fa-envelope\n - else\n %i.fa.fa-envelope-open\n\n -# Message Body Preview\n %span{:style => unread ? \"font-weight: 800\" : \"max-width: 150px;\"}\n = lastmessage[:messagebody].truncate.markdowntohtml\n\n -# Date stuff\n %span{:style => unread ? \"font-weight: 800\" : \"max-width: 150px;\"}\n .pull-left{:style => \"position: absolute; bottom: 0;\"}\n %p\n %i\n = lastmessage[:user] == @user[:username] ? \"Sent:\" : \"Received:\"\n = lastmessage[:createdat].strftime(\"%m-%e-%y %H:%M %p\")\n", @engine=#"'", :autoclose=>["area", "base", "basefont", "br", "col", "command", "embed", "frame", "hr", "img", "input", "isindex", "keygen", "link", "menuitem", "meta", "param", "source", "track", "wbr"], :encoding=>nil, :escapeattrs=>true, :escapehtml=>false, :escapefilterinterpolations=>nil, :filename=>"/srv/api/spkslumberpartyproduction/web/views/pminbox.haml", :format=>:html5, :hyphenatedataattrs=>true, :line=>1, :mimetype=>"text/html", :preserve=>["textarea", "pre", "code"], :removewhitespace=>false, :suppresseval=>false, :cdata=>false, :parserclass=>Haml::Parser, :compilerclass=>Haml::Compiler, :trace=>false, :filters=>{}, :buffer=>"@outbuf", :savebuffer=>true}]>, @chain=[[:Parser, #], [:Compiler, #], [:"Haml::Escapable", #], [:ControlFlow, #], [:MultiFlattener, #], [:StaticMerger, #], [:"Haml::Generator", #]], @encoding=#, @callchain=[#, @scriptlevelstack=[], @templateindex=0, @templatetabs=0, @template=[], @parent=(root nil (hamlcomment {:text=>" Inbox"}) (tag {:name=>"div", :attributes=>{"class"=>"row justify-content-center"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (tag {:name=>"div", :attributes=>{"class"=>"col-lg-10"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (tag {:name=>"div", :attributes=>{"class"=>"rounded"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (tag {:name=>"div", :attributes=>{"class"=>"row header"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (tag {:name=>"h1", :attributes=>{}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>"My Private Messages"})) (hamlcomment {:text=>" Render actual inbox"}) (silentscript {:text=>" if @roots.count == 0", :keyword=>"if"} (tag {:name=>"p", :attributes=>{}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (plain {:text=>"No conversations here (yet :O)"})) (silentscript {:text=>" else", :keyword=>"else"}) (silentscript {:text=>" i = 0", :keyword=>nil}) (silentscript {:text=>" @roots.each do | pmroot |", :keyword=>nil} (tag {:name=>"div", :attributes=>{"class"=>"row gallery-artist user-comments"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (silentscript {:text=>" i += 1", :keyword=>nil}) (silentscript {:text=>" username = pmroot[:user1] == @user[:username] ? pmroot[:user2] : pmroot[:user1]", :keyword=>nil}) (hamlcomment {:text=>" User avatar"}) (tag {:name=>"div", :attributes=>{"class"=>"col-sm-2 text-center"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (tag {:name=>"a", :attributes=>{}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (tag {:name=>"img", :attributes=>{}, :dynamicattributes=># username,\n:src => profilepicturefor(username)}">, :selfclosing=>true, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil}) (script {:text=>" username", :escapehtml=>false, :preserve=>false, :keyword=>nil})) (hamlcomment {:text=>" User Status"}) (tag {:name=>"p", :attributes=>{"class"=>"align-center"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (silentscript {:text=>" @profileuser = Users.where(:username => username).first", :keyword=>nil}) (silentscript {:text=>" if @profileuser[:isbanned]", :keyword=>"if"} (tag {:name=>"span", :attributes=>{"style"=>"font-size: 22px; color: red; font-weight: 800; text-transform: uppercase; -webkit-text-stroke: 1px #e87298;"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (plain {:text=>"Banned"})) (silentscript {:text=>" if @profileuser[:banneduntil]", :keyword=>"if"} (tag {:name=>"br", :attributes=>{}, :dynamicattributes=>#, :selfclosing=>true, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil}) (tag {:name=>"span", :attributes=>{"style"=>"color: red; font-weight: 600;"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (script {:text=>" \"(Until #{@profileuser[:banneduntil].strftime \"%A, %b %d\"})\"", :escapehtml=>false, :preserve=>false, :keyword=>nil}))) (silentscript {:text=>" else", :keyword=>"else"}) (script {:text=>" rolestringforuser username", :escapehtml=>false, :preserve=>false, :keyword=>nil})))) (hamlcomment {:text=>" Message info and preview stuff"}) (silentscript {:text=>" lastmessage = pmroot.privatemessages.sort { |x,y| x[:createdat] y[:createdat] }.last", :keyword=>nil}) (silentscript {:text=>" unread = pmroot.privatemessages.select { |x| x[:user] != @user[:username] and x[:unread] }.count != 0", :keyword=>nil}) (tag {:name=>"div", :attributes=>{"class"=>"col comment-body"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (tag {:name=>"div", :attributes=>{"class"=>"comment-body-container"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (hamlcomment {:text=>" Subject line"}) (tag {:name=>"h1", :attributes=>{}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (tag {:name=>"a", :attributes=>{}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>true, :value=>"pmroot[:subject]"}) (silentscript {:text=>" if unread", :keyword=>"if"} (tag {:name=>"i", :attributes=>{"class"=>"fa fa-envelope"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>""}) (silentscript {:text=>" else", :keyword=>"else"}) (tag {:name=>"i", :attributes=>{"class"=>"fa fa-envelope-open"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>""}))) (hamlcomment {:text=>" Message Body Preview"}) (tag {:name=>"span", :attributes=>{}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (script {:text=>" lastmessage[:messagebody].truncate.markdowntohtml", :escapehtml=>false, :preserve=>false, :keyword=>nil})) (hamlcomment {:text=>" Date stuff"}) (tag {:name=>"span", :attributes=>{}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (tag {:name=>"div", :attributes=>{"class"=>"pull-left", "style"=>"position: absolute; bottom: 0;"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (tag {:name=>"p", :attributes=>{}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (tag {:name=>"i", :attributes=>{}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (script {:text=>" lastmessage[:user] == @user[:username] ? \"Sent:\" : \"Received:\"", :escapehtml=>false, :preserve=>false, :keyword=>nil}) (script {:text=>" lastmessage[:createdat].strftime(\"%m-%e-%y %H:%M %p\")", :escapehtml=>false, :preserve=>false, :keyword=>nil})))))))))))))), @root=(root nil (hamlcomment {:text=>" Inbox"}) (tag {:name=>"div", :attributes=>{"class"=>"row justify-content-center"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (tag {:name=>"div", :attributes=>{"class"=>"col-lg-10"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (tag {:name=>"div", :attributes=>{"class"=>"rounded"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (tag {:name=>"div", :attributes=>{"class"=>"row header"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (tag {:name=>"h1", :attributes=>{}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>"My Private Messages"})) (hamlcomment {:text=>" Render actual inbox"}) (silentscript {:text=>" if @roots.count == 0", :keyword=>"if"} (tag {:name=>"p", :attributes=>{}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (plain {:text=>"No conversations here (yet :O)"})) (silentscript {:text=>" else", :keyword=>"else"}) (silentscript {:text=>" i = 0", :keyword=>nil}) (silentscript {:text=>" @roots.each do | pmroot |", :keyword=>nil} (tag {:name=>"div", :attributes=>{"class"=>"row gallery-artist user-comments"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (silentscript {:text=>" i += 1", :keyword=>nil}) (silentscript {:text=>" username = pmroot[:user1] == @user[:username] ? pmroot[:user2] : pmroot[:user1]", :keyword=>nil}) (hamlcomment {:text=>" User avatar"}) (tag {:name=>"div", :attributes=>{"class"=>"col-sm-2 text-center"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (tag {:name=>"a", :attributes=>{}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (tag {:name=>"img", :attributes=>{}, :dynamicattributes=># username,\n:src => profilepicturefor(username)}">, :selfclosing=>true, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil}) (script {:text=>" username", :escapehtml=>false, :preserve=>false, :keyword=>nil})) (hamlcomment {:text=>" User Status"}) (tag {:name=>"p", :attributes=>{"class"=>"align-center"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (silentscript {:text=>" @profileuser = Users.where(:username => username).first", :keyword=>nil}) (silentscript {:text=>" if @profileuser[:isbanned]", :keyword=>"if"} (tag {:name=>"span", :attributes=>{"style"=>"font-size: 22px; color: red; font-weight: 800; text-transform: uppercase; -webkit-text-stroke: 1px #e87298;"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (plain {:text=>"Banned"})) (silentscript {:text=>" if @profileuser[:banneduntil]", :keyword=>"if"} (tag {:name=>"br", :attributes=>{}, :dynamicattributes=>#, :selfclosing=>true, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil}) (tag {:name=>"span", :attributes=>{"style"=>"color: red; font-weight: 600;"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (script {:text=>" \"(Until #{@profileuser[:banneduntil].strftime \"%A, %b %d\"})\"", :escapehtml=>false, :preserve=>false, :keyword=>nil}))) (silentscript {:text=>" else", :keyword=>"else"}) (script {:text=>" rolestringforuser username", :escapehtml=>false, :preserve=>false, :keyword=>nil})))) (hamlcomment {:text=>" Message info and preview stuff"}) (silentscript {:text=>" lastmessage = pmroot.privatemessages.sort { |x,y| x[:createdat] y[:createdat] }.last", :keyword=>nil}) (silentscript {:text=>" unread = pmroot.privatemessages.select { |x| x[:user] != @user[:username] and x[:unread] }.count != 0", :keyword=>nil}) (tag {:name=>"div", :attributes=>{"class"=>"col comment-body"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (tag {:name=>"div", :attributes=>{"class"=>"comment-body-container"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (hamlcomment {:text=>" Subject line"}) (tag {:name=>"h1", :attributes=>{}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (tag {:name=>"a", :attributes=>{}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>true, :value=>"pmroot[:subject]"}) (silentscript {:text=>" if unread", :keyword=>"if"} (tag {:name=>"i", :attributes=>{"class"=>"fa fa-envelope"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>""}) (silentscript {:text=>" else", :keyword=>"else"}) (tag {:name=>"i", :attributes=>{"class"=>"fa fa-envelope-open"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>""}))) (hamlcomment {:text=>" Message Body Preview"}) (tag {:name=>"span", :attributes=>{}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (script {:text=>" lastmessage[:messagebody].truncate.markdowntohtml", :escapehtml=>false, :preserve=>false, :keyword=>nil})) (hamlcomment {:text=>" Date stuff"}) (tag {:name=>"span", :attributes=>{}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (tag {:name=>"div", :attributes=>{"class"=>"pull-left", "style"=>"position: absolute; bottom: 0;"}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (tag {:name=>"p", :attributes=>{}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (tag {:name=>"i", :attributes=>{}, :dynamicattributes=>#, :selfclosing=>false, :nukeinnerwhitespace=>false, :nukeouterwhitespace=>nil, :objectref=>:nil, :escapehtml=>false, :preservetag=>false, :preservescript=>nil, :parse=>nil, :value=>nil} (script {:text=>" lastmessage[:user] == @user[:username] ? \"Sent:\" : \"Received:\"", :escapehtml=>false, :preserve=>false, :keyword=>nil}) (script {:text=>" lastmessage[:createdat].strftime(\"%m-%e-%y %H:%M %p\")", :escapehtml=>false, :preserve=>false, :keyword=>nil})))))))))))))), @flat=false, @filterbuffer=nil, @indentation=" ", @nextline=#, eod=true>, @line=#, eod=true>, @tabup=nil>, #, @tomerge=[], @temple=[:multi, [:static, "\n"], [:static, "\n"], [:static, "\n"], [:static, "\n"], [:static, ""], [:static, "My Private Messages\n"], [:static, "\n"], [:code, "\n\n\n if @roots.count == 0\n"], [:static, "\n"], [:static, "No conversations here (yet :O)\n"], [:static, "\n"], [:code, "\n\n else\n"], [:code, " i = 0\n"], [:code, " @roots.each do | pmroot |\n"], [:static, " _hamlattributecompiler1 }, nil)"]], ["true", [:static, " style"]], ["false, nil", [:multi]], [:else, [:multi, [:static, " style='"], [:escape, #, [:dynamic, "hamlattributecompiler1"]], [:static, "'"]]]]]], [:static, ">\n"], [:code, "\n i += 1\n"], [:code, " username = pmroot[:user1] == @user[:username] ? pmroot[:user2] : pmroot[:user1]\n"], [:static, "\n"], [:static, " hamlattributecompiler2 }, nil)"]], ["true", [:static, " href"]], ["false, nil", [:multi]], [:else, [:multi, [:static, " href='"], [:escape, #, [:dynamic, "hamlattributecompiler2"]], [:static, "'"]]]]]], [:static, ">\n"], [:static, " hamlattributecompiler3 }, nil)"]], ["true", [:static, " alt"]], ["false, nil", [:multi]], [:else, [:multi, [:static, " alt='"], [:escape, #, [:dynamic, "hamlattributecompiler3"]], [:static, "'"]]]]], [:static, " class='more-gal-items'"], [:multi, [:code, "hamlattributecompiler4 = (profilepicturefor(username))"], [:case, "hamlattributecompiler4", ["Hash", [:dynamic, "hamlout.attributes({ \"src\".freeze => _hamlattributecompiler4 }, nil)"]], ["true", [:static, " src"]], ["false, nil", [:multi]], [:else, [:multi, [:static, " src='"], [:escape, #, [:dynamic, "hamlattributecompiler4"]], [:static, "'"]]]]]], [:static, ">\n"], [:dynamic, "\n\n\n( username\n).tos"], [:static, "\n"], [:static, "\n"], [:static, "\n"], [:code, "\n @profileuser = Users.where(:username => username).first\n"], [:code, " if @profileuser[:isbanned]\n"], [:static, "\n"], [:static, "Banned\n"], [:static, "\n"], [:code, "\n\n if @profileuser[:banneduntil]\n"], [:static, "\n"], [:static, "\n"], [:dynamic, "\n( \"(Until #{@profileuser[:banneduntil].strftime \"%A, %b %d\"})\"\n).tos"], [:static, "\n"], [:static, "\n"], [:code, "end;"], [:code, " else\n"], [:dynamic, "( rolestringforuser username\n).tos"], [:static, "\n"], [:code, "end;"], [:static, "\n"], [:static, "\n"], [:code, "\n\n lastmessage = pmroot.privatemessages.sort { |x,y| x[:createdat] y[:createdat] }.last\n"], [:code, " unread = pmroot.privatemessages.select { |x| x[:user] != @user[:username] and x[:unread] }.count != 0\n"], [:static, "\n"], [:static, "\n"], [:static, " hamlattributecompiler5 }, nil)"]], ["true", [:static, " style"]], ["false, nil", [:multi]], [:else, [:multi, [:static, " style='"], [:escape, #, [:dynamic, "hamlattributecompiler5"]], [:static, "'"]]]]]], [:static, ">\n"], [:static, " hamlattributecompiler6 }, nil)"]], ["true", [:static, " href"]], ["false, nil", [:multi]], [:else, [:multi, [:static, " href='"], [:escape, #, [:dynamic, "hamlattributecompiler6"]], [:static, "'"]]]]]], [:static, ">"], [:dynamic, "(pmroot[:subject]\n).tos"], [:static, "\n"], [:code, " if unread\n"], [:static, ""], [:static, "\n"], [:code, "\n else\n"], [:static, ""], [:static, "\n"], [:code, "end;"], [:static, "\n"], [:static, " hamlattributecompiler7 }, nil)"]], ["true", [:static, " style"]], ["false, nil", [:multi]], [:else, [:multi, [:static, " style='"], [:escape, #, [:dynamic, "hamlattributecompiler7"]], [:static, "'"]]]]]], [:static, ">\n"], [:dynamic, "\n( lastmessage[:messagebody].truncate.markdowntohtml\n).tos"], [:static, "\n"], [:static, "\n"], [:static, " _hamlattributecompiler8 }, nil)"]], ["true", [:static, " style"]], ["false, nil", [:multi]], [:else, [:multi, [:static, " style='"], [:escape, #, [:dynamic, "hamlattributecompiler8"]], [:static, "'"]]]]]], [:static, ">\n"], [:static, "\n"], [:static, "\n"], [:static, "\n"], [:dynamic, "\n( lastmessage[:user] == @user[:username] ? \"Sent:\" : \"Received:\"\n).tos"], [:static, "\n"], [:dynamic, "( lastmessage[:createdat].strftime(\"%m-%e-%y %H:%M %p\")\n).tos"], [:static, "\n"], [:static, "\n"], [:static, "\n"], [:static, "\n"], [:static, "\n"], [:static, "\n"], [:static, "\n"], [:static, "\n"], [:code, "end;"], [:code, "end;"], [:static, "\n"], [:static, "\n"], [:static, "\n"]], @node=nil, @filters={"plain"=>Haml::Filters::Plain, "javascript"=>Haml::Filters::Javascript, "css"=>Haml::Filters::Css, "cdata"=>Haml::Filters::Cdata, "escaped"=>Haml::Filters::Escaped, "ruby"=>Haml::Filters::Ruby, "preserve"=>Haml::Filters::Preserve, "sass"=>Haml::Filters::Sass, "scss"=>Haml::Filters::Scss, "less"=>Haml::Filters::Less, "markdown"=>Haml::Filters::Markdown, "erb"=>Haml::Filters::Erb, "coffee"=>Haml::Filters::Coffee, "coffeescript"=>Haml::Filters::Coffee}, @attributecompiler=#, @outputline=64>, #, @escape=false, @escapesafebuffer=false>, #>, #>, #>, #true}]>>], @precompiled="hamlout.buffer \n\n\n\nMy Private Messages\n\n\".freeze);; \n; \n; \n; \n; \n; \n\n\n if @roots.count == 0\n; hamlout.buffer \nNo conversations here (yet :O)\n\n\".freeze);; \n\n else\n; i = 0\n; @roots.each do | pmroot |\n; hamlout.buffer _hamlattributecompiler1 }, nil)).tos);; when true; hamlout.buffer \n\".freeze);; \n i += 1\n; username = pmroot[:user1] == @user[:username] ? pmroot[:user2] : pmroot[:user1]\n; _hamlout.buffer \n _hamlattributecompiler2 }, nil)).tos);; when true; hamlout.buffer \n _hamlattributecompiler3 }, nil)).tos);; when true; hamlout.buffer _hamlattributecompiler4 }, nil)).tos);; when true; hamlout.buffer \n\".freeze);; _hamlout.buffer \n\n\".freeze);; \n; \n; \n @profileuser = Users.where(:username => username).first\n; if @profileuser[:isbanned]\n; hamlout.buffer \nBanned\n\n\".freeze);; \n\n if @profileuser[:banneduntil]\n; _hamlout.buffer \n\n\".freeze);; \n; _hamlout.buffer \n\".freeze);; end;; else\n; _hamlout.buffer \n\n\".freeze);; \n\n lastmessage = pmroot.privatemessages.sort { |x,y| x[:createdat] y[:createdat] }.last\n; unread = pmroot.privatemessages.select { |x| x[:user] != @user[:username] and x[:unread] }.count != 0\n; hamlout.buffer \n\n _hamlattributecompiler5 }, nil)).tos);; when true; hamlout.buffer \n _hamlattributecompiler6 }, nil)).tos);; when true; hamlout.buffer \".freeze);; _hamlout.buffer \n\".freeze);; if unread\n; _hamlout.buffer \n\".freeze);; \n else\n; _hamlout.buffer \n\".freeze);; end;; _hamlout.buffer \n _hamlattributecompiler7 }, nil)).tos);; when true; hamlout.buffer \n\".freeze);; _hamlout.buffer \n _hamlattributecompiler8 }, nil)).tos);; when true; hamlout.buffer \n\n\n\n\".freeze);; \n; \n; \n; _hamlout.buffer \n\n\n\n\n\n\n\".freeze);; end;; end;; _hamlout.buffer \n\n\n\".freeze);">>}>, @pinnedresponse=nil>, @options={:reaction=>:dropsession, :logging=>true, :message=>"Forbidden", :encryptor=>Digest::SHA1, :sessionkey=>"rack.session", :status=>403, :allowemptyreferrer=>true, :reportkey=>"protection.failed", :htmltypes=>["text/html", "application/xhtml", "text/xml", "application/xml"], :xssmode=>:block, :nosniff=>true, :imgsrc=>"'self' data:", :fontsrc=>"'self'", :except=>:pathtraversal, :withoutsession=>false}>, @options={:reaction=>:dropsession, :logging=>true, :message=>"Forbidden", :encryptor=>Digest::SHA1, :sessionkey=>"rack.session", :status=>403, :allowemptyreferrer=>true, :reportkey=>"protection.failed", :htmltypes=>["text/html", "application/xhtml", "text/xml", "application/xml"], :trackingkey=>:tracking, :encrypttracking=>true, :track=>["HTTPUSERAGENT"], :imgsrc=>"'self' data:", :fontsrc=>"'self'", :except=>:pathtraversal, :withoutsession=>false}>, @options={:reaction=>:dropsession, :logging=>true, :message=>"Forbidden", :encryptor=>Digest::SHA1, :sessionkey=>"rack.session", :status=>403, :allowemptyreferrer=>true, :reportkey=>"protection.failed", :htmltypes=>["text/html", "application/xhtml", "text/xml", "application/xml"], :authenticityparam=>"authenticitytoken", :allowif=>nil, :imgsrc=>"'self' data:", :fontsrc=>"'self'", :except=>:pathtraversal, :withoutsession=>false}>, @options={:reaction=>:dropsession, :logging=>true, :message=>"Forbidden", :encryptor=>Digest::SHA1, :sessionkey=>"rack.session", :status=>403, :allowemptyreferrer=>true, :reportkey=>"protection.failed", :htmltypes=>["text/html", "application/xhtml", "text/xml", "application/xml"], :allowif=>nil, :imgsrc=>"'self' data:", :fontsrc=>"'self'", :except=>:pathtraversal, :withoutsession=>false}>, @options={:reaction=>:dropsession, :logging=>true, :message=>"Forbidden", :encryptor=>Digest::SHA1, :sessionkey=>"rack.session", :status=>403, :allowemptyreferrer=>true, :reportkey=>"protection.failed", :htmltypes=>["text/html", "application/xhtml", "text/xml", "application/xml"], :imgsrc=>"'self' data:", :fontsrc=>"'self'", :except=>:pathtraversal, :withoutsession=>false}>, @options={:reaction=>:dropsession, :logging=>true, :message=>"Forbidden", :encryptor=>Digest::SHA1, :sessionkey=>"rack.session", :status=>403, :allowemptyreferrer=>true, :reportkey=>"protection.failed", :htmltypes=>["text/html", "application/xhtml", "text/xml", "application/xml"], :allowif=>nil, :imgsrc=>"'self' data:", :fontsrc=>"'self'", :except=>:pathtraversal, :withoutsession=>false}>, @options={:reaction=>:dropsession, :logging=>true, :message=>"Forbidden", :encryptor=>Digest::SHA1, :sessionkey=>"rack.session", :status=>403, :allowemptyreferrer=>true, :reportkey=>"protection.failed", :htmltypes=>["text/html", "application/xhtml", "text/xml", "application/xml"], :frameoptions=>:sameorigin, :imgsrc=>"'self' data:", :fontsrc=>"'self'", :except=>:pathtraversal, :withoutsession=>false}, @frameoptions="SAMEORIGIN">, @defaultoptions={:path=>"/", :domain=>nil, :expireafter=>nil, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :sidbits=>128, :securerandom=>SecureRandom, :secret=>"212ab065d6fbc481a5cd035c1b1c7211ff8a4fed1dffe2ed6375501bb860736109aa67be62d62e675c0410b6b0fa40d7efebdb660f8a58978e7ec1ef0ef4764c", :coder=>#}, @key="rack.session", @cookieonly=true, @samesite=nil, @sidbits=128, @sidsecure=SecureRandom, @sid_length=32>>

rack.multiprocess
true rack.multithread
false rack.request.cookiehash
{"rack.session"=>"BAh7CEkiD3Nlc3Npb25faWQGOgZFVG86HVJhY2s6OlNlc3Npb246OlNlc3Npb25JZAY6D0BwdWJsaWNfaWRJIkVlMGJmMTJmNzdhY2ZkODU4ZGYxZmI0YjQyZGVmZTNmZDRkYmQ5YTA1ODAyODAxNGM3YTJlNmM2MGNlYzQyYTBiBjsARkkiCWNzcmYGOwBGSSIxUWJkWjV3ZWFTTkIvUVYwTEt5QTVjRHJXNjF4aHBQc3FzbVFGd3REcHZxaz0GOwBGSSINdHJhY2tpbmcGOwBGewZJIhRIVFRQX1VTRVJfQUdFTlQGOwBUSSItMmVjZjhkOTM2YTcxYTQzMWJjMWZhY2Y2MjkxNjkwNjUxMDA4M2FjNAY7AEY=--31d7e0435fbf360819f8f0ba132a7b7159440d05", "age-verified"=>"", "username"=>"Gesperax", "session
token"=>"$2a$12$b45JueuQY5AUWpugMK2yie.XDUsKAga7RuZ6rno.3ALeK5zt0rXNC"} rack.request.cookiestring
rack.session=BAh7CEkiD3Nlc3Npb25faWQGOgZFVG86HVJhY2s6OlNlc3Npb246OlNlc3Npb25JZAY6D0BwdWJsaWNfaWRJIkVlMGJmMTJmNzdhY2ZkODU4ZGYxZmI0YjQyZGVmZTNmZDRkYmQ5YTA1ODAyODAxNGM3YTJlNmM2MGNlYzQyYTBiBjsARkkiCWNzcmYGOwBGSSIxUWJkWjV3ZWFTTkIvUVYwTEt5QTVjRHJXNjF4aHBQc3FzbVFGd3REcHZxaz0GOwBGSSINdHJhY2tpbmcGOwBGewZJIhRIVFRQX1VTRVJfQUdFTlQGOwBUSSItMmVjZjhkOTM2YTcxYTQzMWJjMWZhY2Y2MjkxNjkwNjUxMDA4M2FjNAY7AEY%3D--31d7e0435fbf360819f8f0ba132a7b7159440d05; age-verified=; username=Gesperax; session
token=%242a%2412%24b45JueuQY5AUWpugMK2yie.XDUsKAga7RuZ6rno.3ALeK5zt0rXNC rack.request.queryhash {} rack.request.querystring
rack.runonce
false rack.session
{"session
id"=>"e0bf12f77acfd858df1fb4b42defe3fd4dbd9a058028014c7a2e6c60cec42a0b", "csrf"=>"QbdZ5weaSNB/QV0LKyA5cDrW61xhpPsqsmQFwtDpvqk=", "tracking"=>{"HTTPUSERAGENT"=>"2ecf8d936a71a431bc1facf62916906510083ac4"}} rack.session.options
{:path=>"/", :domain=>nil, :expireafter=>nil, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :sidbits=>128, :securerandom=>SecureRandom, :secret=>"212ab065d6fbc481a5cd035c1b1c7211ff8a4fed1dffe2ed6375501bb860736109aa67be62d62e675c0410b6b0fa40d7efebdb660f8a58978e7ec1ef0ef4764c", :coder=>#} rack.session.unpackedcookiedata
{"sessionid"=>"e0bf12f77acfd858df1fb4b42defe3fd4dbd9a058028014c7a2e6c60cec42a0b", "csrf"=>"QbdZ5weaSNB/QV0LKyA5cDrW61xhpPsqsmQFwtDpvqk=", "tracking"=>{"HTTPUSERAGENT"=>"2ecf8d936a71a431bc1facf62916906510083ac4"}} rack.tempfiles
[] rack.url
scheme https rack.version
[1, 2] sinatra.accept
[#, #, #, #, #, #"b3"}, @q=0.9>, #, #] sinatra.commonlogger
true sinatra.error

sinatra.error.params
{} sinatra.route
GET /user/private_messages unicorn.socket

You're seeing this error because you have enabled the show_exceptions setting.

Am I only one user with such a trouble?

05-26-21 16:01 PM

penmask
Admin

Yepppp, that one is definitely on me. I'll get it sorted ASAP :)

05-26-21 18:14 PM

penmask
Admin

Got it sorted, it should work just fine now~

05-26-21 21:34 PM

Gesperax
Artist

Yes, it works :) Thanks! :)

05-27-21 04:28 AM
Copyright © 2021 - 2022 Spanking Slumber Party
All user-submitted works are the property of their respective owners