PHP Web Host - Quality Web Hosting For All PHP Applications PRO Forms v2.0.0.
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
kb9nha
Regular
Regular


Joined: Apr 26, 2008
Posts: 55
Location: Windy City

PostPosted: Thu Jul 31, 2008 1:03 pm Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website
evaders99
Moderator


Joined: Apr 30, 2004
Posts: 2883

PostPosted: Thu Jul 31, 2008 1:36 pm Reply with quote Back to top

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?)
View user's profile Send private message Visit poster's website
kb9nha
Regular
Regular


Joined: Apr 26, 2008
Posts: 55
Location: Windy City

PostPosted: Thu Jul 31, 2008 7:17 pm Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website
kb9nha
Regular
Regular


Joined: Apr 26, 2008
Posts: 55
Location: Windy City

PostPosted: Fri Aug 01, 2008 11:08 pm Reply with quote Back to top

Evaders99, any idea how to fix this problem?
View user's profile Send private message Visit poster's website
montego
Moderator


Joined: Aug 29, 2004
Posts: 7582
Location: Arizona

PostPosted: Sat Aug 02, 2008 8:11 am Reply with quote Back to top

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).
View user's profile Send private message Visit poster's website
kb9nha
Regular
Regular


Joined: Apr 26, 2008
Posts: 55
Location: Windy City

PostPosted: Sat Aug 02, 2008 2:07 pm Reply with quote Back to top

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. Cool


Last edited by kb9nha on Sat Aug 02, 2008 9:38 pm; edited 1 time in total
View user's profile Send private message Visit poster's website
kb9nha
Regular
Regular


Joined: Apr 26, 2008
Posts: 55
Location: Windy City

PostPosted: Sat Aug 02, 2008 8:36 pm Reply with quote Back to top

[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.
View user's profile Send private message Visit poster's website
montego
Moderator


Joined: Aug 29, 2004
Posts: 7582
Location: Arizona

PostPosted: Sun Aug 03, 2008 9:02 am Reply with quote Back to top

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".
View user's profile Send private message Visit poster's website
kb9nha
Regular
Regular


Joined: Apr 26, 2008
Posts: 55
Location: Windy City

PostPosted: Sun Aug 03, 2008 1:53 pm Reply with quote Back to top

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
View user's profile Send private message Visit poster's website
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 5049

PostPosted: Sun Aug 03, 2008 2:14 pm Reply with quote Back to top

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)?
View user's profile Send private message Send e-mail Visit poster's website
kb9nha
Regular
Regular


Joined: Apr 26, 2008
Posts: 55
Location: Windy City

PostPosted: Mon Aug 04, 2008 2:33 am Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website
montego
Moderator


Joined: Aug 29, 2004
Posts: 7582
Location: Arizona

PostPosted: Tue Aug 05, 2008 5:34 am Reply with quote Back to top

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. Wink
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous 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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum