| Author |
Message |
admirall
Nuke Cadet


Joined: Feb 04, 2003
Posts: 7
Location: USA
|
Posted:
Tue Feb 04, 2003 1:04 pm |
  |
I have problems with phpnuke,
I can't go in my admin end modules dont work. When I try it I get this message:
You can't access this file directly... or
access denied...
On my index page i have this message:
Warning: setlocale() [function.setlocale]: Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /home/carmen25/kalesija.com/mainfile.php on line 569
on this line in mainfile is:
function formatTimestamp($time) {
global $datetime, $locale;
setlocale ("LC_TIME", "$locale");
ereg ("([0-9]{4})-([0-9]{1,2})-([0-9]{1,2}) ([0-9]{1,2}) [0-9]{1,2}) [0-9]{1,2})", $time, $datetime);
$datetime = strftime(""._DATESTRING."", mktime($datetime[4],$datetime[5],$datetime[6],$datetime[2],$datetime[3],$datetime[1]));
$datetime = ucfirst($datetime);
return($datetime);
}
Please help me!!! |
|
|
   |
 |
ArtificialIntel

Joined: Jan 31, 2004
Posts: -88
|
Posted:
Tue Feb 04, 2003 1:13 pm |
  |
the locale fix is in the welcome thread in the announcements forum.
as for "You can't access this file directly" that only appears if u aren't trying to access them from the admin menu.
What version of nuke??
ArtificialIntel |
|
|
   |
 |
admirall
Nuke Cadet


Joined: Feb 04, 2003
Posts: 7
Location: USA
|
Posted:
Tue Feb 04, 2003 1:18 pm |
  |
|
   |
 |
mikem
Theme Guru


Joined: Jan 13, 2003
Posts: 1582
Location: Corn fields of Indiana
|
Posted:
Tue Feb 04, 2003 1:42 pm |
  |
It looks like you have had your site running for a while. When did the modules stop working?
mikem |
|
|
   |
 |
admirall
Nuke Cadet


Joined: Feb 04, 2003
Posts: 7
Location: USA
|
Posted:
Tue Feb 04, 2003 1:52 pm |
  |
It stop working 2 days ago, as you can see on site some of modules works but most of it doesnt work. I cant access on my admin. |
|
|
   |
 |
ArtificialIntel

Joined: Jan 31, 2004
Posts: -88
|
Posted:
Tue Feb 04, 2003 2:13 pm |
  |
have you made any changes to anything?
Artificialintel |
|
|
   |
 |
admirall
Nuke Cadet


Joined: Feb 04, 2003
Posts: 7
Location: USA
|
Posted:
Tue Feb 04, 2003 2:16 pm |
  |
No i'm not, just standard changes without changing code |
|
|
   |
 |
admirall
Nuke Cadet


Joined: Feb 04, 2003
Posts: 7
Location: USA
|
Posted:
Tue Feb 04, 2003 2:20 pm |
  |
Is there posible that server dont work propertly? |
|
|
   |
 |
ArtificialIntel

Joined: Jan 31, 2004
Posts: -88
|
Posted:
Tue Feb 04, 2003 2:23 pm |
  |
it's a possibility. Have you tried downloading and running our analyze.php to see if it kicks up any errors??
ArtificialIntel |
|
|
   |
 |
admirall
Nuke Cadet


Joined: Feb 04, 2003
Posts: 7
Location: USA
|
Posted:
Tue Feb 04, 2003 2:31 pm |
  |
|
   |
 |
ArtificialIntel

Joined: Jan 31, 2004
Posts: -88
|
Posted:
Tue Feb 04, 2003 2:39 pm |
  |
everything looks fine there. Strange problem :S
I really don't know. Maybe Zhen or Chatserv might have seen this b4, I certainly haven't. The onyl thing I can think of causing that is if you've removed the
| Code: |
| if(!eregi("modules.php", $PHP_SELF)){ |
line out of the beginning of the module, or just removed the ! from just before the eregi
Artificialintel |
|
|
   |
 |
admirall
Nuke Cadet


Joined: Feb 04, 2003
Posts: 7
Location: USA
|
Posted:
Tue Feb 04, 2003 3:01 pm |
  |
I can do it and than module works, but where is the problem? I STIL HAVENT ACCES TO MY ADMIN. Anyway thanks for help. |
|
|
   |
 |
|
|