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, 53 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 - No topic images after upgrading 7.7 to 7.9 [ ]
 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
jeesee
Nuke Cadet
Nuke Cadet


Joined: Feb 19, 2004
Posts: 3


PostPosted: Fri Sep 30, 2005 10:09 am Reply with quoteBack to top

I just upgraded PHPNuke from 7.7 to 7.9 Patched version.
Now my Topic images are shown as red crosses in the main (news) page. When I right click on it, it only shows a filepath (the right one) but no image name.
When I want to edit a topic and choose an image, I can't choose one from the drop-down list, because it is empty. In the edit-screen of the topic the right image is shown.
I edited the path in config.php, but it was the right path. When I browse to the full path of the image (inclusive an imagename.gif) an image is shown..
I also added the IMG-tag to the config.php but that doesn't seem to happen..

Anyone else ideas?
Find all posts by jeeseeView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12403


PostPosted: Sat Oct 01, 2005 4:27 pm Reply with quoteBack to top

I cannot seem to duplicate this problem. Is the topic image path in your config.php correct?

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
jeesee
Nuke Cadet
Nuke Cadet


Joined: Feb 19, 2004
Posts: 3


PostPosted: Sun Oct 02, 2005 1:18 am Reply with quoteBack to top

Yes it is. It's the standard path to images/topics where the topic images are.
When opening the properties of the "red crosses" in the main-page, it show the path to images/topics , but no filename in it. I don't know if this can help you determine the problem...
I couldn't also choose a new topic image from the dropdown list.
Find all posts by jeeseeView user's profileSend private message
jeesee
Nuke Cadet
Nuke Cadet


Joined: Feb 19, 2004
Posts: 3


PostPosted: Sun Oct 02, 2005 10:27 pm Reply with quoteBack to top

Found the answer on nukeresources.com:

In the mainfile.php replace the GetTopics function:

Code:
function getTopics($s_sid) {
   global $topicname, $topicimage, $topictext, $prefix, $db;
   $sid = intval($s_sid);
   $query = $db->sql_query("SELECT topic FROM ".$prefix."_stories WHERE sid='$sid'");
   list($rtopic) = $db->sql_fetchrow($query);
   $result2 = $db->sql_query("SELECT topicid, topicname, topicimage, topictext FROM ".$prefix."_topics WHERE topicid='$rtopic'");
   list($topicid, $topicname, $topicimage, $topictext) = $db->sql_fetchrow($result2);
   $topicid = intval($topicid);
   $topicname = filter($topicname, "nohtml");
   $topicimage = filter($topicimage, "nohtml");
   $topictext = filter($topictext, "nohtml");
Find all posts by jeeseeView user's profileSend private message
xclouds
Nuke Cadet
Nuke Cadet


Joined: May 10, 2005
Posts: 6


PostPosted: Tue Nov 22, 2005 7:08 am Reply with quoteBack to top

thx for the reply, great fix.
Find all posts by xcloudsView user's profileSend private message
Assgier
Nuke Cadet
Nuke Cadet


Joined: Nov 04, 2003
Posts: 3


PostPosted: Tue Dec 27, 2005 10:57 pm Reply with quoteBack to top

I had the exact same problem, $topicimage didn't get set, that's the reason the "image" source would show only a path and not the filename Embarassed

Anyways, this fixed the problem for me too, thanks for the reply jeesee Smile
Find all posts by AssgierView user's profileSend private message
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.168 Seconds - 302 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::