Quantcast
Channel: Discourse Meta - Latest topics
Viewing all 60309 articles
Browse latest View live

CSRF error on mobiquo.php

0
0

@riking wrote:

We get this "error" on our forum as well:

HTTP_HOST: forum.com
REQUEST_URI: /board/mobiquo/mobiquo.php
REQUEST_METHOD: POST
HTTP_USER_AGENT: Mozilla/5.0 Firefox/3.5.6 Tapatalk/4.12.1

backtrace log
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/logster-0.1.8/lib/logster/logger.rb:47:in `add'
/usr/local/lib/ruby/2.0.0/logger.rb:445:in `warn'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.9/lib/action_controller/metal/request_forgery_protection.rb:196:in `verify_authenticity_token'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:424:in `block in make_lambda'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:160:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:160:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:86:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:86:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:19:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.9/lib/action_controller/metal/rescue.rb:29:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.9/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `block in instrument'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.9/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.9/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:136:in `process'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionview-4.1.9/lib/action_view/rendering.rb:30:in `process'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-mini-profiler-0.9.3/lib/mini_profiler/profiling_methods.rb:77:in `block in profile_method'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.9/lib/action_controller/metal.rb:196:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.9/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.9/lib/action_controller/metal.rb:232:in `block in action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.9/lib/action_dispatch/routing/route_set.rb:82:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.9/lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.9/lib/action_dispatch/routing/route_set.rb:50:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.9/lib/action_dispatch/journey/router.rb:73:in `block in call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.9/lib/action_dispatch/journey/router.rb:59:in `each'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.9/lib/action_dispatch/journey/router.rb:59:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.9/lib/action_dispatch/routing/route_set.rb:685:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.9/lib/action_dispatch/middleware/show_exceptions.rb:46:in `render_exception'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.9/lib/action_dispatch/middleware/show_exceptions.rb:35:in `rescue in call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.9/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/logster-0.1.8/lib/logster/middleware/reporter.rb:31:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.1.9/lib/rails/rack/logger.rb:38:in `call_app'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.1.9/lib/rails/rack/logger.rb:22:in `call'
/var/www/discourse/config/initializers/quiet_logger.rb:10:in `call_with_quiet_assets'
/var/www/discourse/config/initializers/silence_logger.rb:26:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.9/lib/action_dispatch/middleware/request_id.rb:21:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-mini-profiler-0.9.3/lib/mini_profiler/profiler.rb:167:in `call'
/var/www/discourse/lib/middleware/request_tracker.rb:70:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.1.9/lib/rails/engine.rb:514:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.1.9/lib/rails/application.rb:144:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.1.9/lib/rails/railtie.rb:194:in `public_send'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.1.9/lib/rails/railtie.rb:194:in `method_missing'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:138:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/urlmap.rb:65:in `block in call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/urlmap.rb:50:in `each'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/urlmap.rb:50:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:576:in `process_client'
/var/www/discourse/lib/scheduler/defer.rb:85:in `process_client'
/var/www/discourse/lib/middleware/unicorn_oobgc.rb:95:in `process_client'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:670:in `worker_loop'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:525:in `spawn_missing_workers'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:140:in `start'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/bin/unicorn:126:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `load'
/var/www/discourse/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `<main>'

I think it is something to do with Tapatalk which we used to have configured back when we were using phpBB.

Posts: 2

Participants: 2

Read full topic


If a member has more than 5 flags, they cannot reach trust level 3?

0
0

@shivansh wrote:

Hello all and @codinghorror, This is my first post and I wanna know that, If a trust level 2 (member) receive more than 5 spams, So he never become Ninja?(trust level 3)

Posts: 5

Participants: 3

Read full topic

Activate button doesn't work

0
0

@hongquan wrote:

I setup Discourse in localhost, but in production mode, with Passenger & Nginx.
Action mailer is setup with mailtrap.io. I create account and get activation email. I click to the link and is brought to activate page with the "Activate your account" button. However, when I click to that button, nothing happens. No message shows, no redirection. From that on, if I go to any URL in the site, I only get this: http://i.imgur.com/wxWQUmW.png. The site stops working.

Did I do something wrong?

--- Update 1 ---
I found this in log/production.log:

Job exception: Wrapped ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR:  duplicate key value violates unique constraint "index_uploads_on_sha1"
DETAIL:  Key (sha1)=(48d15c70043e5c6da051b473073a85d7e893c9d9) already exists.
: INSERT INTO "uploads" ("created_at", "filesize", "height", "origin", "original_filename", "sha1", "updated_at", "url", "user_id", "width") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"

Posts: 2

Participants: 2

Read full topic

Safest way to overwrite existing user settings?

0
0

@jesselperry wrote:

Trying to change existing user settings on tracking a topic (0 milliseconds), as that's my new default, but doesn't cover existing users. Any tips on safest way to do this? smile

Posts: 4

Participants: 2

Read full topic

Is it possible to have "closed" discourse sites?

0
0

@nikc wrote:

I'm trying to create a message board for discussing things that shouldn't be posted publicly. Does Discourse support a sort of a "invite only" feature? So you have to log in to be able to read the message board, and to register you need to be approved by a moderator?

Posts: 2

Participants: 2

Read full topic

Automated Backups to other Destinations Besides Amazon S3

0
0

@Jonathan_Wexler wrote:

Continuing the discussion from Hot off the presses, automated backup support!:

I also will not use S3 - what is that - AWS? I would like to use Dropbox or even some other backup solution as I find AWS totally convoluted.

How can I create a process where backups are sent to other destinations?

I will have to experiment, but this was my initial concern.

Posts: 17

Participants: 5

Read full topic

The magical (dis)appearing horizontal scroll bar

0
0

@blakeofthepath wrote:

On browser windows of certain widths, when you scroll down to the bottom of the page under the post stream, the horizontal scroll bar appears. I believe this is a regression.

The best thing is, when you're on the threshold of the bar appearing, the scroll bar 'humps' the bottom of the screen.

Here's a video of exactly what I mean, on meta.discourse.org. Though I identified it first on our own discourse instance.

This is happening with Chrome on Ubuntu, with a window width of approximately 960 (i.e. half of 1920), I can identify a couple of (separate) width ranges where it happens: around 935-975 pixels, and 855-880 pixels. There are also ranges where the scrollbar appears but without the amusing oscillation.

Posts: 2

Participants: 2

Read full topic

Running Discourse on Windows 7 64 bit

0
0

@fortminer wrote:

I downloaded latest vagrant box discourse-0.9.9.15.box , installed Virtual Box 4.3.20 .

But, when I am doing "bundle exec rails s" , from log I don't see any issues but on localhost -
localhost:4000 keeps on loading and does not shows the first page.

I am running it behind firewall but got past bundle install using export http_proxy and https_proxy.

Any help ?

Posts: 10

Participants: 6

Read full topic


Onboxing: Wikipedia links are broken with umlauts

0
0

@terraboss wrote:

I didn't found any complaints / solutions regarding to this issue. It's interesting: In the moment you're initially copy such a link with umlaut onboxing seems to create a preview. After adding a new line or by posting the preview disappears.

And even more interesting: Just here at meta, after posting, the onboxing is working.

For example:

Thanks in advance
Markus

Posts: 7

Participants: 2

Read full topic

403 forbidden after installation

0
0

@Elano wrote:

Hello!

I'm a newbie in this kind of installation and I saw this forum "Discourse" like a month ago and today I tried to install it on my website but something went wrong... ^^'

I use Debian so I followed this http://gehrcke.de/2014/07/discourse-on-debian-wheezy-via-docker/ tutorial for my installation.

I have my /var/discourse/shared/standalone file, but on my website, it doesn't work... On my FTP, my file forum.gameguides.fr is empty ='(

On Putty I have this :

[193] 31 Mar 14:36:33.763 * Saving the final RDB snapshot before exiting.
2015-03-31 14:36:33 UTC [74-2] LOG: database system is shut down
[193] 31 Mar 14:36:33.800 * DB saved on disk
[193] 31 Mar 14:36:33.802 # Redis is now ready to exit, bye bye...
cf42aa40d0ef575fb3310414cc068ee85e4af0d69377ad0e9e6021ea7f5c3277
73b294b37be7316f11789214c6cc2469d0692feb8b351ea29da2d3088e75dca4
Removing old container
+ /usr/bin/docker rm app
app

  • /usr/bin/docker run -d --restart=always -e LANG=en_US.UTF-8 -e RAILS_ENV=production -e UNICORN_WORKERS=2 -e UNICORN_SIDEKIQS=1 -e RUBY_GC_MALLOC_LIMIT=40000000 -e RUBY_HEAP_MIN_SLOTS=800000 -e DISCOURSE_DB_SOCKET=/var/run/postgresql -e DISCOURSE_DB_HOST= -e DISCOURSE_DB_PORT= -e HOME=/root -e DISCOURSE_DEVELOPER_EMAILS=contact.aion@*********.** -e DISCOURSE_HOSTNAME=forum.gameguides.fr -e DISCOURSE_SMTP_ADDRESS=smtp.*********.** -e DISCOURSE_SMTP_PORT=587 -e DISCOURSE_SMTP_USER_NAME=contact.aion@******. -e DISCOURSE_SMTP_PASSWORD=********* -h Gameguides.fr-app -e DOCKER_HOST_IP=172.17.42.1 --name app -t -p 127.0.0.1:20080:80 -p 2222:22 -v /var/discourse/shared/standalone:/shared -v /var/discourse/shared/standalone/log/var-log:/var/log local_discourse/app /sbin/boot
    0ff0e1fb83e97e63463e569a3a514542dc1320f30d3a721bf9da9d57745e5b68

If someone can help me it will be awsome ^^'

Greetings,
Elano.

Posts: 5

Participants: 3

Read full topic

What do I do with "Suspect" users that aren't?

0
0

@downey wrote:

Continuing the discussion from Discourse Version 1.2:

So I have 2 users appearing in this new "Suspect Users" list, but both of them are legit. What should I do?

Posts: 12

Participants: 5

Read full topic

Did digest frequency for all users change with recent upgrade?

0
0

@tobiaseigen wrote:

My users have started complaining about getting digest emails daily - I see my own is now set at daily but don't know what it was set at before. This is confusing for many because they are seeing them for the first time.

Posts: 3

Participants: 3

Read full topic

By group: force watching of certain categories, non muting of users

0
0

@tobiaseigen wrote:

One of my sites has two categories (staff and leadership) that are limited access by group. We also set up group members manually to watch these categories. Now of course they can go and change their preferences to change this, but we'd like to avoid this if possible. Wondering if there's a scheduled task we could set up to force group members to watch the relevant categories.

Meanwhile, we also do not want to allow members of the staff group to mute certain users who communicate about urgent matters that need to get into the email inboxes of all staff.

Could this be done via the badges queries, perhaps? I'd be grateful for guidance, code examples or recipes to copy. smile

Posts: 1

Participants: 1

Read full topic

Close and Archive a Topic

0
0

@cpradio wrote:

Is this supposed to be allowed? I thought there was discussion about it prior that Archived should unflag the Closed indicator to avoid the double-lock icon, but I can't seem to find it.

Steps to Reproduce:

  1. Find a Topic that is open
  2. Use the Wrench to Close the Topic
  3. Use the Wrench again to Archive the Topic

Topic now has two lock icons.

Yes, this is incredibly minor, no it isn't causing any problems (hence why it is under support -- as it isn't hindering us in any way at this point).

So is this working as designed? I still need to test if this is possible when you have auto-close enabled and you manually archive a topic prior to the auto-close. That is on my to do list, but I don't know when I'll get to it.

Posts: 2

Participants: 1

Read full topic

How to disable email confirmation when installing?

0
0

@Pirat wrote:

How do I completely disable the confirmation email and Email Is Important?

Posts: 4

Participants: 2

Read full topic


Are Discourse callbacks using Ember or Rails that can be hooked into for plugins?

0
0

@cdesch wrote:

Is there a list or documentation that shows the available callbacks that Discourse makes which can be hooked into for plugins? For example, when Discourse is done loading some new content and is about to render it to the browser, is there a call back like on_discourse_done_doing_stuff where the plugin can than run any additional steps it may want to before the render?

Maybe I was thinking of something similar to the life cycle of ViewControllers in iOS.

I was looking at the ember hooks and lifecycle although I'm not sure if this would be the best way to extend discourse.

Posts: 2

Participants: 2

Read full topic

Many drafts of published posts exist in the database

0
0

@watchmanmonitor wrote:

Hi all

I was looking for a post by a user, and found that there are many (568 in our forum of ~1200 posts) drafts of posts which have been published.

Is this intentional? Will they be trimmed later?

Posts: 4

Participants: 3

Read full topic

Bootstrap docker error

0
0

@Chaka wrote:

When I run ./launcher bootstrap app I get Device "docker0" does not exist I then try to start the docker daemon with sudo service docker start I then get this


Starting cgconfig service: Error: cannot mount cpuset to /cgroup/cpuset: No such file or directory
/sbin/cgconfigparser; error loading /etc/cgconfig.conf: Cgroup mounting failed
Failed to parse /etc/cgconfig.conf or /etc/cgconfig.d [FAILED]

I am running CentOS 6.6 off of ProvisionHost.com All help would be appreciated. Thanks

Posts: 2

Participants: 2

Read full topic

Still exists - Group listing has incorrect number until clicked

0
0

@jesselperry wrote:

Fun…

This issue appears to still exist. I was testing out the API & adding myself to a group via API, then removing myself (via admin interface). Doing this twice now results in the number 42 until I click, then properly showing number 40.

Continuing the discussion from Group listing has incorrect number until clicked:

Posts: 1

Participants: 1

Read full topic

Feasibility of a reddit-like "hot" order

0
0

@noamraph wrote:

Hi,

I consider using Discourse to start a forum for political discussion. I think that as it gains traction, a default "hot" order, which combines popularity measures (likes, replies and views) with the age of the conversation, would be very useful. Like in Reddit, it would let visitors see what's most interesting, and would also allow new posts to have an opportunity to be rated.

My question is, can you estimate how difficult would it be for an experienced programmer (me) to add this feature along the way?

Thanks,
Noam

Posts: 3

Participants: 2

Read full topic

Viewing all 60309 articles
Browse latest View live




Latest Images