Plugin

Archived
Forum
(read-only)

Router

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Isaac Raway

     

[Resolved] It’s complaining about missing structure module’s tables, when i actually don’t have it

General (Resolved)

digimogul
digimogul

It’s complaining about missing structure module’s tables, when i actually don’t have it

It enters if($lite == false) from line 141.

Could another module that i don’t know about trigger the router to think it needs to consider structure ?

Thanks

MetaSushi
# 1
Developer
MetaSushi

Do you have the regular first-party Pages module installed?

MetaSushi
# 2
Developer
MetaSushi

Try wrapping everything from line 141 to the end of the function in this check:

if(count($page_ids) > 0)
{
    
if($lite == false)
    
{
    
...

Since custom URLs only work with Structure or Pages, this should disable the check. I’ll need to implement a more complete fix for the next build.

digimogul
# 3
digimogul

I’ve did a simple if (0)
And yes I have the Pages module installed.

MetaSushi
# 4
Developer
MetaSushi

Okay, so you have this resolved then for now then? Let me know, and please post a new thread if you have any other issues! :)

digimogul
# 5
digimogul

Yap ;) works fine after commenting that. Thanks

MetaSushi
# 6
Developer
MetaSushi

Great! I’ll go ahead and close this thread then. Please post again if you have any additional questions!