Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2007
    Location
    Mount Maunganui, New Zealand
    Posts
    419
    Plugin Contributions
    0

    Default Connecting files to database after backup uploaded

    Hi,
    I had to fully upload a backup of my website files to our host today.
    The database was not touched and is still intact.

    After doing so I only get the homepage of the site showing.
    Clicking categories etc. comes up 'not found'

    Admin is blank.

    I'm in a panic to get the thing connected as it's our busiest week.
    So hoping someone might help. (I'm of course trying hard to find solution through threads right now too)

    Does uploading configure files or zencart/install help?
    As a side note, I don't recall if I'm running 1.54 or 1.55 as I can't see admin right now...

    Appreciate a starting point thanks!

  2. #2
    Join Date
    Jul 2012
    Posts
    16,813
    Plugin Contributions
    17

    Default Re: Connecting files to database after backup uploaded

    First, a blank page will likely create a mydebug log in your logs folder as identified by: http://www.zen-cart.com/content.php?124-blank-page

    The fact that your main page comes up means that there are things that have worked correctly as related to your includes/configure.php file. So your database is correctly referenced.

    Why did you have to upload your files again?

    There could be a file (or several) that are present that are causing some sort of conflict when trying to load. Also, one or more files may not have uploaded completely/correctly and may need to be uploaded again. (what was used to upload the files?)

    Have you cleared the browser cache/cookies or tried another browser?

    You can tell the version of files now on the server by looking in includes/version.php
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jul 2012
    Posts
    16,813
    Plugin Contributions
    17

    Default Re: Connecting files to database after backup uploaded

    Looking at the front of your site now
    Code:
    http://www . partydudes . co . nz/
    : your problem is the .htaccess in the root of the site or other implementation issue with your uri rewriter.

    Not sure why your admin is a problem unless it is tied into an issue with that file.
    Last edited by mc12345678; 8 Oct 2017 at 02:19 AM.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Jan 2007
    Location
    Mount Maunganui, New Zealand
    Posts
    419
    Plugin Contributions
    0

    Default Re: Connecting files to database after backup uploaded

    Thanks so much for replying.
    I confirmed I have version 1.54
    All files seem to have uploaded correctly.

    I only seem to have a .htaccess file in the root of my hosting account.
    (Not in my partydudes folder itself)
    So it wasn't changed or re uploaded. But I don't know what to do with that file...
    I'm only able to use cPanel file manager today, but seems useable.

    What triggers you to know that it might be a url rewritter problem? (I don't have a clue what to do)

    I have the host hopefully uploading a more recent backup of my site tomorrow, but I guess the problem may still exist...

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

    Default Re: Connecting files to database after backup uploaded

    Quote Originally Posted by mcpisik View Post
    Thanks so much for replying.
    I confirmed I have version 1.54
    All files seem to have uploaded correctly.

    I only seem to have a .htaccess file in the root of my hosting account.
    (Not in my partydudes folder itself)
    So it wasn't changed or re uploaded. But I don't know what to do with that file...
    I'm only able to use cPanel file manager today, but seems useable.

    What triggers you to know that it might be a url rewritter problem? (I don't have a clue what to do)

    I have the host hopefully uploading a more recent backup of my site tomorrow, but I guess the problem may still exist...
    The trigger is/was that when I attempted some random link on the page, not only did I also get a page not found error, but the path identified was "human" readable, instead of something like: index.php?main_page%roduct_info&products_id=125 (which when entered also provides an error at this time, but when I had randomly selected 25 before it went to a "product-not-found" error that was generated by ZC rather than apache.

    The contents of the htaccess file are important to the operation or modification of normal operation when a uri rewriter is used. It could reside in the sub-directory of your host account that is the root of your online account or it could be more to the left when you are considering the path to get to that folder. But for the site to work properly with a uri rewriter, such a file is required.

    If you post the contents here (having pressed the # button in the message box toolbar before pasting), then it can be reviewed to try to set things straight. If when looking through it, you see things like the name of your admin directory you can change that to admin instead of what it is called. Also, you can change say ip numbers to something generic but don't be surprised to be asked about the relationship of those numbers to those of your domain name. Basically try to protect the innocent.

    The other thing since you're working with ZC 1.5.4, your host didn't upgrade the php version to 7.x did they?

    Can temporarily generate a file with the name of your choosing that has an extension of .php that contains the following:
    Code:
    <?php echo phpinfo();
    Then call the file and the php version should be visible towards the top of the screen.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. No Admin After Restoring Database & Store Backup Files
    By eulador in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 18 Jul 2011, 06:11 AM
  2. Uploaded a backup
    By fw541c in forum General Questions
    Replies: 0
    Last Post: 7 Nov 2010, 01:48 AM
  3. Replies: 11
    Last Post: 28 Aug 2009, 06:46 PM
  4. reconnecting to Database after connecting to PhpBB database.
    By rainthebat in forum General Questions
    Replies: 0
    Last Post: 6 Feb 2008, 09:31 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