Re: [phpslash-users] .6 Issue... Deleting Topics
Brought to you by:
joestewart,
nhruby
From: Mike G. <mi...@op...> - 2000-11-16 21:30:09
|
Hi Joe, Joe Stewart wrote: > So everybody knows, you can't delete a topic that still has stories > assigned to it. No errors, just the output reported. I checked both the stories directory & the submissions directory & made sure that there were no files listed with the topic specified that I want to delete (2 stories & 2 submissions, pretty easy stuff). Ajay got me to add debugging info to topicAdmin.php3 for the topic_ary, this added the following: Debug: topic_ary: topic_ary[0] = 15 > There are two lines commented out currently in deleteTopic: > # echo "<FONT COLOR=RED>STORY</FONT>: '$title'<BR>\n"; > #echo "<FONT COLOR=RED>SUBMISSION</FONT>: '$title'<BR>\n"; > These would show what was holding up the process. I found this in the Topic.class file & modified it as per above. This is the result: STORY: 'Block Modify test...' I'm not sure if this is related or not, but I tried to take a submitted story & publish it to the site using the new Edit As Story link... This didn't seem to work.. I can modify the topic and section it is in, but it never seems to move from the submission page to the stories page. Any ideas on this front? Mike -- Mike Gifford, OpenConcept Consulting, http://www.openconcept.on.ca Offering everything your organization needs for an effective web site. New Feature Launched: http://www.openconcept.on.ca/phpLinks/ "These are not pretty times and the stakes are high." Susan George |