jimie VIP
Total posts: 531
18 Oct 2015 07:45

Hello Sergey,

I have a problem with records module, every time I want to load the module on non-cobalt pages, I receive this error:

"Section not found"

The module is correctly set, and as mentioned if I load it on cobalt related pages, it works just fine.

Rgds

Last Modified: 23 Oct 2015


jimie VIP
Total posts: 531
18 Oct 2015 08:09

Looking on debug results I see this:

SELECT *

  FROM sr5sc_js_res_sections

  WHERE `id` = '25'

which is wrong, because my section has id = 1 while that 25 is the ID of the article where I want to load the module


Sergey
Total posts: 13,748
20 Oct 2015 15:02

This is srange. I cannot see in the code the reason of this behavior. Please give me access and URL of that page where you see the error.


jimie VIP
Total posts: 531
20 Oct 2015 17:20

Unfortunately I can't provide acceess because this is offline, tried to digg more, and indeed doing a var_dump to

$params->get('section_id')

It always return NULL value

But if I var_dump it on cobalt pages, it returns correct value :(


Sergey
Total posts: 13,748
21 Oct 2015 18:37

Are you sure you set Section id in module parameters? I have just tested it localy and everything works smoothly.


jimie VIP
Total posts: 531
21 Oct 2015 20:07

Yes it is, and I also checked database in modules db table and is there also, this is very strange.


Sergey
Total posts: 13,748
22 Oct 2015 04:52

Then, unfortunately I am of no help with offline problem like this. Since I cannot reproduce it, I can only findout problem when I can look at it.


jimie VIP
Total posts: 531
23 Oct 2015 07:34

I've sent you site credentials on Skype pm

Rgds


jimie VIP
Total posts: 531
23 Oct 2015 09:27

Sorted, please ignore, seams the problem was caused by Emerald, some plugins were unpublished

Powered by Cobalt