it seams that the $myTemplate->get_template provides the wrong path, I couldn't find where this additional "modules/phpopenchat-3.0.0b6" is coming from (without it the path would be correct)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-01-05
i saw your message and you seemed to have fixed the access part.
i do know how ever how to fix the templates part.
in the config.inc.php you see the next part (bit different) when you scroll down.
just rename the phpopenchat etc.. to what your folder is where it is located.
/*
* Template related settings
*/
define('TEMPLATE_EXTENSION','tpl');
define('DEFAULT_THEME','openchat');
define('BASETEMPLATE_PATH','include/templates');
define('ALLOW_TEMPLATE_CHANGES',true);
// the following configuration are nessesary only if POC is used as PostNuke module
// Integration into postnuke
define('PN_MODULE_NAME','phpopenchat-3.0.0b6');//directory name of POC in /path/to/postnuke/modules
define('OPERATOR_LABEL','@');//this character labels operators in the chatter list.
now i got a question for you.
how did you got write access?
i got it on 666 like it says.
but when i try it keeps saying tmp folder doesn't allow writing. and it says that it can't write/create a POC_..etc file.
i have trying this to solve for days.
it's only part that i can't get to work.
any idea's..
p.s.
i am using the 3.0.0.b6 one.
and a free host (tripod.lycos.nl)
sumthing
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the only change I see you have made is to remove the forward sladh "/" in front of the include:
define('BASETEMPLATE_PATH','include/templates');
this doesn't make a difference to me.
You said that you changed the phpopenchat name with your chat path and name .... I do not see that. is it in the line
define('DEFAULT_THEME','openchat'); ?
What I besically found (for both errors) is that the script "believes" to be a postnuke module ... and this is the reason why it is inserting the additional path: "modules/phpopenchat-3.0.0b6"
In the include directory there is a file class.Template.inc
I have edited that one and replaced the line below:
old line: // 'postnuke'=>'/modules/' .PN_MODULE_NAME
new line: 'postnuke'=>''
this makes the write access working (but it is faking it) and just proves that for some reason the script is executing a postnuke module ... but, basically it doesn't fix the real problem
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think I have instolled the script in the proper way and all other test pass ok.
However, I have red on the two above items.
the POC-Templates test reports the following message:
"tried to open templates in '/chat/modules/phpopenchat-3.0.0b6/include/templates/openchat'"
of course such a path doesn't exist (there is no "modules/phpopenchat-3.0.0b6" directory coming with the script)
can anyone help please?
btw, the errors from test.php can be seen at the following link:
http://www.virtualitalia.com/chat/test.php
it seams that the $myTemplate->get_template provides the wrong path, I couldn't find where this additional "modules/phpopenchat-3.0.0b6" is coming from (without it the path would be correct)
i saw your message and you seemed to have fixed the access part.
i do know how ever how to fix the templates part.
in the config.inc.php you see the next part (bit different) when you scroll down.
just rename the phpopenchat etc.. to what your folder is where it is located.
/*
* Template related settings
*/
define('TEMPLATE_EXTENSION','tpl');
define('DEFAULT_THEME','openchat');
define('BASETEMPLATE_PATH','include/templates');
define('ALLOW_TEMPLATE_CHANGES',true);
// the following configuration are nessesary only if POC is used as PostNuke module
// Integration into postnuke
define('PN_MODULE_NAME','phpopenchat-3.0.0b6');//directory name of POC in /path/to/postnuke/modules
define('OPERATOR_LABEL','@');//this character labels operators in the chatter list.
now i got a question for you.
how did you got write access?
i got it on 666 like it says.
but when i try it keeps saying tmp folder doesn't allow writing. and it says that it can't write/create a POC_..etc file.
i have trying this to solve for days.
it's only part that i can't get to work.
any idea's..
p.s.
i am using the 3.0.0.b6 one.
and a free host (tripod.lycos.nl)
sumthing
the only change I see you have made is to remove the forward sladh "/" in front of the include:
define('BASETEMPLATE_PATH','include/templates');
this doesn't make a difference to me.
You said that you changed the phpopenchat name with your chat path and name .... I do not see that. is it in the line
define('DEFAULT_THEME','openchat'); ?
What I besically found (for both errors) is that the script "believes" to be a postnuke module ... and this is the reason why it is inserting the additional path: "modules/phpopenchat-3.0.0b6"
In the include directory there is a file class.Template.inc
I have edited that one and replaced the line below:
old line: // 'postnuke'=>'/modules/' .PN_MODULE_NAME
new line: 'postnuke'=>''
this makes the write access working (but it is faking it) and just proves that for some reason the script is executing a postnuke module ... but, basically it doesn't fix the real problem
can someone help please.
the test.php fails at POC-Templates, the initial portion of the host path is missing (/usr/home/pazz/www/htdocs is missing).
I fixed the Write Access test but, with a trick, as I have explayned in a post above.
In other words it seams that this script is trying to behave as a Postnuke plug-in (and I am not using Postnuke)