hi does anyone know anything about oxwall plugins as ive copied a plugin from there and changed the name along with all the files so it goes with the new plugin name and i have asserted a new key for it and when i finished it and went to install it i am getting the following error

OW Debug - Warning
Message:    Invalid error type specified
File:   /home/jktempla/public_html/fabcouples/ow_core/authorization.php
Line:   76
OW Debug - Notice
Message:    Cant add action `add_meet` to group `meet`! Duplicate entry!
File:   /home/jktempla/public_html/fabcouples/ow_core/authorization.php
Line:   106
OW Debug - Notice
Message:    Cant add action `view_meet` to group `meet`! Duplicate entry!
File:   /home/jktempla/public_html/fabcouples/ow_core/authorization.php
Line:   106
OW Debug - Notice
Message:    Cant add action `add_comment` to group `meet`! Duplicate entry!
File:   /home/jktempla/public_html/fabcouples/ow_core/authorization.php
Line:   106
OW Debug - Exception
Message:    There is no active plugin with key `meet`
File:   /home/jktempla/public_html/fabcouples/ow_core/plugin_manager.php
Line:   86
Trace:  

#0 /home/jktempla/public_html/fabcouples/ow_plugins/meet/install.php(90): OW_PluginManager->getPlugin('meet')
#1 /home/jktempla/public_html/fabcouples/ow_system_plugins/base/bol/plugin_service.php(558): include_once('/home/jktempla/...')
#2 /home/jktempla/public_html/fabcouples/ow_system_plugins/admin/controllers/plugins.php(715): BOL_PluginService->install('meets19611973')
#3 [internal function]: ADMIN_CTRL_Plugins->install(Array)
#4 /home/jktempla/public_html/fabcouples/ow_core/request_handler.php(266): call_user_func_array(Array, Array)
#5 /home/jktempla/public_html/fabcouples/ow_core/application.php(329): OW_RequestHandler->dispatch()
#6 /home/jktempla/public_html/fabcouples/index.php(73): OW_Application->handleRequest()
#7 {main}

Type:   InvalidArgumentException

What could be causing this if anyone knows it would be gratefully recieved

ive posted on oxwall forum and got no reply back

Ty jan x x x

Dani AI

Generated

Brief diagnosis and practical checklist (short, high‑value steps)

As observed, the installer is failing because the core plugin manager can't resolve the plugin under the expected key. This most often happens when the plugin folder name, the <key> value inside the plugin manifest, and any hard‑coded key strings in lifecycle scripts (install.php / activate.php) are out of sync. Oxwall expects the plugin directory name to match the plugin key declared in plugin.xml, and the manifest/developer key are used by the platform/store tools. (wiki.oxwall.com)

Immediate steps to fix

  • Verify the plugin key: open the plugin's plugin.xml and confirm the <key> entry. Make the plugin folder name in ow_plugins identical to that key. (Crash course: the folder name is the plugin key.) (wiki.oxwall.com)

  • Grep the plugin for leftover references to the old key and update them (install scripts, init.php, language prefixes, auth groups). Example (run from Oxwall root):

    grep -R --line-number "meet" ow_plugins/

    Update any hits that still use the old key.

Database / duplicate action entries

  • Uninstall the old plugin from Admin → Plugins (the platform normally removes authorization groups/actions on uninstall). If uninstall already happened or failed, use phpMyAdmin (database search) to find rows containing the old group/action names (search the whole DB for strings like the old key or action names) and remove orphaned entries after a full DB backup. The docs note authorization entries are managed by the plugin lifecycle, so manual cleanup is only for failed/unclean uninstall cases. (oxwall-docs-en.readthedocs.io)

Final checks before reinstall

  • Clear Oxwall caches / compiled templates (ow_smarty / cache folders) or restart the web server.
  • Confirm install.php does not call getPlugin() with the old key; either remove that call or update it to the plugin's actual key.
  • Ensure the chosen plugin key is unique (and set developerKey correctly if publishing to the Oxwall Store). (wiki.oxwall.com)

Backups first. If the problem persists after these steps, inspect the first ~100 lines of install.php for any remaining hard‑coded key lookups or authorization registrations left pointing at the old key.

Recommended Answers

All 4 Replies

Hi, it does not work because of the exception at line 17 of your log:

OW Debug - Exception
Message:    There is no active plugin with key `meet`
File:   /home/jktempla/public_html/fabcouples/ow_core/plugin_manager.php
Line: 86

If you go to this specific file, you find:

public function getPlugin( $key )
{
    if ( !array_key_exists(mb_strtolower(trim($key)), $this->activePlugins) )
    {
        throw new InvalidArgumentException("There is no active plugin with key `" . $key . "`");
    }

    return $this->activePlugins[mb_strtolower(trim($key))];
}

The array $this->activePlugins is generated by an instance of the BOL_PluginService class which in practice query Oxwall's server in search of the plugins (for update operations). So when you rename a plugin, you get the above exception. Have you tried to apply the code without any changes / renames?

yes ive done that and the plugin works as the orginal plugin before name change

But after name change got the errors

so what am i to do to make this work hun

so what am i to do to make this work hun

I'm afraid you cannot do much with it. Maybe by rewriting the urls through .htaccess. Not tested.

The problem is given by the plugin key which needs to be unique and registered to the Oxwall store. Otherwise you have to rewrite some of their core methods to skip the check, but I'm not sure this is allowed by their policy.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.