Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Jan 2009
    Posts
    84
    Plugin Contributions
    0

    Default errors after trying to backup

    i cant seem to get into the admin page or view any part of the shop directory after i tried to do a backup. you can see the error using the link below.

    http://modwerx.com/shop/

    i always look at the tutorial in the support section but i forgot to click on the ZC database this time. i only tried to export and the only other thing that was done was that the /shop folder on the server was downloaded for backup. the best backup i have is from nov. of '09. anyone know if i may be able to fix this?

    this is the error from the admin login:

    0 DB_ERROR_NOT_CONNECTED
    in:
    [select * from zen_project_version WHERE project_version_key = 'Zen-Cart Database' ]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: errors after trying to backup

    Quote Originally Posted by modwerx View Post
    i cant seem to get into the admin page or view any part of the shop directory after i tried to do a backup. you can see the error using the link below.

    http://modwerx.com/shop/
    Shop seems to be working now???

    Cheers
    Rod

  3. #3
    Join Date
    Jan 2009
    Posts
    84
    Plugin Contributions
    0

    Default Re: errors after trying to backup

    Quote Originally Posted by RodG View Post
    Shop seems to be working now???

    Cheers
    Rod
    i called bluehost support last night and the lady found out a file permission somehow got changed so you can view the site now but the admin page error is still showing up.

  4. #4
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: errors after trying to backup

    Quote Originally Posted by modwerx View Post
    i called bluehost support last night and the lady found out a file permission somehow got changed so you can view the site now but the admin page error is still showing up.
    On this basis you'll need to call them again to check the file permissions in the admin section.

    There's no point in looking for the cause elsewhere until the rest of the file permissions have be thoroughly checked and verified.

    Cheers
    Rod

  5. #5
    Join Date
    Jan 2009
    Posts
    84
    Plugin Contributions
    0

    Default Re: errors after trying to backup

    the second guy at bluehost restored the site from a backup from 4/2/10 but since i still didnt have a backup i tried to backup the site again last night and the same thing has happened again. this time i followed the tutorial to the letter so i have no idea what the heck is going on.

  6. #6
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: errors after trying to backup

    Quote Originally Posted by modwerx View Post
    the second guy at bluehost restored the site from a backup from 4/2/10 but since i still didnt have a backup i tried to backup the site again last night and the same thing has happened again. this time i followed the tutorial to the letter so i have no idea what the heck is going on.
    Exactly which tutorial was it that you followed? (It may give a clue in regards to what may have gone wrong with your attempts)

    Cheers
    Rod

  7. #7
    Join Date
    Jan 2009
    Posts
    84
    Plugin Contributions
    0

    Default Re: errors after trying to backup

    Quote Originally Posted by RodG View Post
    Exactly which tutorial was it that you followed? (It may give a clue in regards to what may have gone wrong with your attempts)

    Cheers
    Rod
    https://www.zen-cart.com/tutorials/i...hp?article=103

    this is the one for backing up the DB that i used. the guy i talked to today opened a support ticket but everytime ive tried to backup it seems to lock the DB up..

    also im using 1.3.8a ZC install

  8. #8
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: errors after trying to backup

    Quote Originally Posted by modwerx View Post
    https://www.zen-cart.com/tutorials/i...hp?article=103

    this is the one for backing up the DB that i used.
    I can't see anything in this tutorial that would shed any light on the problem, so a couple more questions are in order.

    Firstly, the tutorial mentioned gives details on how to backup and restore the DB. Could you please confirm that the problems arise only after doing a backup rather than after a restore.

    Secondly, when you perform the backup, can the backup file be found on your local computer (PC) ok? Is this file readable? (can it be unzipped without error)

    Are there any other clues that may be relevant? (EG: Error or warning messages during the backup process)

    Cheers
    Rod

  9. #9
    Join Date
    Jan 2009
    Posts
    84
    Plugin Contributions
    0

    Default Re: errors after trying to backup

    this was the support ticket from bluehost:

    Customer did an Export of their database through phpMyAdmin. For modwerx_zencart.
    After that the website started getting errors. They called in then and got their site restored. Support person told them that it was changing some permissions.

    They then went today/last night to do another backup by exporting through phpmyadmin.
    They download the SQL file succesfully.
    No errors.
    But then their website stops working again. http://modwerx.com/shop/

    http://modwerx.com/shop/ blahblah/ is their zencart admin login that is also erroring.

    He tried doing an Import through phpmyadmin and it went ok with no errors.
    Yet the website still doesn't work.

    Doing a database repair did not fix the problem: http://helpdesk.bluehost.com/index.p...article/000496



    and this is the response:

    It appears you're using the primary username as your MySQL user in your ~/public_html/shop/includes/configure.php settings file; This is not recommended, as it is neither secure nor stable.

    The recommended method is to create a unique user for this username, and assign that username to the database it's connecting to. You can make a new user from cPanel > Databases > MySQL databases; Please see https://tutorials.bluehost.com/mysql/, which covers the creation and assignment of the user; Once the user is created, you'll open the ~/public_html/shop/includes/configure.php file and update lines 53 and 54 with the new database username and database password you created and assigned--You can do this with either File Manager > Code Edit (cPanel > Files > File Manager, "Web Root", "Go") or by downloading it to your PC via FTP, modifying then uploading the corrected file.

    This should correct your problem.

    If you would like us to do this for you, please provide the last 4 characters of the cPanel password, OR the last 4 digits of the credit card used to purchase or renew the account most recently, and we can do so.

    Thank you,
    Chad
    Level II Tech Support Engineer



    i opted to let them change the info for me and it restored access to the main website but not the admin section. the admin section still says:

    0 DB_ERROR_NOT_CONNECTED
    in:
    [select * from zen_project_version WHERE project_version_key = 'Zen-Cart Database' ]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields

  10. #10
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: errors after trying to backup

    Your DB_xxxxxx settings in your /admin/includes/configure.php file need to match the settings in your /includes/configure.php file.
    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Help Admin Errors after trying to set up SSL
    By KRW Knitwear in forum Basic Configuration
    Replies: 1
    Last Post: 3 Jun 2010, 04:40 PM
  2. Backup MSQL errors
    By gcampos in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 15 Nov 2007, 08:49 PM
  3. Help, database errors, in reloading backup
    By shelbydog in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 23 Oct 2006, 09:33 AM

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