Contact Admin

Contact Admin in 3.1.11? - Contact Admin

Contact Admin in 3.1.11?

by Chaddd » Thu Sep 14, 2017 8:28 pm

OK, I'm a complete newbie to phpBB admin.

I've got 3.1.11 running and it seems to work OK.

But this extension will install, but all attempts to configure it give me PHP/SQL errors.

I looked some more and it seems this was only validated to 3.1.10. Is there any hope at 3.1.11?

I just want a contact page that non-registered people can use, but has spam protection.

ETA: here is a sample message:

Code: Select all

SQL ERROR [ mysqli ]

Duplicate entry 'contact_admin_info_uid' for key 'PRIMARY' [1062]

SQL

INSERT INTO phpbb_config_text (config_name, config_value) VALUES ('contact_admin_info_uid', '')

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/phpbb/config/db_text.php
LINE: 111
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/ext/rmcgirr83/contactadmin/controller/admin_controller.php
LINE: 158
CALL: phpbb\config\db_text->set_array()

FILE: [ROOT]/ext/rmcgirr83/contactadmin/acp/contactadmin_module.php
LINE: 36
CALL: rmcgirr83\contactadmin\controller\admin_controller->display_options()

FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: rmcgirr83\contactadmin\acp\contactadmin_module->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
Chaddd
Registered User
Posts: 2
Joined: Thu Sep 14, 2017 8:14 pm
Contact:

Re: Contact Admin in 3.1.11?

by Chaddd » Thu Sep 14, 2017 9:45 pm

I downloaded from github, still no joy.

This took care of it: :)

Code: Select all

mysql> delete from phpbb_config_text;
Chaddd wrote:OK, I'm a complete newbie to phpBB admin.

I've got 3.1.11 running and it seems to work OK.

But this extension will install, but all attempts to configure it give me PHP/SQL errors.

I looked some more and it seems this was only validated to 3.1.10. Is there any hope at 3.1.11?

I just want a contact page that non-registered people can use, but has spam protection.

ETA: here is a sample message:

Code: Select all

SQL ERROR [ mysqli ]

Duplicate entry 'contact_admin_info_uid' for key 'PRIMARY' [1062]

SQL

INSERT INTO phpbb_config_text (config_name, config_value) VALUES ('contact_admin_info_uid', '')

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/phpbb/config/db_text.php
LINE: 111
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/ext/rmcgirr83/contactadmin/controller/admin_controller.php
LINE: 158
CALL: phpbb\config\db_text->set_array()

FILE: [ROOT]/ext/rmcgirr83/contactadmin/acp/contactadmin_module.php
LINE: 36
CALL: rmcgirr83\contactadmin\controller\admin_controller->display_options()

FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: rmcgirr83\contactadmin\acp\contactadmin_module->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
Chaddd
Registered User
Posts: 2
Joined: Thu Sep 14, 2017 8:14 pm
Contact:

Re: Contact Admin in 3.1.11?

by DrewCraven » Thu Sep 21, 2017 12:55 am

Hello,

Does anyone have this extension working in 3.1.11? I'm not getting any php errors, but when I set it up to post the message to a specific forum that only Admins can see, it keeps telling me that I have been flagged as a spammer.

Thanks,

Drew

Edit: Upon further testing, it seems that this extension works for Guests, but not for logged-in members.
DrewCraven
Registered User
Posts: 29
Joined: Fri Jan 07, 2011 2:41 pm
Contact:

Re: Contact Admin in 3.1.11?

by RMcGirr83 » Thu Sep 21, 2017 9:41 am

Please start your own topic.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact: