Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use other table prefix than "modx_" #201

Open
hugopeek opened this issue Aug 22, 2016 · 1 comment
Open

Unable to use other table prefix than "modx_" #201

hugopeek opened this issue Aug 22, 2016 · 1 comment

Comments

@hugopeek
Copy link
Contributor

hugopeek commented Aug 22, 2016

I have a custom table in a database with the prefix "hs_" instead of "modx_". When trying to extract this, I get the following error:

Extracting Services into services (0 records)...
[2016-08-22 08:37:38] (ERROR @ /www/core/xpdo/om/xpdoobject.class.php : 240) Error 42S02 executing statement: 
Array
(
    [0] => 42S02
    [1] => 1146
    [2] => Table 'instance_c0379_modx.modx_services' doesn't exist
)

Can I tell Gitify somehow that the prefix is different for this table?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@Mark-H
Copy link
Member

Mark-H commented Aug 22, 2016

[aside]I wouldn't recommend using a package prefix like that...[/aside]

When Gitify calls $modx->addPackage it doesn't currently have a way to know if you used a different prefix. That'll probably need a new option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants