Page 4 of 7 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 62
  1. #31
    Join Date
    Jul 2012
    Posts
    16,735
    Plugin Contributions
    17

    Default Re: Upgrade Failed (Was "Smart Characters And Timeouts")

    Quote Originally Posted by DK_Scully View Post
    Am I going to have to blow away all the work I've done and start fresh with a clean installation? :-/
    No. All of the basics just need to align. When the password was changed in cPanel did the change get carried over to the includes/configure.php and admin/includes/configure.php files (remembering to chmod 0644 on includes/configure.php before uploading).

    And do all of the other parts of the DB_ fields match the database credentials?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #32
    Join Date
    Jan 2011
    Posts
    339
    Plugin Contributions
    0

    Default Re: Upgrade Failed (Was "Smart Characters And Timeouts")

    I edited the two configure.php files and re-uploaded them, and now the error message is back to "ERROR 0071: There appears to be a problem with the database. Maintenance is required." So at least we're back to where we were earlier.

    I removed zc_ from both files as previously instructed. What else should I be looking for?

  3. #33
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,524
    Plugin Contributions
    88

    Default Re: Upgrade Failed (Was "Smart Characters And Timeouts")


  4. #34
    Join Date
    Jan 2011
    Posts
    339
    Plugin Contributions
    0

    Default Re: Upgrade Failed (Was "Smart Characters And Timeouts")

    I'd already read that, but to be honest it's not telling me anything useful. I had over 100 entries in the shopping cart so the tables shouldn't be empty unless the upgrade process destroyed them, and I didn't migrate the cart to or from a different server.

  5. #35
    Join Date
    Jul 2012
    Posts
    16,735
    Plugin Contributions
    17

    Default Re: Upgrade Failed (Was "Smart Characters And Timeouts")

    Quote Originally Posted by DK_Scully View Post
    I'd already read that, but to be honest it's not telling me anything useful. I had over 100 entries in the shopping cart so the tables shouldn't be empty unless the upgrade process destroyed them, and I didn't migrate the cart to or from a different server.
    OK, so you've been into the database manager already. How many tables are in the database associated with this installation? I would expect around 100.

    When you look through the tables, let's assume that you have one that is just named admin, how many records are in it? Does the admin user name look familiar to you?

    Was zc_install run against this database having the same DB_PREFIX as currently entered and where UPGRADE was selected instead of Install?

    The FAQ provided was one I too was going to suggest, but see from the response that it doesn't spark ideas for you on what may have caused this change in condition.

    You've mentioned changes in the configure.php files. Don't you still have the original ones? Use of them should make it possible to at least reference the original condition of the store...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #36
    Join Date
    Jan 2011
    Posts
    339
    Plugin Contributions
    0

    Default Re: Upgrade Failed (Was "Smart Characters And Timeouts")

    To be perfectly honest, I don't really know what I'm looking at. I'm not a programmer; I'm just an author who was pressed into the job because I know more than anyone else around here. Which isn't all that much. I was originally an html coder, and have learned bits and pieces of php very slowly and painfully...just enough to be able to modify settings to make the ZenCarts look the way the site owners wanted. That's where my coding knowledge ends.

    I don't really understand databases at all; I know how to use the MySQL Database Wizard wizard to create one, but beyond that I don't know what to do with them. (I'm very good at populating the carts with listings, though. I'm much more of an end-user than a steam-tunnel person.)

    Yes, I still have the original configure.php files as part of the complete zencart backups I did before risking this upgrade. When I modified them, I created a new folder that mirrored the Zencart structure and saved the altered copies there. (I'm not totally clueless. LOL)

    What should I be looking for? I'm happy to pore through the files and give you what answers I can if I know what I'm looking for...I just need some guidance.

    Thank you to EVERYONE who's responded and tried to help! I'm sorry I'm not being much help in return. I am trying!

  7. #37
    Join Date
    Jul 2012
    Posts
    16,735
    Plugin Contributions
    17

    Default Re: Upgrade Failed (Was "Smart Characters And Timeouts")

    OK. So, then you haven't totally shot yourself in the foot is what I am understanding. You have a new fileset in a place other than your live store. I say that, though I hope that the database being used for this upgrade is actually a different storage location but has the same data as your live store.

    So, step back a moment. The store is basically made up of two things. A set of files and a database. You have created a new set of files in a slightly different location. That is very much like addressing what is in this FAQ: http://www.zen-cart.com/content.php?...that-directory

    Following the above allows you to understand what changes are necessary to accomodate the file aspect of locating the store on the same server but somewhere slightly different.

    Now though, the database side. Usually the database will have the same DB_SERVER between two installs on the same server. For a situation like this and doing an upgrade as commented upon several times, it is easiest to use the same DB_PREFIX between two installs where one is an upgrade. (here easiest can mean fastest also). To have the same DB_PREFIX between two installs either the host or the database references must be different from each other if they are both on the same server.

    So. Both of these things (file locations and the database) are governed by the configure.php files. The DIR_ type defines are about file/folder locations, the DB_ type defines are about the database.
    DIR_FS_ is about the file system or file server where DIR_WS_ is about the Web site or web server.

    The issues currently are about DB_ type things.

    Now, understand that the username and passwords are to remain private so if questions are asked about them now or in your future, it is suggested that you review them and perhaps answer back that they are the same, or different in some way... but it is not advised that those portions of the credentials get posted....

    So, would want you to compare the two sets of DB_ credentials. There are two major comparisons of interest. Compare the two files within a store (includes/configure.php to admin/includes/configure.php) and a set of files to the same on the "other" install (includes/configure.php to includes/configure.php and then the two admin files to each other).

    In the first comparison, typicalltrying to make sure that the admin is connecting to the same database as the catalog. so if the catalog is working but the admin doesn't sem to be, then that first comparison can be very telling.

    In the case of neither admin/nor catalog is working on a single site, then more than likely a problem with some other aspect of the DB_ data. As suggested, start with DB_PREFIX. Then branch out to the other DB_ fields. How do they compare, what do you know about whatever extra things have been setup. Remember, you don't want to prevent the active store from working, so don't make everything match exactly between the two sites yet... also if haven't done so recently, suggest making a backup of the database for your live store.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #38
    Join Date
    Jan 2011
    Posts
    339
    Plugin Contributions
    0

    Default Re: Upgrade Failed (Was "Smart Characters And Timeouts")

    Someone PM'd me and offered to troubleshoot the code. I don't know what he did, but he got it working. THANK YOU!!!!!!!!!!! to everyone who responded and tried to help this pitiful php moron, but especially thanks to him for fixing it for me!!!!

  9. #39
    Join Date
    Jan 2011
    Posts
    339
    Plugin Contributions
    0

    Default Re: Follow-Up Question - Upgrade Failed (Was "Smart Characters And Timeouts")

    One last question (I hope):

    Is the directory structure supposed to be a long hard-to-read list down the left side of the screen instead of drop-down menus along the top like before? If not, something is still wrong and needs to be fixed, because it's very difficult to work with.

    Monday 29 Jul 2019 01:32:15 PM -0500 GMT [97.103.136.248]
    cloud1040.hostgator.com - America/Chicago - en_US
    Admin Home
    Storefront
    Support
    Version
    Account
    Logoff

    Toggle navigation

    Configuration
    My Store
    Minimum Values
    Maximum Values
    Images
    Customer Details
    Shipping/Packaging
    Product Listing
    Stock
    Logging
    E-Mail Options
    Attribute Settings
    GZip Compression
    Sessions
    Regulations
    GV Coupons
    Credit Cards
    Product Info
    Layout Settings
    Website Maintenance
    New Listing
    Featured Listing
    All Listing
    Index Listing
    Define Page Status
    EZ-Pages Settings
    Catalog

    Categories/Products
    Product Types

    ...and so on. The first and last several are all white text on the white background, which makes them even more difficult to work with...and then the actual fields I need are way down at the bottom of the screen.

    When I click Toggle Navigation, it doesn't especially help...the fields I need do move up the screen, but the long list remains and overwrites them so it's even harder to read. Then if I change the screen or refresh it, they move back down to the very bottom again.

    Added to that, when I create a duplicate listing so I can reuse the template we've created, there's no way to edit the new entry. It just shows M, C, and A to the right of the listing. I can only toggle it active or inactive; I can't edit it at all. The only way I can edit anything is to create a new listing from scratch, which just isn't acceptable.

    Thank you for your help!
    Last edited by DK_Scully; 29 Jul 2019 at 07:45 PM.

  10. #40
    Join Date
    Jan 2011
    Posts
    339
    Plugin Contributions
    0

    Default Re: Follow-Up Question - Upgrade Failed (Was "Smart Characters And Timeouts")

    ...AND there's no way to edit existing entries, either. What gives???

 

 
Page 4 of 7 FirstFirst ... 23456 ... LastLast

Similar Threads

  1. v139g Any Templates for Smart Phones and Tablets?
    By irishshopper in forum Addon Templates
    Replies: 1
    Last Post: 20 Mar 2013, 12:36 AM
  2. blank page/connection timeouts
    By JaysShop in forum General Questions
    Replies: 15
    Last Post: 3 Mar 2011, 09:41 PM
  3. Ajax requests and session timeouts
    By lumpylumpy in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 24 Dec 2010, 02:23 PM
  4. CyberSource TimeOuts on checkout
    By icecold in forum Addon Payment Modules
    Replies: 4
    Last Post: 17 Mar 2009, 07:16 AM
  5. Session Timeouts !!
    By Scrat in forum General Questions
    Replies: 0
    Last Post: 7 Apr 2007, 08:41 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR