Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.10.01 - All Issues
Author Message
kb9nha
Regular
Regular



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

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

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
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

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

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







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

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







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

Evaders99, any idea how to fix this problem?
 
montego
Site Admin



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

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

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







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

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 
kb9nha







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

[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







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

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







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

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

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

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
kb9nha







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

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







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

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
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.10.01 - All Issues

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©