Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 8.0
Author Message
Divvy
Hangin' Around



Joined: Mar 06, 2006
Posts: 31

PostPosted: Wed Feb 28, 2007 6:16 am Reply with quote

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 Smile
 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Wed Feb 28, 2007 6:59 am Reply with quote

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!
 
View user's profile Send private message
Divvy







PostPosted: Wed Feb 28, 2007 10:44 am Reply with quote

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... Sad

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







PostPosted: Wed Feb 28, 2007 3:03 pm Reply with quote

Can you post the footer.php file after you changed it?
 
Divvy







PostPosted: Wed Feb 28, 2007 3:12 pm Reply with quote

Sure!
Here it is:
http://pwp.netcabo.pt/divertidos/footer.php.txt
 
kguske







PostPosted: Wed Feb 28, 2007 8:21 pm Reply with quote

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







PostPosted: Wed Feb 28, 2007 8:58 pm Reply with quote

Yes, It is the only change...
Maybe is an php-nuke 8 conflict Sad because it works fine in php-nuke 7.9...
Any suggestions? Smile

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







PostPosted: Sat Mar 03, 2007 4:45 pm Reply with quote

Please, anyone? Smile
 
kguske







PostPosted: Sat Mar 03, 2007 5:16 pm Reply with quote

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







PostPosted: Sat Mar 03, 2007 5:56 pm Reply with quote

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? Razz
 
Divvy







PostPosted: Mon Mar 05, 2007 9:09 am Reply with quote

Please? Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 8.0

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©