WordPress.org

Ready to get started?Download WordPress

Forums

Custom Tables
Custom Tables and MU (6 posts)

  1. LarsWennlid
    Member
    Posted 2 years ago #

    Hi Stefan,
    Could you do a modification so that your plugin works with Multisite.

    As it is now (at least for me) it crash. I don't know if it is because you enable the plugin in "Network admin" and the move to "another" URL for using it. Even when just using the "free" first part and try to create it can't do that, you get a message:

    Forbidden
    You don't have permission to access /osvs/wp-admin/admin.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    If you try that 3 times your site will go dead and need to contact your host to unlock because they see it as a treat. When I asked the to explain they say this: The mod_security found text 'varchar' under that plugins script and it detecting it as 'SQL Injection'.

    And more info from my hosting company:
    [Wed Feb 22 16:27:23 2012] [error] [client 195.216.45.85] ModSecurity: Access denied with code 403 (phase 2). Matched phrase "varchar" at ARGS:vipInfoB[]. [file "/usr/local/apache/conf/modsec_rules/10_asl_rules.conf"] [line "256"] [id "340155"] [rev "19"] [msg "Atomicorp.com UNSUPPORTED DELAYED Rules: Generic SQL Injection protection"] [data "varchar"] [severity "CRITICAL"] [hostname "xxmydomain.com"] [uri "/subdirectory/oneofthemublog/wp-admin/admin.php"] [unique_id "T0Vry2FP7hQACch-sXMAAABC"]
    [Wed Feb 22 16:27:23 2012] [error] [client 195.216.45.85] File does not exist: /home/teamwexx/public_html/403.shtml, referer: http://xxmydomain.com/subdirectory/oneofthemublog/wp-admin/admin.php?page=wct_table_create

    Your plugin seems to have everything that I need (premium choices) so I will be very hapy to buy the premium but it must work on MU-sites.

    Take care / Lars

    http://wordpress.org/extend/plugins/custom-tables/

  2. Stefan M.
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Lars

    My plugin is working on MU (there is only one problem with activating premium content if no license is avaialble), but MU works.

    Main problem here:

    Matched phrase "varchar" at ARGS:vipInfoB[]. [file "/usr/local/apache/conf/modsec_rules/10_asl_rules.conf"] [line "256"] [id "340155"] [rev "19"] [msg "Atomicorp.com UNSUPPORTED DELAYED Rules: Generic SQL Injection protection"] [data "varchar"] [severity "CRITICAL"] [hostname "xxmydomain.com"] [uri "/subdirectory

    As you can see here: modsec_rules/10_asl_rules.conf

    This is a Apache2 Module and a generic protection rule. This rule tries to find whenever a user try to manipulate a table.
    My plugin will CREATE, EDIT, CHANGE tables!

    So this protection rule, see my plugin change a table and blocks it.

    Thats not a problem of my plugin, more of your hoster. Ask your hoster to disable this specific rule for your site.

    Regards
    Stefan

  3. LarsWennlid
    Member
    Posted 2 years ago #

    Thanks Stefan for your quick reply.

    I have contacted my hosting company GVO and asked them to change the rule for that site. Your plugin have so many parts that I havnt found on other plugin and I have looked through and tested many so I hope they can change the settings otherwise I will see if I move.

    Mo problem is that I have nearly 50 domains with them and I try to have all at only one host.

    Take care / Lars

  4. LarsWennlid
    Member
    Posted 2 years ago #

    Hi Stefan,

    Still have some problem. It dosnt matter if I log in to MU site as network admin or normal admin I still am not allowed to create a table.
    This is the message I receive everytime:

    Forbidden
    You don't have permission to access /osvs/medlem/wp-admin/admin.php on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    What could be the problem?
    Take care / Lars

  5. Stefan M.
    Member
    Plugin Author

    Posted 2 years ago #

    Known problem, is solved in the next version which is in testing.

  6. LarsWennlid
    Member
    Posted 2 years ago #

    Sounds great Stefan,

    I am near a deadline for presenting. Is there a way that I can (or you) make the modification so that I can get my beta-site ready.

    It's really in a rush. I will also buy the Premium since those parts are vital for the site.

    Take care / Lars

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic