May 17, 2008

Install Error

Free Web Hosting, No Ads > Xisto Network Sites > ComputingHost Forum > Technical Support

free web hosting

Install Error

Wade Patel
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.

 

 

 


Reply

Wade Patel
Anyone here?

Reply

jlhaslip
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.

Reply

OpaQue
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

Reply

brasileiro
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

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. fatal error: cannot redeclare hash - 22.46 hr back.
Similar Topics

Keywords : install, error

  1. Sites Down After The Upgrade
    Server not found error (8)
  2. Posting To A Blog Via Email Using Pop3 Account
    error when trying to update blog (2)
    Hi Happy New Year everybody. I'm trying to make use of this function in Wordpress -
    http://codex.wordpress.org/Blog_by_Email It requires me to set up an email account with POP3
    access and then refresh this page http://mywebdomain/wordpressinstalldir/wp-mail.php to display
    the email as a blogpost. I have done the above steps, except that when I access the wp-mail.php
    file to get my blog refreshed, I get the following error messsage: POP3 connect: Error Is this
    a technical error with the server or is it my blog setup? FYI, the blog is installed on an addon....
  3. Certificare Error
    (9)
    i'm having a problem with this... im getting a certificare error everytime i log into my cpanel
    and the file manager... i think this is causing some problems with some of my files to because im
    not able to view them. how do i fix this?....
  4. Php Parser Error After Php 5 Update.
    (13)
    I couldn't believe my eyes today, I log on to my web-page at school and NONE OF THE PHP HAS BEEN
    PARSED OUT!!! I saw the raw php code. This is a major security issue since many
    passwords for SQL etc... are stored directly in PHP, and it allowed people to see and possibly even
    steal my php code! Why did this happen? How did this happen? Will it ever happen again? I
    need to know whether or not I need to switch hosting companies. I have never seen this before.....
  5. Cpanel Error Message
    (2)
    Sorry for this post. As AeonLan pointed out i had not seen the announcement about the down time
    for cpanel. I am having problem acessing my site. When i type in
    http://owbussey.trap17.com/cpanel i type in my user name and password and I get the following
    message: Sorry for the inconvenience! The filesystem mounted at / on this server is running out
    of disk space. cPanel operation has been temporarily suspended to prevent something bad from
    happening. Please ask your system admin to remove any files not in use on that partition. Is the
    entire site having trou....
  6. Error When Logging Into Ms Sql Manager (windows Hosting)
    (2)
    I get the following error when trying to log into MSSQL Manager in H-Sphere: HTTP Error 401.2 -
    Unauthorized: Access is denied due to server configuration. Internet Information Services (IIS) I
    am using the using the user id and password that is attached to the MS SQL database that I created.
    Thanks for any info.....
  7. Dotnetnuke - How To Setup Or Install
    (3)
    It was written that DotNetNuke 3.0 is supported. Do I need to grab a copy and install this on my
    windows hosting account or is it already available? If I need to install, is there documentation on
    how to set it up on Computinghost. (DotNetNuke docs all state the shared hosting will need to tell
    me how to set it up) If is already installed on Computing Host servers, how do I access it for my
    site? Thanks.....
  8. Cpanel Error
    (3)
    Hey, I get the following error when I t ry to use my control panel. Not Found The server was
    not able to find the document (./frontend/rvblue/sql/index.html) you requested Please check the
    url and try again. You might also want to report this error to your webhost Any ideas?....
  9. Mysql Error-fixed
    This happened only 10 minutes ago! (3)
    Warning: mysql_connect(): Can't connect to local MySQL server through socket
    '/var/lib/mysql/mysql.sock' (2) in /home/cinnamon/public_html/index.php on line 7 Warning:
    mysql_select_db(): Can't connect to local MySQL server through socket
    '/var/lib/mysql/mysql.sock' (2) in /home/cinnamon/public_html/index.php on line 8 QUOTE
    Warning: mysql_select_db(): A link to the server could not be established in
    /home/cinnamon/public_html/index.php on line 8 Warning: mysql_query(): Can't connect to local
    MySQL server through socket '/var/lib/mys....
  10. Cpanel Error
    (3)
    My cpanel says i have 5120mb of bandwidth and 180mb of space, I just went to Computing host with the
    biggest package, so the cpanel should say I have 99,900mb of bandwidth and 5.4gigs of space. Is this
    a cpanel error or maybe something was done wrong when moving me from Trap17 to ComputingHost? Let me
    know how this can be fixed, thanks.....
  11. Chatset Error
    (7)
    It seems hacker is easy to modify the setting in mysql, just happened all database deleted and now,
    all my data in database is wrong encropy, specially to the Chinese word......Pls help me to escape
    from the hands of hacker.. THanks a lot.....
  12. Custom Error Pages Question
    Cannot customize them (6)
    In order to customize my custom error pages, I click on those particular error pages and I edited by
    inserting html code for error page and saved it. Cpanel responded that the page is saved, however if
    I type anything which is not found within my pages the custom error pages I've created were not
    displayed but I got the following error messages: QUOTE Internal Server Error The server
    encountered an internal error or misconfiguration and was unable to complete your request. Please
    contact the server administrator, webmaster@domain.com and inform them of the time....

    1. Looking for install, error

Searching Video's for install, error
advertisement



Install Error



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE