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, 68 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 - You can't access this file directly... [ ]
 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
lost3
Lieutenant
Lieutenant


Joined: Aug 16, 2004
Posts: 163


PostPosted: Sun Dec 19, 2004 6:04 pm Reply with quoteBack to top

hello there buddy, i need your help

my NEWS module has a problem.. when i choose to put IN HOME i get the error:

Quote:
You can't access this file directly...


but when its NOT in the home you can access it with no problem

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

also the latest news list doesn't show up in the main page of the ADMIN CP


anyone know what i have done wrong ???????



thanks for your time.
Find all posts by lost3View user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Sun Dec 19, 2004 8:24 pm Reply with quoteBack to top

Are you using the Patched files or the original phpNuke? Any mods or addons? Using the phpNuke standard News module?

_________________
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
lost3
Lieutenant
Lieutenant


Joined: Aug 16, 2004
Posts: 163


PostPosted: Mon Dec 20, 2004 7:04 am Reply with quoteBack to top

i was using the php-Multi-Shop module...

i replaced the index.php news file with the one that comes with the basic nuke system and it fixed that problem, but then this means my Multi-Shop won't work with the News module

it fixed that part about the YOUR CAN"T ACCESS THIS FILE DIRECTLY when placed in the HOME but......

my categories still aren't working.. i replaced that file also with the basic nuke file but nada

thanks for yo help man, you always lookin out for me and i appreciate it foreal
Wink
Find all posts by lost3View user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Mon Dec 20, 2004 11:13 am Reply with quoteBack to top

Usually means that the line near the top of modules/News/index.php needs to be changed from $PHP_SELF, to $_SERVER['PHP_SELF'] or $_SERVER['SCRIPT_NAME'] depending on which versions you are using and so forth.

Post the code from the beginning of that file if you need any help.

_________________
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
lost3
Lieutenant
Lieutenant


Joined: Aug 16, 2004
Posts: 163


PostPosted: Tue Dec 21, 2004 5:38 am Reply with quoteBack to top

woooohoooo!!!!!!!!!!!!!


i changed it to $_SERVER['PHP_SELF'] from $_SERVER['SCRIPT_NAME']

and now i don't get that error.. you the man!!!!!!!!!!!



how bout my categories??? i wouldn't mine if my categories got whiped out only if i could post news without it coming out in the front/home page

what have i done wrong?


thanks for everythign man you the man!!!!!!!
Find all posts by lost3View user's profileSend private message
lost3
Lieutenant
Lieutenant


Joined: Aug 16, 2004
Posts: 163


PostPosted: Thu Dec 23, 2004 12:17 pm Reply with quoteBack to top

uppen... i need my categories.. please help me, help me please

_________________
Evaders99 and VinDSL for President !!!!!!!!!!!!!!!!
Find all posts by lost3View user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Thu Dec 23, 2004 12:28 pm Reply with quoteBack to top

So what is wrong with categories? Can you provide more details?

_________________
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
lost3
Lieutenant
Lieutenant


Joined: Aug 16, 2004
Posts: 163


PostPosted: Thu Dec 23, 2004 4:50 pm Reply with quoteBack to top

when you go to ADD STORY
you have the option to select a category
when you click the drop down menu they are not there

this wouldn't matter to me only if they weren't needed for the option that says :

Publish in Home? Yes No [ Only works if Articles category isn't selected ]


i appreciate your help man, thanks

_________________
Evaders99 and VinDSL for President !!!!!!!!!!!!!!!!
Find all posts by lost3View user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Thu Dec 23, 2004 6:36 pm Reply with quoteBack to top

So you cannot add new categories? What happens when you go the add link?

_________________
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
lost3
Lieutenant
Lieutenant


Joined: Aug 16, 2004
Posts: 163


PostPosted: Thu Dec 23, 2004 10:09 pm Reply with quoteBack to top

Code:
Fatal error: Cannot redeclare puthome() (previously declared in /home/hphp/public_html/admin/modules/stories.php:27) in /home/hphp/public_html/modules/News/admin/index.php on line 38
Find all posts by lost3View user's profileSend private message
lost3
Lieutenant
Lieutenant


Joined: Aug 16, 2004
Posts: 163


PostPosted: Thu Dec 23, 2004 11:19 pm Reply with quoteBack to top

dude i figured out the problem

these guys who transferred my database to a new srever never uploaded the stories_categories table.. can you beleive that?

its always somethign very simple but overlooked... thanks anyways man.. my bad for taking up so much time over sillyness
Embarassed
Find all posts by lost3View user's profileSend private message
lost3
Lieutenant
Lieutenant


Joined: Aug 16, 2004
Posts: 163


PostPosted: Fri Dec 24, 2004 12:23 am Reply with quoteBack to top

but i still don't see the list of latest news in my Admin CP home

any ideas ?

_________________
Evaders99 and VinDSL for President !!!!!!!!!!!!!!!!
Find all posts by lost3View user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Fri Dec 24, 2004 12:15 pm Reply with quoteBack to top

So there's nothing under Last 20 Articles? It does appear on your News module correct?

Are you sure they transfered the rest of the files? What version of files are you using? Is your database updated to match that version?

_________________
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
lost3
Lieutenant
Lieutenant


Joined: Aug 16, 2004
Posts: 163


PostPosted: Fri Dec 24, 2004 1:00 pm Reply with quoteBack to top

man i been going back and forth with the files switching thrme from 7.4 to 7.5 back and forth..

i had it working and then iono what i did.. i know it can't be a problem with the db though

holla back daggs

_________________
Evaders99 and VinDSL for President !!!!!!!!!!!!!!!!
Find all posts by lost3View user's profileSend private message
tamss13
Nuke Cadet
Nuke Cadet


Joined: Jan 17, 2007
Posts: 3


PostPosted: Wed Jan 17, 2007 9:23 am Reply with quoteBack to top

I did something to my site. When you go to www.fireballsbasketball.org it would direct you to www.fireballsbasketball.org/Fireballs. Now it stop at fireballsbasketball.org and gives me the statement you guys are getting. I read the entire posting and my code is correct. Could there be something esle to get www.fireballsbasketball.org to pull up www.fireballsbasketball.org/Fireballs Right now I have redirected the site in the cpanel to temp fix the issue.
Find all posts by tamss13View 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.290 Seconds - 251 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::