Author |
Message |
kb9nha
Regular


Joined: Apr 26, 2008
Posts: 60
Location: Windy City
|
Posted:
Thu Jul 31, 2008 1:03 pm |
|
I installed an old version of Neos Chronos (v 1.9.0), a game stats uploader for Delta Force: Black Hawk Down PC game. I used this particular module in the past without any problems. I noticed something strange when I installed this module in my current website - the module (set to be visible by all) is only visible to Anonymous Users. If I login (either as Registered User or Admin) & click the link to the module, it's not visible anymore. Any idea what might be causing this problem? I installed this module on my friend's (RavenNuke) website just like mine & I was able to run it without any problems. |
|
|
|
 |
evaders99
Former Moderator in Good Standing

Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Thu Jul 31, 2008 1:36 pm |
|
What do you mean it is not visible? Does it not appear on the Modules menu? Or when you click on it, it doesn't load (blank white page .. or just no content page?) |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
 |
kb9nha

|
Posted:
Thu Jul 31, 2008 7:17 pm |
|
It appears in module menu but when you click into it, the module page opens but there's no contents in it. No, it's not a blank white page. |
|
|
|
 |
kb9nha

|
Posted:
Fri Aug 01, 2008 11:08 pm |
|
Evaders99, any idea how to fix this problem? |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Sat Aug 02, 2008 8:11 am |
|
kb9nha wrote: | It appears in module menu but when you click into it, the module page opens but there's no contents in it. No, it's not a blank white page. |
It may not be a blank page, but are you still able to see the footer text at the bottom of your page?
Make sure the database install piece was done (if this module has this).
Try re-uploading all the module files using a good FTP client such as FileZilla (free from sourceforge.net). |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
kb9nha

|
Posted:
Sat Aug 02, 2008 2:07 pm |
|
I installed & reinstalled this module several times. I even unzipped the module using 7-Zip & upload it on my FTP site using CuteFTP 8 Home without any luck. When I installed it in my friend's website, it works. My guess is that it's in conflict with other modules I've installed or run (maybe NukeSentinel or AdminSecure) but I'm not exactly sure. I don't have any real programming/coding background so it's hard to tell. Any help I can get from you guys are welcome.
By the way Evaders99, I read some of your Forum threads at NukeCops about Admin Secure that you posted about 3 years ago. It's a great help man.  |
Last edited by kb9nha on Sat Aug 02, 2008 9:38 pm; edited 1 time in total |
|
|
 |
kb9nha

|
Posted:
Sat Aug 02, 2008 8:36 pm |
|
[quote="montego"]kb9nha wrote: | It may not be a blank page, but are you still able to see the footer text at the bottom of your page? |
No, the footer text at the bottom of the page is also not visible. |
|
|
|
 |
montego

|
Posted:
Sun Aug 03, 2008 9:02 am |
|
The module has a critical run-time error then. It could be PHP or MySQL.
Try changing in config.php the $display_errors to "true". |
|
|
|
 |
kb9nha

|
Posted:
Sun Aug 03, 2008 1:53 pm |
|
I get this warning when I open the Neos Chronos module after setting the $display_errors to "true" in the config.php.
Quote: | Fatal error: Cannot redeclare formattime() (previously declared in /home/fairp1/public_html/modules/GCalendar/common.inc.php:609) in /home/fairp1/public_html/modules/Neos_Chronos/common.php on line 83 |
|
|
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Sun Aug 03, 2008 2:14 pm |
|
As the error message suggests, the function formattime() is being called twice which is not allowed.
You have a couple of options;
1 - either rename the function in your Neos_Chronos module and then rename all references to it to match
2 - 'test' if the function is already being used to avoid the scenario where it might be 'in use' twice
3 - Remove GCalendar if you do not need it, though I am confused by how two modules can be in use at the same time (unless you possibly have a calendar block showing that is using the common.inc.php file)? |
|
|
|
 |
kb9nha

|
Posted:
Mon Aug 04, 2008 2:33 am |
|
I tried the option number 3 (I think this is the easiest among the 3 to do). I disabled the GCalendar block & everythings fine with Neos Chronos module. It's now visible. Thanks a lot Guardian, Montego & Evader. |
|
|
|
 |
montego

|
Posted:
Tue Aug 05, 2008 5:34 am |
|
Ah, one of the reasons why I would like to move towards classes rather than functions.... As long as class names are not conflicting, no conflict in their method names.  |
|
|
|
 |
|