PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Divvy
Hangin' Around


Joined: Mar 06, 2006
Posts: 31

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

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: 4686

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

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


Joined: Mar 06, 2006
Posts: 31

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

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:
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4686

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

Can you post the footer.php file after you changed it?
View user's profile Send private message
Divvy
Hangin' Around


Joined: Mar 06, 2006
Posts: 31

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

Sure!
Here it is:
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4686

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

The code looks fine. When you changed this, was that the only change (i.e. did you back out the changes to other files)?
View user's profile Send private message
Divvy
Hangin' Around


Joined: Mar 06, 2006
Posts: 31

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

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


Joined: Mar 06, 2006
Posts: 31

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

Please, anyone? Smile
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4686

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

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


Joined: Mar 06, 2006
Posts: 31

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

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


Joined: Mar 06, 2006
Posts: 31

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

Please? Smile
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum