Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Installation Help
Author Message
RavingNun
New Member
New Member


Joined: Jan 08, 2006
Posts: 3

PostPosted: Sun Jan 08, 2006 2:58 am Reply with quote

I have two modules.php which are from html/modules.php
one is from NSN Groups 750

and the other is for the theme that I have.
If I use the modules.php from the theme and click on any module, it was show an error 404. Which all of you should know is 'Page Not Found'

And if I use the NSN Groups in 750, it will say
' Fatal error: Call to undefined function: stripos_clone() in /home/ravingnu/public_html/phpnuke/modules.php on line 18 '

Here are two files
Only registered users can see links on this board! Get registered or login! - The one from NSN Groups 740

Only registered users can see links on this board! Get registered or login! - The one from my theme

Please save as .php

This shouldnt be too hard, only one or two lines. I tried and tried still dont get it.

Can Someone help me please?

The site Only registered users can see links on this board! Get registered or login!

Thanks, and I know there are alot of smart people in this forum
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Sun Jan 08, 2006 4:42 am Reply with quote

Make sure this function is in your mainfile.php
Code:
function stripos_clone($haystack, $needle, $offset=0) {

  return strpos(strtoupper($haystack), strtoupper($needle), $offset);
}


Then try the NSN Grooups modules.php again.
 
View user's profile Send private message
RavingNun
PostPosted: Sun Jan 08, 2006 5:45 am Reply with quote

actually its not in there.
Where should I add it?

Its in modules.php though.
 
RavingNun
PostPosted: Sun Jan 08, 2006 5:52 am Reply with quote

I added it at the end of the file. Its working now. Thanks...
 
Raven
PostPosted: Sun Jan 08, 2006 1:12 pm Reply with quote

RavensScripts
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Installation Help

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 ©