- Posts: 6
COMMUNITY FORUM
Module k2_content have bug with AMP plugin
- Rjck Ho
-
Topic Author
- Offline
- New Member
Less
More
8 years 8 months ago #157152
by Rjck Ho
Module k2_content have bug with AMP plugin was created by Rjck Ho
I am loading those modules from my article. But have bug when i view AMP link.
That should not be an issue, and many people do that for modules, but the K2 content module is not behaving properly in that case. I contacted Weeblr about wbAMP. But they suggest me start talking with the K2 folks now, this is not an issue in wbAMP.
This is screenshot
imgur.com/a/4tAz5
imgur.com/a/afdKk
Thanks very much!
That should not be an issue, and many people do that for modules, but the K2 content module is not behaving properly in that case. I contacted Weeblr about wbAMP. But they suggest me start talking with the K2 folks now, this is not an issue in wbAMP.
This is screenshot
imgur.com/a/4tAz5
imgur.com/a/afdKk
Thanks very much!
Please Log in or Create an account to join the conversation.
- Rjck Ho
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 6
8 years 8 months ago #157162
by Rjck Ho
Replied by Rjck Ho on topic Module k2_content have bug with AMP plugin
Anybody help me?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 8 months ago #157171
by Krikor Boghossian
Replied by Krikor Boghossian on topic Module k2_content have bug with AMP plugin
The error says that the core template file of K2 Content is missing.
If the files are there (modules/mod_k2_content/tmpl/default/default.php) then you need to ensure that your file/ folder permissions are correct.
In a Joomla! site they should be 755 for folders and 644 for sites.
If the files are there (modules/mod_k2_content/tmpl/default/default.php) then you need to ensure that your file/ folder permissions are correct.
In a Joomla! site they should be 755 for folders and 644 for sites.
Please Log in or Create an account to join the conversation.
- Rjck Ho
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 6
8 years 8 months ago - 8 years 8 months ago #157211
by Rjck Ho
Replied by Rjck Ho on topic Module k2_content have bug with AMP plugin
Hi,
I checked permissions and tested this problem on many site, but this bug was the same.
I have spoken with Weeblr team (about wbAMP plugin), If you have trouble fixing the problem, you can contact them for assistance.
This is my screenshot.
imgur.com/a/ucRd0
imgur.com/a/gxi2f
Thanks & Best Regards!
I checked permissions and tested this problem on many site, but this bug was the same.
I have spoken with Weeblr team (about wbAMP plugin), If you have trouble fixing the problem, you can contact them for assistance.
This is my screenshot.
imgur.com/a/ucRd0
imgur.com/a/gxi2f
Thanks & Best Regards!
Last edit: 8 years 8 months ago by Rjck Ho.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 8 months ago #157215
by Krikor Boghossian
Replied by Krikor Boghossian on topic Module k2_content have bug with AMP plugin
Is the module working propely in your site without AMP?
Please Log in or Create an account to join the conversation.
- Rjck Ho
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 6
8 years 8 months ago #157217
by Rjck Ho
Replied by Rjck Ho on topic Module k2_content have bug with AMP plugin
Yes, the module work properly in my site without AMP.
Please Log in or Create an account to join the conversation.
- weeblr
-
- Offline
- New Member
Less
More
- Posts: 1
8 years 8 months ago #157234
by weeblr
Replied by weeblr on topic Module k2_content have bug with AMP plugin
Hi Krikor
Yannick from Weeblr here.
I have look again at the error messages, and I have noticed that the module is not looking for the file in the correct folder.
The module is trying to load /mod_k2_content/tmpl/default.php
Looking at you code, this is wrong, it should try to load:
/mod_k2_content/tmpl/Defaultdefault.php
And the notices errors before the fatal error shows that some parameters don't exist, are not found ($menuLink does not exist for instance). As you don't protect against such possibility in your code, then there is a problem.
Hope it helps
Rgds
Yannick from Weeblr here.
That would not mean the module doesn't have a problem.Is the module working propely in your site without AMP?
I have look again at the error messages, and I have noticed that the module is not looking for the file in the correct folder.
The module is trying to load /mod_k2_content/tmpl/default.php
Looking at you code, this is wrong, it should try to load:
/mod_k2_content/tmpl/Defaultdefault.php
And the notices errors before the fatal error shows that some parameters don't exist, are not found ($menuLink does not exist for instance). As you don't protect against such possibility in your code, then there is a problem.
Hope it helps
Rgds
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 8 months ago #157242
by Krikor Boghossian
Replied by Krikor Boghossian on topic Module k2_content have bug with AMP plugin
Thank you Yannick for letting us know and your feedback.
We will look into this.
We will look into this.
Please Log in or Create an account to join the conversation.
- Rjck Ho
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 6
8 years 8 months ago #157288
by Rjck Ho
Replied by Rjck Ho on topic Module k2_content have bug with AMP plugin
Hi Krikor,
are your team fixing the bug right?
when the bug is fixed, you don't forget to notify me know.
Thanks for helping!
are your team fixing the bug right?
when the bug is fixed, you don't forget to notify me know.
Thanks for helping!
Please Log in or Create an account to join the conversation.