You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 67 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - News [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Mon May 19, 2003 10:15 am Reply with quoteBack to top

Steve,

Are you using a hacked News module? If so, try restoring the default one and see if you still have the problem.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Tue May 20, 2003 8:03 am Reply with quoteBack to top

nope. It wouldn't be listed in the drop down menu if it was supposed to be in that table

AI
Find all posts by ArtificialIntelView user's profileSend private message
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Fri May 30, 2003 8:31 am Reply with quoteBack to top

well everybody else does, so I don't see why

AI
Find all posts by ArtificialIntelView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Wed Jun 04, 2003 1:42 pm Reply with quoteBack to top

Upload your theme? I'll check it out.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Mon Jun 09, 2003 7:57 am Reply with quoteBack to top

Steve I've been taking a look at your server, et al, and I can't recall it soundly right now. I had the same issue a *long* time ago and think it might be related to user_prefix and prefix. Hence, I'm moving this into the hard questions forum for visibility.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Wed Jun 11, 2003 6:33 am Reply with quoteBack to top

This one is quite really perplexing. mainfile.php, news/index.php, news/article.php, config.php all look good. I'm confounded. I had this problem once before and can't seem to pinpoint the resolution.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Wed Jun 11, 2003 9:32 am Reply with quoteBack to top

I can't this is going to bug me.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
ctmattice
Nuke Soldier
Nuke Soldier


Joined: Jun 11, 2003
Posts: 12


PostPosted: Wed Jun 11, 2003 12:44 pm Reply with quoteBack to top

Idea I have seen this problem crop up from time to time. What I have been able to determine is that it has something to do with topics. When I haven't set a topic or if there's a mixup in the topics is when it occurs to me. Can't say this is your problem but you might want to look into it.
Find all posts by ctmatticeView user's profileSend private messageVisit poster's website
Daniel-cmw
Site Admin
Site Admin


Joined: Mar 02, 2003
Posts: 1662

Location: The UK!

PostPosted: Wed Jun 11, 2003 1:06 pm Reply with quoteBack to top

Originally the Read More link on your site was
Code:
http://www.sharlein.net/Nuke/html/modules.php?name=News&file=article&sid=PHPSESSION=LOTS OF NUMBERS HERE


Once i clicked read more and the page refreshed it read
Code:
http://www.sharlein.net/Nuke/html/modules.php?name=News&file=article&sid=


The link on the main page to the topic icon is
Code:
http://www.sharlein.net/Nuke/html/images/topics/

No link to an actual image..

I know this isnt a solution, just pointing a couple of things out.
Find all posts by Daniel-cmwView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Wed Jun 11, 2003 1:15 pm Reply with quoteBack to top

That is the problem we're trying to solve. I've checked the code a couple times and there is no discrepancy. I've got nuke block.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Wed Jun 11, 2003 3:57 pm Reply with quoteBack to top

One thing i find odd about the test article:

Related Links

· More about
· News by sharlein

--------------------------------------------------------------------------------

Most read story about :
another test

Notice how the Topic name is not stated in the related links block, as if the article had not been posted under any topic, the article is listed as being part of Topic 2 but going to the Topics module shows only one active topic, the default one that comes with Nuke, so one would have to ask, have other topics been created? was this article posted under any created topic?

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Wed Jun 11, 2003 4:51 pm Reply with quoteBack to top

The article page looks ok, the front page doesn't, try this:

save a copy of your theme.php then open one of the copies and change the themeindex function to:

Code:
function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
    global $anonymous, $tipath;
    if ($notes != "") {
        $notes = "<br><br><b>"._NOTE."</b> $notes\n";
    } else {
        $notes = "";
    }
    if ("$aid" == "$informant") {
        $content = "$thetext$notes\n";
    } else {
        if($informant != "") {
            $content = "<a href=\"userinfo-.html$informant\">$informant</a> ";
        } else {
            $content = "$anonymous ";
        }
        $content .= ""._WRITES." \"$thetext\"$notes\n";
    }
    //Code Changed - just show posted by
   $posted = ""._POSTEDBY." ";
    $posted .= get_author($aid);
    $posted .= " "._ON." $time $timezone ";
    //End Code Change

    $tmpl_file = "themes/Purity/story_home.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}


Post back if it changes anything, one other thing is i notice you have edited the Posted by routine to minimize what is displayed, if what i posted above doesn't work, then we've have to take a look at mainfile.php, by the way, have you tried using any Nuke default themes? does the same thing happen with them?

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Tue Jun 17, 2003 6:21 pm Reply with quoteBack to top

Its odd because I switched it to SunSet and the problem was still there. That's why I'm freaked out a bit. It doesn't seem to be a theme per se, it looks like something else. But I compared the news index and article php files without issue. Can you tar up that file structure for nuke and upload it? I don't need images, just the php files. I'll place it on the server for direct shell access.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
mikem
Theme Guru
Theme Guru


Joined: Jan 13, 2003
Posts: 1582

Location: Corn fields of Indiana

PostPosted: Tue Jun 17, 2003 7:58 pm Reply with quoteBack to top

Guys. Raven and I had an issue almost identical to this. He did a temporary fix and said he has seen this before, but can't recall the solution.
This guy was getting SQL errors when he tried to edit the "problem" news articles in Nuke's Admin.

They said this
Quote:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/webmaste/public_html/includes/sql_layer.php on line 286
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/webmaste/public_html/includes/sql_layer.php on line 286
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

The problem was or appeared to be the $sid was/is getting stomped on by something else. Everything affected is the link to the comments and readmore and admin edit and Past News Articles links for the News.
I think it has to do with something else that was installed. Some other mod, hack or what-not. Tracking it down is the hardest part...

mikem

_________________
Getting Started | My Projects
Find all posts by mikemView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Thu Jun 19, 2003 4:53 am Reply with quoteBack to top

How large is the combined file?

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.248 Seconds - 200 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::