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 -> NukeSentinel(tm) v2.4.x
Author Message
Susann
Moderator



Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Wed Apr 26, 2006 3:45 pm Reply with quote

While adding a new country a user got this: Algeria added ... empty file or could not reach file.

and with
$display_errors = true;

Warning: Wrong parameter count for implode() in /home/*****/*****/admin/modules/nukesentinel/ABImportIP2Country.php on line 28

On line 28 is:
$import_data = implode($import_data);

That´s the only error. How to fix this ? Is that because of the MYSQL Version or Linux ?

System:
Linux ninsei 2.6.12-rc1-bk1
MYSQL = 3.23.49
PHP Version 4.1.2
Nuke 7.6 (SE),Patch 3.2 NukeSentinel 2.4.2.pl5
 
View user's profile Send private message
Susann







PostPosted: Thu Apr 27, 2006 11:07 am Reply with quote

Seems that was a FTP problem. After upload all files again the problem is solved.
 
BobMarion
Former Admin in Good Standing



Joined: Oct 30, 2002
Posts: 1037
Location: RedNeck Land (known as Kentucky)

PostPosted: Sun Apr 30, 2006 11:19 pm Reply with quote

When the IP to Country routine reads a file in for import it reads it as an array then implodes it. If the file is empty or not ftped up properly you will get this error. It's the only time the error should ever appear. I will look at adding a line to check for an empty file.

Susann wrote:
While adding a new country a user got this: Algeria added ... empty file or could not reach file.

and with
$display_errors = true;

Warning: Wrong parameter count for implode() in /home/*****/*****/admin/modules/nukesentinel/ABImportIP2Country.php on line 28

On line 28 is:
$import_data = implode($import_data);

That´s the only error. How to fix this ? Is that because of the MYSQL Version or Linux ?

System:
Linux ninsei 2.6.12-rc1-bk1
MYSQL = 3.23.49
PHP Version 4.1.2
Nuke 7.6 (SE),Patch 3.2 NukeSentinel 2.4.2.pl5

_________________
Bob Marion
Codito Ergo Sum
http://www.nukescripts.net 
View user's profile Send private message Send e-mail Visit poster's website
Susann







PostPosted: Mon May 01, 2006 9:52 am Reply with quote

Well, it was not fixed after upload all files again. He gave us wrong information because he used $display_errors = false at a later date. However, I did´t checked the data base by myself but I heard there was some errors and the db wasn´t up to date but now the Warning: Wrong parameter count for implode() is gone.
 
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 -> NukeSentinel(tm) v2.4.x

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 ©