Author |
Message |
Divvy
Hangin' Around

Joined: Mar 06, 2006
Posts: 31
|
Posted:
Wed Feb 28, 2007 6:16 am |
|
Hi guys!
Can someone help me installing this script in the php-nuke 8?
I have this script installed in 2 php-nuke sites and working fine... but is version 7.9
In the php-nuke 7.9, I have put this line in the header.php after the ?php include "ttt-in.php"; ?> :
Code:?php include "ttt-in.php"; ?>
|
But if I put this line in php-nuke 8, the module that is showing in my homepage disappears...
I have tryed to put this line in footer.php before the foot(); :
Code:require( "ttt-in.php" );
|
But the right column disappears... but only if I load the site in my favorits.
If I click in the "Home" link, it appears. Strange huh?
Any ideias? Please help me...
P.S. Sorry for my poor english... I hope that someone understanding what I am saying  |
|
|
|
 |
kguske
Site Admin

Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Wed Feb 28, 2007 6:59 am |
|
Make sure the file ttt-in.php exists in your root directory, and use include instead of require. Require gives a hard error, though both give messages in the error log.
Also, usually when you have problems like the homepage disappearing or right blocks disappearing, this is caused by a parsing error due to a change made to the file. This can also be discovered in the error log available from your control panel. |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
 |
Divvy

|
Posted:
Wed Feb 28, 2007 10:44 am |
|
Hi kguske,
Thank you for your quick reply!
The ttt-in.php is in the root directory.
What I need to do then?
Replace this:
Code:require( "ttt-in.php" );
|
To:
Code:include( "ttt-in.php" );
|
???
And where I can see the error logs? Only in the cpanel right?
If yes, insĀ“t nothing there...
Any ideia to resolve this? Please help me...
This is the ttt-in.php content:
http://pwp.netcabo.pt/divertidos/ttt-in.php.txt |
|
|
|
 |
kguske

|
Posted:
Wed Feb 28, 2007 3:03 pm |
|
Can you post the footer.php file after you changed it? |
|
|
|
 |
Divvy

|
Posted:
Wed Feb 28, 2007 3:12 pm |
|
|
|
 |
kguske

|
Posted:
Wed Feb 28, 2007 8:21 pm |
|
The code looks fine. When you changed this, was that the only change (i.e. did you back out the changes to other files)? |
|
|
|
 |
Divvy

|
Posted:
Wed Feb 28, 2007 8:58 pm |
|
Yes, It is the only change...
Maybe is an php-nuke 8 conflict because it works fine in php-nuke 7.9...
Any suggestions?
The only problem here, is the right column disappears when we enter in the site.
But if we click in the "Home" link, the right column appears fine. |
|
|
|
 |
Divvy

|
Posted:
Sat Mar 03, 2007 4:45 pm |
|
Please, anyone?  |
|
|
|
 |
kguske

|
Posted:
Sat Mar 03, 2007 5:16 pm |
|
The only thing I can think is that there is a function conflict or something in the included file.
Code:ignore_user_abort(true);
require("ttt-mysqlvalues.inc.php");
require("ttt-mysqlfunc.inc.php");
|
Are these required files in the root directory? Where is the ignore_user_abort function defined?
There are other functions that appear to not be defined. It may not cause a crash in other versions, but I'm not sure how it would work. |
|
|
|
 |
Divvy

|
Posted:
Sat Mar 03, 2007 5:56 pm |
|
Sorry, I dont understood your question... my english is not very good hehe
Can you explain in another words?
Have you find a fix for me?  |
|
|
|
 |
Divvy

|
Posted:
Mon Mar 05, 2007 9:09 am |
|
Please?  |
|
|
|
 |
|