Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2006
    Posts
    74

    couple of issues

    Why am I getting this log error?

    Code:
    [18-Nov-2006 04:49:03] PHP Warning:  Function registration failed - duplicate name - __ex in Unknown on line 0
    [18-Nov-2006 04:49:03] PHP Warning:  Function registration failed - duplicate name - ioncube_file_is_encoded in Unknown on line 0
    [18-Nov-2006 04:49:03] PHP Warning:  Function registration failed - duplicate name - ioncube_file_info in Unknown on line 0
    [18-Nov-2006 04:49:03] PHP Warning:  Function registration failed - duplicate name - ioncube_file_properties in Unknown on line 0
    [18-Nov-2006 04:49:03] PHP Warning:  Function registration failed - duplicate name - ioncube_file_not_permissioned in Unknown on line 0
    [18-Nov-2006 04:49:03] PHP Warning:  Function registration failed - duplicate name - ioncube_license_properties in Unknown on line 0
    [18-Nov-2006 04:49:03] PHP Warning:  Function registration failed - duplicate name - ioncube_licensed_servers in Unknown on line 0
    [18-Nov-2006 04:49:03] PHP Warning:  Function registration failed - duplicate name - ioncube_server_data in Unknown on line 0
    [18-Nov-2006 04:49:03] PHP Warning:  Function registration failed - duplicate name - _dyuweyrj4 in Unknown on line 0
    [18-Nov-2006 04:49:03] PHP Warning:  Function registration failed - duplicate name - _dyuweyrj4r in Unknown on line 0
    [18-Nov-2006 04:49:03] PHP Warning:  Function registration failed - duplicate name - ioncube_check_license_properties in Unknown on line 0
    [18-Nov-2006 04:49:03] PHP Warning:  Function registration failed - duplicate name - ioncube_license_matches_server in Unknown on line 0
    [18-Nov-2006 04:49:03] PHP Warning:  Function registration failed - duplicate name - ioncube_license_has_expired in Unknown on line 0
    [18-Nov-2006 04:49:03] PHP Warning:  Function registration failed - duplicate name - ioncube_read_file in Unknown on line 0
    [18-Nov-2006 04:49:03] PHP Warning:  Function registration failed - duplicate name - ioncube_write_file in Unknown on line 0
    [18-Nov-2006 04:49:03] PHP Warning:  Function registration failed - duplicate name - ioncube_loader_version in Unknown on line 0
    [18-Nov-2006 04:49:03] PHP Warning:  Function registration failed - duplicate name - ioncube_loader_iversion in Unknown on line 0
    [18-Nov-2006 04:49:03] PHP Warning:  ionCube Loader:  Unable to register functions, unable to load in Unknown on line 0
    I have this in php.ini

    zend_extension = /usr/local/ioncube/ioncube_loader_lin_4.3.so

    I did also have 2 more lines for 4.4. and 5.1, which I've removed.

    Also, outgoing mail shows [email protected]

    How do I remove the hostname and replace with clients' domains as it should be instead?

    In exim config, this is what I have

    Always set the "Sender:" header = off
    Verify the existence of email senders. = off
    Use callouts to verify the existence of email senders. = on

    Third ODD problem:

    One domain's dns looks proper and all with correct IP. However, page does not show up (404) and dns report shows
    0.0.0.1 as the IP. What could be the problem?
    Last edited by Zion Ahead; 11-18-2006 at 11:44 AM.

  2. #2
    Join Date
    Dec 2005
    Location
    Internet
    Posts
    1,337
    May be ioncube not installed properly? whats the result of #php -v ?

  3. #3
    Join Date
    Nov 2006
    Posts
    74
    PHP 4.4.4 (cli) (built: Oct 24 2006 23:42:06)
    Copyright (c) 1997-2006 The PHP Group
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
    with the ionCube PHP Loader v3.1.16, Copyright (c) 2002-2006, by ionCube Ltd., and
    with Zend Extension Manager v1.0.10, Copyright (c) 2003-2006, by Zend Technologies
    with Zend Optimizer v3.0.1, Copyright (c) 1998-2006, by Zend Technologies

  4. #4
    Join Date
    Dec 2005
    Location
    Internet
    Posts
    1,337
    Seems to be an incompatibility with the php. Possible for you to recomplile apach/php and check the same again?

  5. #5
    Join Date
    Nov 2006
    Posts
    74
    Recompile again with 4.4.4?

    By the way, whats the proper way to rotate apache logs on cpanel box?

  6. #6
    Join Date
    Dec 2005
    Location
    Internet
    Posts
    1,337
    Yeah, try recompliling with the same version. See http://forums.cpanel.net/showthread....te+apache+logs here to know more informations about apache log rotation.
    Senior Server Administrator

  7. #7
    Join Date
    Mar 2002
    Location
    London & Kent, UK
    Posts
    372
    The duplicate names are the give away here, and show the Loader extension is being installed more than once. Check that you don't have more than one php.ini file that's being processed, and possibly one that is specific to ionCube that you did not notice before adding the Loader yourself. You can check this by looking at a phpinfo page and looking to see whether there are additional php.ini files being parsed. This information is near the start of the phpinfo output. If there are, check carefully to see if one looks ionCube related.

    Note too that the number in the Loader naming convention is the PHP version, not OS version or component version. As you have PHP 4.4, use the Loader with 4.4 in its name.

    Lastly you're rather behind with your Loader version. Grab the latest Loader version from http://loaders.ioncube.com which as well as minor revisions, as of 3.1.23 supports wildcard domain name matching in encoded files and license files. Then if you are provided with any files using wildcard domains, your system will be able to process them.
    Last edited by phpa; 11-19-2006 at 08:37 AM.
    Real-time intrusion protection and error reporting for PHP sites ioncube24.com
    Software protection for website owners and PHP developers ionCube PHP Encoder

  8. #8
    Join Date
    Nov 2006
    Posts
    74
    Anyone know about this 2nd problem?

    How do I remove the hostname and replace with clients' domains as it should be instead?

    In exim config, this is what I have

    Always set the "Sender:" header = off
    Verify the existence of email senders. = off
    Use callouts to verify the existence of email senders. = on

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •