Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
CodyG
Life Cycles Becoming CPU Cycles



Joined: Jan 02, 2003
Posts: 714
Location: Vancouver Island

PostPosted: Sun Aug 01, 2004 9:23 pm Reply with quote

After I installed Event Calendar, with or without chat's patches to the module's index.php I get the following error attempting to access any module.

Fatal error: Call to undefined function: stripos_clone() in /home/mydomain/public_html/modules.php on line 31

I have no idea what this means. Anyone here with an idea about this? There must be an answer around here somewhere.

_________________
"We want to see if life is ubiquitous." D.Goldin 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sun Aug 01, 2004 10:50 pm Reply with quote

The error means your script is calling that function but it isn't loaded. This could be because of a typo in the function name or possibly an "include" is missing somewhere.


Last edited by Raven on Mon Aug 02, 2004 4:04 am; edited 1 time in total 
View user's profile Send private message
CodyG







PostPosted: Sun Aug 01, 2004 11:22 pm Reply with quote

from my modules.php starting at line 30
Quote:
$modstring = strtolower($_SERVER['QUERY_STRING']);
if (stripos_clone($modstring,"&user=") AND ($name=="Private_Messages" || $name=="Forums" || $name=="Members_List")) header("Location: index.php");


Did I read something about having to change to $_SERVER['SCRIPT_NAME'] ... or was that about something else?

Anyways, that's the modules php that's giving the error and you're saying the error is in the module code? Everything was fine before I installed Event Calendar.
 
Holbrookau
Hangin' Around



Joined: Jun 25, 2004
Posts: 32

PostPosted: Sun Aug 01, 2004 11:35 pm Reply with quote

Actually, the stripos_clone function is part of Chatservs patched mainfile.php! Smile
CodyGs problem is that he replaced his mainfile.php with the one supplied with EventCalendar2.13, which happens to be from version7.0 (unpatched). Upload the original corefiles/do the edits manually.
 
View user's profile Send private message
CodyG







PostPosted: Sun Aug 01, 2004 11:48 pm Reply with quote

thanks! I appreciate the clarity.... I actually tried a couple of versions. Did you know there are three index versions on my desktop? Chatserv, Spaw Wysywig, and what's in the module pack.


everything was going along just fab until suddenly I couldn't get into a module.

I left this mod to the second to last for my update and did a full backup before installing it.
I need everything in all index.phps

Rolling Eyes
 
CodyG







PostPosted: Mon Aug 02, 2004 8:59 am Reply with quote

I'm not sure how I did that all that comparing and copy/pasting, but EV now works! Including the wysiwyg. Wink Except ... I can't edit admins. ;( How did that happen? I thought that wouldn't happen until I installed NSN Groups? Rolling Eyes

I love this Event Calendar, tried others but come back to EV every time because it allows my users to post their own events.

What broke? admin.php or authors.php ? or is is something in the sql?

hmmm... a problem... I still have my nsngroups column in the authors table. Will take care of that and report back.

It's fixed. Wink
Now, to install NSN Groups. lol
 
Raven







PostPosted: Mon Aug 02, 2004 9:08 pm Reply with quote

CodyG wrote:
After I installed Event Calendar, with or without chat's patches to the module's index.php I get the following error attempting to access any module.

Fatal error: Call to undefined function: stripos_clone() in /home/mydomain/public_html/modules.php on line 31

I have no idea what this means. Anyone here with an idea about this? There must be an answer around here somewhere.
http://www.ravenphpscripts.com/modules.php?name=Forums&file=viewtopic&p=17301#17301
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

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 ©