Fatal error: Call to undefined function: stripos_clone() in

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Fatal error: Call to undefined function: stripos_clone() in
bettyswolloks
CZ Super Newbie
bettyswolloks has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 09, 2004
0.01 posts per day
Posts: 68
Points: 7,034
   
I get this error when trying to login to admin.php,its a freshish install of nuke 7.5 updated to 7.6

Fatal error: Call to undefined function: stripos_clone() in /home/bettyfuk/public_html/nuke/admin.php on line 32

Everything else works fine,and this was working until this evening.

Thanx in advance guys




_________________
Lost in a haze of alcohol soft middle age.
Back to top Reply with quote
#2   re: Fatal error: Call to undefined function: stripos_clone()
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
When you upgrade make sure you upload all files needed, double check to make sure you uploaded the new mainfile.php. etc...



Back to top Reply with quote
#3   re: Fatal error: Call to undefined function: stripos_clone()
bettyswolloks
CZ Super Newbie
bettyswolloks has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 09, 2004
0.01 posts per day
Posts: 68
Points: 7,034
   
Have done,the upgrade is just one little file you upload then run,then delete.Its been running perfect since i did that last week,untill this evening that is,wasn't doing anything other than logining into the admin area icon_eek.gif




_________________
Lost in a haze of alcohol soft middle age.
Back to top Reply with quote
#4   Re: re: Fatal error: Call to undefined function: stripos_clo
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   


Originally posted by bettyswolloks @ Tue Dec 21, 2004 12:30 pm:

Have done,the upgrade is just one little file you upload then run,then delete.Its been running perfect since i did that last week,untill this evening that is,wasn't doing anything other than logining into the admin area icon_eek.gif



The update to a new version itself, is an operation that consists of two parts, the update of the database and the overwriting of the old files with the new ones.

Be carefull and make sure to backup first.

[ Register or login to view links on this board. ]



Back to top Reply with quote
#5   re: Fatal error: Call to undefined function: stripos_clone()
bettyswolloks
CZ Super Newbie
bettyswolloks has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 09, 2004
0.01 posts per day
Posts: 68
Points: 7,034
   
i just used the upgrade that came with the package,i know the upgrade isnt the problem.




_________________
Lost in a haze of alcohol soft middle age.
Back to top Reply with quote
#6   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
Look in the mainfile.php do you see that function at the bottom of the file?


function stripos_clone($haystack, $needle, $offset=0) {
  return strpos(strtoupper($haystack), strtoupper($needle), $offset);
}




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#7   re: Fatal error: Call to undefined function: stripos_clone()
bettyswolloks
CZ Super Newbie
bettyswolloks has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 09, 2004
0.01 posts per day
Posts: 68
Points: 7,034
   
Yeah thats in there mate




_________________
Lost in a haze of alcohol soft middle age.
Back to top Reply with quote
#8   re: Fatal error: Call to undefined function: stripos_clone()
pnclthnmstsh
CZ Active Member
pnclthnmstsh has been a member for over 20 year's 20 Year Member
usa.gif nevada.gif
Age: 53
Gender: Male
Website:
Status: Offline
Joined: Sep 17, 2004
0.04 posts per day
Posts: 267
Points: 13,641
   
This may sound like a silly suggestion since its a fresh upload but I'm fairly sure there's only two things that cause this error...the first one you've already checked...is the function defined and you said it is...the next is...is that function being called on properly, so I would check this next

Do you see a line like this in root/admin.php
require_once("mainfile.php");

If for some reason it's not you can put it in there anywhere right after <?php

Those two things should define the function and call on it and get rid of the error.




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#9   re: Fatal error: Call to undefined function: stripos_clone()
bettyswolloks
CZ Super Newbie
bettyswolloks has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 09, 2004
0.01 posts per day
Posts: 68
Points: 7,034
   
Yeah thats in there too mate.




_________________
Lost in a haze of alcohol soft middle age.
Back to top Reply with quote
#10   re: Fatal error: Call to undefined function: stripos_clone()
bettyswolloks
CZ Super Newbie
bettyswolloks has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 09, 2004
0.01 posts per day
Posts: 68
Points: 7,034
   
Right ive been messing in admin.php and i found this

// Uncomment the following block of code after editing the next line to match your site domain
//$domainname = "www.yourdomain.com";
if ($_SERVER['SERVER_NAME'] != $domainname ) {
echo "Access denied";
die();//

So i uncommented it,put in my domain and now all i get when trying to get login to my admin section i just get Access denied.

(P.S. where can i download the latest version of CZenhanced??)




_________________
Lost in a haze of alcohol soft middle age.
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum