| Author |
Message |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Mon May 19, 2003 10:15 am |
  |
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 |
|
    |
 |
ArtificialIntel

Joined: Jan 31, 2004
Posts: -88
|
Posted:
Tue May 20, 2003 8:03 am |
  |
nope. It wouldn't be listed in the drop down menu if it was supposed to be in that table
AI |
|
|
   |
 |
ArtificialIntel

Joined: Jan 31, 2004
Posts: -88
|
Posted:
Fri May 30, 2003 8:31 am |
  |
well everybody else does, so I don't see why
AI |
|
|
   |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Wed Jun 04, 2003 1:42 pm |
  |
Upload your theme? I'll check it out. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Mon Jun 09, 2003 7:57 am |
  |
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] |
|
     |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Wed Jun 11, 2003 6:33 am |
  |
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] |
|
     |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Wed Jun 11, 2003 9:32 am |
  |
I can't this is going to bug me. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
ctmattice
Nuke Soldier


Joined: Jun 11, 2003
Posts: 12
|
Posted:
Wed Jun 11, 2003 12:44 pm |
  |
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. |
|
|
    |
 |
Daniel-cmw
Site Admin


Joined: Mar 02, 2003
Posts: 1662
Location: The UK!
|
Posted:
Wed Jun 11, 2003 1:06 pm |
  |
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. |
|
|
   |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Wed Jun 11, 2003 1:15 pm |
  |
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] |
|
     |
 |
chatserv
General


Joined: Jan 12, 2003
Posts: 3128
Location: Puerto Rico
|
Posted:
Wed Jun 11, 2003 3:57 pm |
  |
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 |
|
    |
 |
chatserv
General


Joined: Jan 12, 2003
Posts: 3128
Location: Puerto Rico
|
Posted:
Wed Jun 11, 2003 4:51 pm |
  |
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 |
|
    |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Tue Jun 17, 2003 6:21 pm |
  |
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] |
|
     |
 |
mikem
Theme Guru


Joined: Jan 13, 2003
Posts: 1582
Location: Corn fields of Indiana
|
Posted:
Tue Jun 17, 2003 7:58 pm |
  |
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 |
|
   |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Thu Jun 19, 2003 4:53 am |
  |
How large is the combined file? |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
|
|