| Author |
Message |
lost3
Lieutenant


Joined: Aug 16, 2004
Posts: 163
|
Posted:
Sun Dec 19, 2004 6:04 pm |
  |
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. |
|
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12388
|
Posted:
Sun Dec 19, 2004 8:24 pm |
  |
|
     |
 |
lost3
Lieutenant


Joined: Aug 16, 2004
Posts: 163
|
Posted:
Mon Dec 20, 2004 7:04 am |
  |
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
 |
|
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12388
|
Posted:
Mon Dec 20, 2004 11:13 am |
  |
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 |
|
     |
 |
lost3
Lieutenant


Joined: Aug 16, 2004
Posts: 163
|
Posted:
Tue Dec 21, 2004 5:38 am |
  |
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!!!!!!! |
|
|
   |
 |
lost3
Lieutenant


Joined: Aug 16, 2004
Posts: 163
|
Posted:
Thu Dec 23, 2004 12:17 pm |
  |
uppen... i need my categories.. please help me, help me please |
_________________ Evaders99 and VinDSL for President !!!!!!!!!!!!!!!! |
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12388
|
Posted:
Thu Dec 23, 2004 12:28 pm |
  |
|
     |
 |
lost3
Lieutenant


Joined: Aug 16, 2004
Posts: 163
|
Posted:
Thu Dec 23, 2004 4:50 pm |
  |
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 !!!!!!!!!!!!!!!! |
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12388
|
Posted:
Thu Dec 23, 2004 6:36 pm |
  |
|
     |
 |
lost3
Lieutenant


Joined: Aug 16, 2004
Posts: 163
|
Posted:
Thu Dec 23, 2004 10:09 pm |
  |
| 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
|
|
|
|
   |
 |
lost3
Lieutenant


Joined: Aug 16, 2004
Posts: 163
|
Posted:
Thu Dec 23, 2004 11:19 pm |
  |
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
 |
|
|
   |
 |
lost3
Lieutenant


Joined: Aug 16, 2004
Posts: 163
|
Posted:
Fri Dec 24, 2004 12:23 am |
  |
but i still don't see the list of latest news in my Admin CP home
any ideas ? |
_________________ Evaders99 and VinDSL for President !!!!!!!!!!!!!!!! |
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12388
|
Posted:
Fri Dec 24, 2004 12:15 pm |
  |
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 |
|
     |
 |
lost3
Lieutenant


Joined: Aug 16, 2004
Posts: 163
|
Posted:
Fri Dec 24, 2004 1:00 pm |
  |
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 !!!!!!!!!!!!!!!! |
|
   |
 |
tamss13
Nuke Cadet


Joined: Jan 17, 2007
Posts: 3
|
Posted:
Wed Jan 17, 2007 9:23 am |
  |
|
   |
 |
|
|