Questions tagged [question2answer]

A popular open source Q&A platform using PHP and MySQL. (Please do not use this tag to indicate that you have a question and want an answer).

50 questions
3
votes
1 answer

Allowed memory size exhausted but memory_get_peak_usage says otherwise

On my server I have the following error: Allowed memory size of 268435456 bytes exhausted This happens in a loop (a foreach one) and when I'm checking the memory usage in the loop with memory_get_peak_usage(); I obtain 7254128 which is far from…
darkheir
  • 8,844
  • 6
  • 45
  • 66
3
votes
0 answers

How to setup multiple Q/A sites and load questions from one or several sites at a time

I'm making Q/A for high school students using question2answer CMS by setting up a copy of CMS for every subject. Most of the students know well and can contribute more than in one topic, so I want to make them able to select topics in which they…
Tomas
  • 1,377
  • 3
  • 17
  • 32
2
votes
2 answers

Disable anonymous users of hiding their posts in q2a

I have a question regarding Anonymous users. When they post a question, later they can "hide" the question. How I can disable Anonymous user s(or other users) of hiding their questions? I found this post related, but it didn't help. any idea ? Thx
smohamadi
  • 21
  • 4
2
votes
2 answers

Why I am getting max_user_connections SQL Error?

Why I am getting this error on my website http://elancemarket.com/ again and again ? Error establishing a database connection SQL ERROR [ mysqli ] User elancema_user already has more than 'max_user_connections' active connections [1203] Warning:…
erbhaveshkumar
  • 35
  • 1
  • 1
  • 4
2
votes
1 answer

Rewrite URL on Glassfish with Quercus' PHP

I have Glassfish 3 server and have added Quercus 4.0.7 to to be able to run PHP applications on it. Everything works perfectly with it. Now I'm trying to run Question2Answer application on my server. I was able to open application but it's not…
Maksim
  • 16,635
  • 27
  • 94
  • 135
2
votes
1 answer

CKEditor config doesn't change text to right-to-left

I have edited config.js to CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. For example: config.language = 'ar'; config.contentsLangDirection = 'rtl'; contentsLanguage:'ar'; …
The Quantum Physicist
  • 24,987
  • 19
  • 103
  • 189
2
votes
3 answers

Laravel + Q&A Framework

I'm most comfortable with Laravel and want to extend it with a Question and Answer framework such as Q2A or OSQA. How do I integrate the two together (ex. Q2A + Laravel)?
mistermat
  • 327
  • 4
  • 14
1
vote
1 answer

Integrating Sphinx or other search engines with Question2Answer

My first impression from peeking into the source for Question2Answer is that it seems to be built to co-exist nicely with other OS applications. For example, one can plug in their own code for user database management or for localization - for…
Basel Shishani
  • 7,735
  • 6
  • 50
  • 67
1
vote
2 answers

Are the two dog elements in the following XML fragments identical?

Are the two dog elements in the following XML fragments identical? fragment 1: The dog was the first species to be domesticated fragment…
1
vote
0 answers

does not match number of tokens - Query: SELECT COUNT(event) FROM qa_eventlog WHERE datetime >= FROM_UNIXTIME(?) AND

I'm modifying a plugin of the "Question2Answer" script, and after activating a plugin, I get the following error: MySQL query error HY093: SQLSTATE [HY093]: Invalid parameter number: number of bound variables does not match number of tokens - Query:…
1
vote
2 answers

Getting rerouted to Welcome to nginx each time

Cannot figure out why nginx continues to redirect to the Welcome to nginx page. I am trying to install and run an open source app (question2 answer). Just trying to get it to run locally in my VM first. I am on a vagrant vm machine. Ubuntu…
user7401552
1
vote
1 answer

IIS Rewrite even rewrites images/css/js - results in 404 not found

I am trying to rewrite the urls to make them search engine friendly www.mydomain.com/qa/213/who-am-i rewrites as www.mydomain.com/qa/?qa=213/who-am-i The below block works, but the problem is that the js/css/images urls inside the page are also…
Gautam Jain
  • 6,789
  • 10
  • 48
  • 67
1
vote
1 answer

Use Drupal search to search Q2A and PHPBB content

Q2A and PHPBB are 2 branches of my main website. In other words.. website.com/q2a and website.com/phpbb ... When I use the login box on any of the 3 branches, I want the SSO to log me in to all 3 branches. When I use the search box on any of the 3…
1
vote
2 answers

Drupal and Q2A User Integration

I want the same login page for both systems. I want the same "My Account" page for both systems. I want the same Search Bar for both systems. How can I do this? Currently, my website has them both installed and running separately.. but I desperately…
1
vote
2 answers

Redirecting HTTP to HTTPS correctly in Question2Answer script

I have searched for this question for many days and tried so many different methods but nothing works so far. I am using the Question2Answer script and I want to redirect all the HTTP requests to HTTPS. My URL structure is set to :…
1
2 3 4