• Resolved Jonas_

    (@jonas_)


    Hi..

    I’m building a plugin and i’m receive this error when i try submit a form..

    the action attribute of the form is set to a php file in the same folder as the page where it is displayed on.. it has the same file rights also!
    I even tried setting them to 777 but still didn’t work..

    So what is the problem?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Jonas_

    (@jonas_)

    PLEASE… it’s really frustrating! I tried everything!!!

    It has something todo with the action attribute i guess???

    Thread Starter Jonas_

    (@jonas_)

    It’s happens now when i even create a new file and upload it …
    Whats going on? I didn’t edit the database or anything like that???

    Thread Starter Jonas_

    (@jonas_)

    Ok.. i found the problem

    You need have a submenu page if you want to redirect it to the file… OMFG LOL

    What is the plugin and page trying to do?

    A plugin form?

    What WordPress permissions did you give your plugin page (‘edit_theme_options’), this is different to folder permissions for the plugin page?

    For a plugin that adds WordPress option records.

    Theme Options:
    add_menu_page(__("My page" , $namespace ), __("My Page", $namespace ), 'edit_theme_options','me','my_callback_function');

    Works with:
    <form method="post" action="options.php">

    EDIT: To late you found it already lol

    HTH

    David

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘You do not have sufficient permissions to access this page.’ is closed to new replies.