Page 1 of 2 12 LastLast
Results 1 to 10 of 152

Hybrid View

  1. #1
    Join Date
    Sep 2005
    Location
    Ocala, FL
    Posts
    528
    Plugin Contributions
    0

    Default Re: I just restored to a working date and still not working

    [15-Mar-2016 16:28:19 America/Denver] PHP Fatal error: Cannot redeclare zen_create_random_value() (previously declared in /xxxxx/xxxxx/public_html/includes/functions/functions_general.php:614) in /xxxxx/xxxxx/public_html/includes/functions/password_funcs.php on line 49

    This showed in my cache folder.

  2. #2
    Join Date
    Sep 2005
    Location
    Ocala, FL
    Posts
    528
    Plugin Contributions
    0

    Default Re: I just restored to a working date and still not working

    files keep coming into my cache folder.

  3. #3
    Join Date
    Sep 2005
    Location
    Ocala, FL
    Posts
    528
    Plugin Contributions
    0

    Default Re: I just restored to a working date and still not working

    Does this look ok?
    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', '/xxxxx/xxxxx/public_html/cache');
    define('DIR_FS_LOGS', '/xxxxxx/xxxxx/public_html/logs');

    // EOF

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: I just restored to a working date and still not working

    Quote Originally Posted by spawnie69 View Post
    [15-Mar-2016 16:28:19 America/Denver] PHP Fatal error: Cannot redeclare zen_create_random_value() (previously declared in /xxxxx/xxxxx/public_html/includes/functions/functions_general.php:614) in /xxxxx/xxxxx/public_html/includes/functions/password_funcs.php on line 49

    This showed in my cache folder.
    That suggests you've got mixed versions of those files. The zen_create_random_value() function was moved out of one and into the other. So if you're getting that error then one of those files is old and one is new. Maybe you installed files from a plugin that's for a different version, and it "put back" stuff that doesn't belong, or vice versa.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Sep 2005
    Location
    Ocala, FL
    Posts
    528
    Plugin Contributions
    0

    Default Re: I just restored to a working date and still not working

    Please correct me if I'm wrong... it looks like Admin Login as Customer is the plugin that overwrites the 'password_funcs.php' file.

    The functions_general.php is the zc 1.54 stock file.

    Can I just upload these files?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: I just restored to a working date and still not working

    Quote Originally Posted by DrByte View Post
    That suggests you've got mixed versions of those files. The zen_create_random_value() function was moved out of one and into the other. So if you're getting that error then one of those files is old and one is new. Maybe you installed files from a plugin that's for a different version, and it "put back" stuff that doesn't belong, or vice versa.
    Quote Originally Posted by spawnie69 View Post
    Please correct me if I'm wrong... it looks like Admin Login as Customer is the plugin that overwrites the 'password_funcs.php' file.

    The functions_general.php is the zc 1.54 stock file.

    Can I just upload these files?
    To get your site working "normal", I suggest putting the originals back. Then later you can consider merging plugin-related files to make them work if you really still need them.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Sep 2005
    Location
    Ocala, FL
    Posts
    528
    Plugin Contributions
    0

    Default Re: I just restored to a working date and still not working

    Should I just paste files?
    When you say original files just the 1.54 files?

    So pretty much even though a plugin looked OK,they will can cause issues later such as this.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: I just restored to a working date and still not working

    Quote Originally Posted by spawnie69 View Post
    Should I just paste files?
    When you say original files just the 1.54 files?
    We were talking about 2 files: functions_general.php and password_funcs.php. Since you said your site is v1.5.4 then yes I meant to put back the v1.5.4 versions of those files: functions_general.php and password_funcs.php

    And, yes, that probably will break your Admin Login As Customer plugin. To fix that you'll need to either get an updated version of that plugin specific to v154 where someone has already merged the changes into password_funcs.php ... or do that yourself.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Sep 2005
    Location
    Ocala, FL
    Posts
    528
    Plugin Contributions
    0

    Default Re: I just restored to a working date and still not working

    Quote Originally Posted by DrByte View Post
    We were talking about 2 files: functions_general.php and password_funcs.php. Since you said your site is v1.5.4 then yes I meant to put back the v1.5.4 versions of those files: functions_general.php and password_funcs.php

    And, yes, that probably will break your Admin Login As Customer plugin. To fix that you'll need to either get an updated version of that plugin specific to v154 where someone has already merged the changes into password_funcs.php ... or do that yourself.
    Great! I see my site now. But now I can't see my admin login. Is this the part I would need to merge? or can I just delete all the files from the mod. Merging scares the crap out of me. lol
    Last edited by spawnie69; 16 Mar 2016 at 03:57 AM.

  10. #10
    Join Date
    Sep 2005
    Location
    Ocala, FL
    Posts
    528
    Plugin Contributions
    0

    Default Re: I just restored to a working date and still not working

    Its just so odd that icant recover from a known working date.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h International shipping is STILL not working.. Upgrade new module and still nothing..
    By chameleonclogs in forum Addon Shipping Modules
    Replies: 9
    Last Post: 1 Mar 2013, 12:17 AM
  2. v151 language utf8 working and not working
    By marieAA in forum General Questions
    Replies: 12
    Last Post: 28 Jan 2013, 12:50 AM
  3. EZ Pages, Just added a new one, and it's not working
    By stlnyc in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 2 Nov 2011, 03:30 PM
  4. Moving a working store to new domain name and not working
    By ksolito in forum General Questions
    Replies: 8
    Last Post: 19 Jun 2009, 07:44 PM

Posting Permissions

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