Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Dec 2002
    Posts
    5

    Default Help 4.3.1 messed some sites need to downgrade to 4.2.3

    I am lost i used /scripts/easyapache
    When I did installed php 4.3.1
    Now I have 5 sites that are not working

    This is the error
    Fatal error: Cannot redeclare unixdate() Fatal error: Cannot redeclare unixdate() in /home/casheze/public_html/pnadodb/adodb.inc.php on line 1477

    All the sites must be running the same script because all errors are the same.

    How do i downgrade php 4.3.1 back to php 4.2.3

    Any Help Please

    Thank you

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2001
    Posts
    445

    Default

    Is there an issue with going to the script in question on the line specified and commenting out the redeclare? That will make the error go away.
    Annette
    Hosting Matters, Inc.
    http://www.hostmatters.com

  3. #3
    Member
    Join Date
    Oct 2001
    Posts
    651

    Default

    Annette's solution is by far the best one. Just comment out that function declaration in the script. However, if you want to downgrade, you can do so with the easyapache script. I forget when option it is, but one of the options allows you to choose which version you want to run.
    Marty Hoskins
    TLC Web Enterprises

  4. #4
    Member
    Join Date
    Aug 2002
    Posts
    27

    Default

    Originally posted by Marty
    However, if you want to downgrade, you can do so with the easyapache script. I forget when option it is, but one of the options allows you to choose which version you want to run.
    I have the same problem. Some sites do not work anymore.

    Anyone has tried to downgrade their PHP to 4.2.3?
    Will you share your experience when you do /scripts/easyapache?

    Thanks.

  5. #5
    Member
    Join Date
    Jun 2002
    Location
    UK
    Posts
    152

    Default

    Hi,
    See here for a solution to the problem:
    http://news.postnuke.com/modules.php...ticle&sid=2282
    Thanks

  6. #6
    Member
    Join Date
    Apr 2002
    Posts
    27

    Default

    I'm still interested in downgrading from 4.3.1 to a 4.2.x version. Is there a script available in /scripts or does it have to be done manually?

    Has anyone done it and what were your experiences?

  7. #7
    Member
    Join Date
    Feb 2003
    Posts
    190

    Default

    You guys are gonna have to upgrade sometime, as they're probably going to find some security hole that will force you to. It's been out for a while now. May as well ride it out and deal with it now rather than later.

  8. #8
    Member
    Join Date
    May 2002
    Posts
    119

    Default

    Hi all,

    Please try this:

    From the root, please run find /home/username/ -type f -iname '*.php' -exec perl -i -p -e 's/\"LC_TIME\"/LC_TIME/ig' {} \;

    Change the username to any username have a problem on php, it was problem on "LC_TIME"


    Thank you.
    Last edited by mesranet; 03-29-2003 at 11:26 AM.

Similar Threads & Tags
Similar threads

  1. messed up
    By itsmesee in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-16-2007, 10:30 AM
  2. All IP based sites are not resolving to sites.
    By t9clkclnr in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 09-14-2007, 10:18 AM
  3. Hosted Sites unable top lookup(DNS) other sites
    By bomonguny in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-05-2006, 05:09 PM
  4. Messed up nameservers
    By cinder in forum New User Questions
    Replies: 2
    Last Post: 08-25-2004, 07:56 PM
  5. Bind Messed up
    By EliteWebServers in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-23-2004, 03:30 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube