Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Install Error
Wade Patel
post Feb 26 2008, 11:49 AM
Post #1


Newbie
*

Group: Members
Posts: 1
Joined: 26-February 08
Member No.: 58,482



Hi. I'm Wade Patel.

I'm bought HiveMail, and I'm trying to install it on my website. I uploaded all files, as they said in the Install Instructions. When I open "http://www.domain.com/mail/install/index.php/"
I get this error:

QUOTE
Fatal error: Cannot redeclare hash_update() in /home/dtat/public_html/mail/includes/functions.php on line 58
I saw the topic of the PHP Error, you guys said I change require to require_once. I already have it require_once.
Here's my function.php line 58:

QUOTE
// Updates a hash record either by ID or value and maybe also type
function hash_update($search, $info, $type = null) {
global $DB_site;

$DB_site->query("
UPDATE hive_hash
SET info = '".addslashes(serialize($info))."'
WHERE ".iif(strlen($search) == 32, 'value = "'.addslashes($search).'"', 'hashid = '.intval($search))."
".iif($type !== null, 'AND type = '.intval($type), '')."
");
}


Here's my install/index.php file:

QUOTE
require_once('../includes/init_vars.php');
require_once('../includes/config.php');
require_once('../includes/db_mysql.php');
require_once('../includes/functions.php');
require_once('../includes/functions_install.php');
require_once('../includes/functions_file.php');
require_once('../includes/functions_admin.php');
require_once('../includes/functions_template.php');
require_once('../includes/init.php');



Someone tell me how to fix this, Php is already installed correctly and other php files are working.
Go to the top of the page
 
+Quote Post
Wade Patel
post Feb 26 2008, 04:26 PM
Post #2


Newbie
*

Group: Members
Posts: 1
Joined: 26-February 08
Member No.: 58,482



Anyone here?
Go to the top of the page
 
+Quote Post
jlhaslip
post Feb 26 2008, 05:11 PM
Post #3


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 3,874
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



The parser is likely correct in saying that the function is defined twice. Just because you use "require-once" for the include files, the function is apparently being declared twice, which is not allowed.
I would start in the functions.php first and work backwards towards the start of the process, checking for a duplicate idefinition of the function in those files. You will need to search those files to see where the first occurrence of that function is and decide which file needs changing.
Go to the top of the page
 
+Quote Post
OpaQue
post Feb 29 2008, 09:41 AM
Post #4


Administrator
Group Icon

Group: Admin
Posts: 1,448
Joined: 11-June 04
From: Somewhere in Time & Space.
Member No.: 1



Please update us with the URL of the page where you are getting this error. I will check and let you know. Also, If you have sent a support ticket, please mention the TICKET ID.

-Shree
Go to the top of the page
 
+Quote Post
brasileiro
post Mar 10 2008, 08:02 PM
Post #5


Newbie
*

Group: Members
Posts: 0
Joined: 10-March 08
Member No.: 59,123



Hi folks!

I have the same problem of colleague above.

See my problem: http://www.vesperhosting.com/email/install/

Could somebody help us?

Thanks a lot.
Luiz
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Cpanel Error(3)
  2. Mysql Error-fixed(3)
  3. Cpanel Error(3)
  4. Dotnetnuke - How To Setup Or Install(3)
  5. Error When Logging Into Ms Sql Manager (windows Hosting)(2)
  6. Cpanel Error Message(2)
  7. Php Parser Error After Php 5 Update.(13)
  8. Certificare Error(9)
  9. Posting To A Blog Via Email Using Pop3 Account(2)
  10. Sites Down After The Upgrade(8)


 



- Lo-Fi Version Time is now: 24th July 2008 - 06:16 AM