Problem with Integrating Liga Manager Online in CMSMS

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Cipolla

Problem with Integrating Liga Manager Online in CMSMS

Post by Cipolla »

The Tool "Liga Manager Online" http://www.liga-manager-online.de/dedi/ ... tml?lang=2 is a great tool to provide your favorite leagues on your homepage for example if you are creating a club homepage (Perhaps it is worth to put the tool in a module).

In the Help File of Liga Manager Online it is described how to integrate the tool into a homepage by using Include. This is the text of the help file translated in english.
You have to declare the following parameters in a php block as shown in the following example
$mini_liga="liga1.l98";
$mini_ueber=3;
$mini_unter=2;
$mini_template="all"; //Use Template "all.tpl.php"

Only the parameter $mini_liga is necessary. Then you have to call the Addon with the following
code: include("Path to Liga Manager Online"/addon/mini/lmo-minitab.php");

I tried to integrate an Addon of Liga Manager Online into my site by creating a user definied tag:

Code: Select all

$mini_liga="kirchenliga0506.l98";
include("/lmo/addon/mini/lmo-minitab.php");
If I call the page I receive the following errors:

Code: Select all

Warning: cms_tmp_minitabelle_userplugin_function(): Unable to access /lmo/addon/mini/lmo-minitab.php in /mnt/kw1/06/272/00000020/htdocs/Aue/lib/content.functions.php(441) : eval()'d code on line 2

Warning: cms_tmp_minitabelle_userplugin_function(/lmo/addon/mini/lmo-minitab.php): failed to open stream: No such file or directory in /mnt/kw1/06/272/00000020/htdocs/Aue/lib/content.functions.php(441) : eval()'d code on line 2

Warning: cms_tmp_minitabelle_userplugin_function(): Failed opening '/lmo/addon/mini/lmo-minitab.php' for inclusion (include_path='.:/opt/RZphp4/includes') in /mnt/kw1/06/272/00000020/htdocs/Aue/lib/content.functions.php(441) : eval()'d code on line 2
How is it possible to integrate the Addon in my site ? Currently I put the User definied tag in the content area. Tell me if you need more specific details and I will try to deliver them. Thanks in Advance for your help.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Problem with Integrating Liga Manager Online in CMSMS

Post by Ted »

Is /lmo the full path?  Or is it more like: /mnt/kw1/06/272/00000020/htdocs/lmo/addon/mini/lmo-minitab.php
Cipolla

Re: Problem with Integrating Liga Manager Online in CMSMS

Post by Cipolla »

Hi wishy,

by description it could be the full or relative path to lmo. I will give it a try with the full path. Thanks again wishy for the correct hint. You and CMSMS are awesome.
Last edited by Cipolla on Thu Oct 20, 2005 6:56 pm, edited 1 time in total.
Cipolla

Re: Problem with Integrating Liga Manager Online in CMSMS

Post by Cipolla »

Once again I need your help. By integrating another Addon with Include I got nocache error messages. They change if you are refreshing the page. http://www.wfcauenkirche.de/index.php?page=Testseite

The Addon is set up as a small user definied tag.

Code: Select all

$file="kirchenliga0506.l98";
include("/mnt/kw1/06/272/00000020/htdocs/Aue/lmo/addon/mini/lmo-mininext.php");
The Addon is working correctly in a page outside the cms, so i think it is a problem with the integration in cmsms. http://www.wfcauenkirche.de/test.php

I read the topics in the forum about nocache errors, but unfortunately I am not able to transfer the  hints given there on my problem.
Locked

Return to “CMSMS Core”