Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 05-25-2004, 05:38 PM   #1 (permalink)
infinite_root
Registered User
 
infinite_root's Avatar
 
Join Date: Apr 2004
Posts: 26
infinite_root is on a distinguished road
Couln't find any template, giving up

Hi Gurus out there,

Hope you can help me with my project.

I am trying to integrate phpnuke and phpopenchat. However some error appeared whenever I try to open the block I created under phpnuke.

As follows:

Array ( [0] => /home/httpd/htdocs/private/docs/phpopenchat/modules/phpopenchat/include/templates/$deftheme [1] => /home/httpd/htdocs/private/docs/phpopenchat/include/templates/$deftheme ) Couln't find any template, giving up.

On the internet address bar it looks something like this:

http://home.domain.com/phpopenchat/i...wings&channel=

Here's some of the related code:

$poc_doc_root = '/phpopenchat';
$poc_root_path = '../../phpopenchat';

...
$siteurl = 'http://home.domain.com';
$nukeordner = '/';
...
<form action='".$siteurl.$poc_doc_root."/index.php' method='get'>
...
<form action='".$siteurl.$nukeordner."/modules.php' method='get'>
....

Do you see any problem with the following entries I made which resulted the problem?

Hope you can help me. Even the script writter doesn't provide any support for this matter.

Here's my directory structure:
/webroot/docs/phpopenchat/
/webroot/docs/phpnuke/htm/

YOu help will be greatly valued.

Thanks and more power.

Last edited by infinite_root; 05-25-2004 at 05:59 PM.
infinite_root is offline   Reply With Quote
Old 05-25-2004, 05:57 PM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,475
sde is on a distinguished road
$poc_doc_root = '/home/httpd/htdocs/private/docs/phpopenchat/modules/phpopenchat/';

try that
__________________
Mike
sde is offline   Reply With Quote
Old 05-25-2004, 05:58 PM   #3 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,475
sde is on a distinguished road
$poc_root_path = '/home/httpd/htdocs/private/docs/phpopenchat/';

and this too
__________________
Mike
sde is offline   Reply With Quote
Old 05-25-2004, 06:14 PM   #4 (permalink)
infinite_root
Registered User
 
infinite_root's Avatar
 
Join Date: Apr 2004
Posts: 26
infinite_root is on a distinguished road
Hi sde,

Thank u for ur immediate reply : )

I made the following changes:

$poc_doc_root = '/phpopenchat/include/templates/';
$poc_root_path = '/home/httpd/htdocs/private/docs/phpopenchat';


But has the following error:
Error! The requested page do not exist

Also,
$poc_doc_root Cannot be as suggested:

The browser address looks:
URL://home.alsterph.com/home/httpd/htdocs/private/docs/phpopenchat-3.0.0b8/include/templates/index.php?use_db_instance=wings&channel=

And an error:
Error! The requested page do not exist
infinite_root is offline   Reply With Quote
Old 05-25-2004, 08:05 PM   #5 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,475
sde is on a distinguished road
look at my original post a litle more closely please.

$poc_doc_root = '/home/httpd/htdocs/private/docs/phpopenchat/modules/phpopenchat/';

this should be the path from the ROOT of your server, to the phpopenchat doc directory.

since both of those variables have the word root in them, i think they want you to define the path from the root direcory of your computer.

your url will NOT contain the root directory of your computer.

you would access this url like you were before .. something like http ://home.domain.com/phpopenchat/index.php

i have never used poc, and i don't intend too .. i'm just giving you this information based on what i think from your first post.
__________________
Mike
sde is offline   Reply With Quote
Old 05-25-2004, 08:07 PM   #6 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,475
sde is on a distinguished road
also, don't take my post so literally .. i don't know the full path from the root of your computer. you are going to have to help yourself on that one. i only assumed the path was /home/httpd/htdocs/private/docs/phpopenchat because of your initial error post.
__________________
Mike
sde is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy Template System randy PHP 0 05-27-2003 08:33 AM


All times are GMT -8. The time now is 07:02 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting