phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

AntiBotQuestion Installation

Temporary forum to obtain support for MODs/Styles while phpbb.com is down

AntiBotQuestion Installation

Postby azetras » Sat Feb 07, 2009 7:05 pm

Hi all!

I tried to install this mod but I'm having a little trouble. I edited and uploaded all the files required but it also tells me this:

SQL
Code:Select All
INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('enable_abquestion', '0', '0');
INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('abquestion','','0');
INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('abanswer','','0');
INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('abanswer2','','0');


I don't know what I'm supposed to do with it?? Could you please show me some instructions?
azetras
Registered User
 
Posts: 12
Joined: Sat Feb 07, 2009 6:29 pm

Re: AntiBotQuestion Installation

Postby darcie » Sat Feb 07, 2009 7:21 pm

These are to be entered into your database. Your host probably provides phpmyadmin to manage your databases, accessible through your hosting control panel. See Knowledge Base - Executing SQL Queries in phpMyAdmin for some instructions and images on how to do this.
User avatar
darcie
Moderator Team
Moderator Team
 
Posts: 186
Joined: Mon Mar 12, 2007 7:32 pm
Location: Almost the coast

Re: AntiBotQuestion Installation

Postby azetras » Sat Feb 07, 2009 7:36 pm

Thanks a lot Darcie but whenever I come to step 5 and click "go" it won't show the next page. It says "the page cannot be displayed" Is there anythign I can do ?
azetras
Registered User
 
Posts: 12
Joined: Sat Feb 07, 2009 6:29 pm

Re: AntiBotQuestion Installation

Postby darcie » Sun Feb 08, 2009 6:17 am

If you are having an error within phpmyadmin, you should contact your hosts and give them the details of what you are trying to do. This is part of what they give you to manage your site, and is not part of phpBB.
User avatar
darcie
Moderator Team
Moderator Team
 
Posts: 186
Joined: Mon Mar 12, 2007 7:32 pm
Location: Almost the coast

Re: AntiBotQuestion Installation

Postby azetras » Sun Feb 08, 2009 12:40 pm

Thank you again Darcie, I contacted my hosting service. They asked me to use a different browser. I tried with Firefox and now it gives me this:

Error

SQL query:

INSERT INTO phpbb_config( config_name, config_value, is_dynamic )
VALUES (
'enable_abquestion', '0', '0'
);

MySQL said: Documentation
#1062 - Duplicate entry 'enable_abquestion' for key 1


It seems like a PHPBB problem. Or should I contact the hostign service again? Thank you.
azetras
Registered User
 
Posts: 12
Joined: Sat Feb 07, 2009 6:29 pm

Re: AntiBotQuestion Installation

Postby a_o_c » Sun Feb 08, 2009 4:48 pm

that error means that it seems to already be in the database. click on the SQL tab and run this query:

Code: Select all
SELECT * FROM `phpbb_config` WHERE `config_name` = 'abquestion' OR `config_name` = 'abanswer' OR `config_name` = 'abanswer2' OR `config_name` = 'enable_abquestion';

if it returns 4 rows, you are good to go.
User avatar
a_o_c
Registered User
 
Posts: 26
Joined: Mon Feb 02, 2009 8:19 pm
Location: phpbb_

Re: AntiBotQuestion Installation

Postby azetras » Sun Feb 08, 2009 5:28 pm

Okie dokie, it does give me 4 lines. So I'm done with this SQL thing? Thanks a lot!

But there is a problem, I turn this antibotquestion on and when I try to register it doesn't ask me the question, there is no box/space/line/etc for me to enter the anwser either. But when I fill the rest of the forms and click register it tells me to answer the question and I can't register cause I can't answer the question. I'm pretty sure I edited the files in the correct way. Is this a common problem? Or did I actualyl do somethign wrong?
azetras
Registered User
 
Posts: 12
Joined: Sat Feb 07, 2009 6:29 pm

Re: AntiBotQuestion Installation

Postby a_o_c » Sun Feb 08, 2009 5:48 pm

did you purge your cache? go to your ACP, on the General tab about halfway down, you will see "purge cache". click the "run now" button next to it. ;)
User avatar
a_o_c
Registered User
 
Posts: 26
Joined: Mon Feb 02, 2009 8:19 pm
Location: phpbb_

Re: AntiBotQuestion Installation

Postby azetras » Sun Feb 08, 2009 6:02 pm

Oh man this computer thing is very complicated :) It's like rocket science to me. I purged the cache now but there is no change unfortunately. Any more ideas friend?
azetras
Registered User
 
Posts: 12
Joined: Sat Feb 07, 2009 6:29 pm

Re: AntiBotQuestion Installation

Postby a_o_c » Sun Feb 08, 2009 7:11 pm

lets have a link to your board...
User avatar
a_o_c
Registered User
 
Posts: 26
Joined: Mon Feb 02, 2009 8:19 pm
Location: phpbb_

Next

Return to phpBB 3.0.x MOD/Style Support

Who is online

Users browsing this forum: No registered users and 5 guests