Author |
Message |
CodyG
Life Cycles Becoming CPU Cycles

Joined: Jan 02, 2003
Posts: 714
Location: Vancouver Island
|
Posted:
Sun Aug 01, 2004 9:23 pm |
|
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 |
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sun Aug 01, 2004 10:50 pm |
|
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 |
|
|
 |
CodyG

|
Posted:
Sun Aug 01, 2004 11:22 pm |
|
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
|
Posted:
Sun Aug 01, 2004 11:35 pm |
|
Actually, the stripos_clone function is part of Chatservs patched mainfile.php!
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. |
|
|
|
 |
CodyG

|
Posted:
Sun Aug 01, 2004 11:48 pm |
|
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
 |
|
|
|
 |
CodyG

|
Posted:
Mon Aug 02, 2004 8:59 am |
|
I'm not sure how I did that all that comparing and copy/pasting, but EV now works! Including the wysiwyg. Except ... I can't edit admins. ;( How did that happen? I thought that wouldn't happen until I installed NSN Groups?
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.
Now, to install NSN Groups. lol |
|
|
|
 |
Raven

|
Posted:
Mon Aug 02, 2004 9:08 pm |
|
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 |
|
|
|
 |
|