Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Join Date
    Jun 2008
    Posts
    255
    Plugin Contributions
    0

    Default Upgraded Database from 139h to 154/ Store and Admin is Blank

    I have upgraded the database from 139h to 154.

    Now both the store and admin pages are blank. I have tried looking under /logs to see debug info when trying to access both but there are no debug files on it.

    I am not sure how to fix it without knowing what is going on when I am trying to access both files.

    PHP 5.4, on new server.

    The store files are all new install 1.54. I cleaned up the database from 139 to remove any tables not associated with the original store. Instead of hitting install, I did an upgrade instead so that the database is upgraded but the store files are all 1.54 as I said.

    Is there any other way I can see what is preventing me from viewing both pages?

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

    Default Re: Upgraded Database from 139h to 154/ Store and Admin is Blank

    There is this FAQ: http://www.zen-cart.com/content.php?124-blank-page

    Might have to apply the advanced trobleshooting at the bottom.

    There's also this thread, related to known issues with installing ZC 1.5.4: http://www.zen-cart.com/showthread.p...s)-with-v1-5-4
    Last edited by mc12345678; 7 Nov 2015 at 03:44 PM.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jun 2008
    Posts
    255
    Plugin Contributions
    0

    Default Re: Upgraded Database from 139h to 154/ Store and Admin is Blank

    I have tried this:

    Made sure the logs folder is writable **yes**

    Advanced trouble shooting.
    Created a folder/ local and file configure.php with code:
    <?php
    define('STRICT_ERROR_REPORTING', true);

    Tried to access file again.

    Still blank, no error messages on screen.

    No debug file on folder/logs

    What else can I try?

  4. #4
    Join Date
    Jun 2008
    Posts
    255
    Plugin Contributions
    0

    Default Re: Upgraded Database from 139h to 154/ Store and Admin is Blank

    I have not deleted the zc_install folder. If I try to run the upgrade again, it tells me that I already have a database that is 1.54.

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Upgraded Database from 139h to 154/ Store and Admin is Blank

    I did an upgrade instead so that the database is upgraded but the store files are all 1.54 as I said.
    You should have installed it first - then import your current DB - then re-run zc_install to upgrade the DB
    https://www.zen-cart.com/content.php...-zen-cart-site
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Jun 2008
    Posts
    255
    Plugin Contributions
    0

    Default Re: Upgraded Database from 139h to 154/ Store and Admin is Blank

    Ok, so I went ahead and installed the new zencart which wiped out my database.

    Now I am able to see my store front but when I try to access my admin, this is the error I get:

    [09-Nov-2015 16:01:04] PHP Parse error: syntax error, unexpected T_STATIC in /***address here***/includes/classes/class.admin.zcObserverLogEventListener.php on line 118

    (the address here is the actual path to zencart which I removed for privacy reasons)

    This is a new zencart with wiped out database. I have not removed the zc_install yet since I will be importing my old database then doing the upgrade again after I have inspected both store and admin are working ok.

    Please help. thanks!

  7. #7
    Join Date
    Jun 2008
    Posts
    255
    Plugin Contributions
    0

    Default Re: Upgraded Database from 139h to 154/ Store and Admin is Blank

    So I googled the error and it seems that the server is using an old php? Although this is Blue Host and it shows that they are currently using php 54.

    But I went ahead and did the work around making some code change on line 118.

    I got in, but now something very strange is on screen. It just shows the back end with zencart, no menu, nothing, nada.

    There are no error logged into the log file.

    Any idea what is going on?
    Attached Images Attached Images  

  8. #8
    Join Date
    Jul 2012
    Posts
    16,719
    Plugin Contributions
    17

    Default Re: Upgraded Database from 139h to 154/ Store and Admin is Blank

    I believe one of the other identified issues posts in this thread helps with the issue. It would appear that your system is currently running PHP 5.2.17. If your cpanel says otherwise perhaps there is something further that needs to be done for the store to see a higher PHP version.

    http://www.zen-cart.com/showthread.p...s)-with-v1-5-4

    If not mistaken the one that relates to viewing the source code and then commenting out a portion of the code so that the system time portion "works" is what applies. Specifcally: https://www.zen-cart.com/showthread....04#post1270404
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #9
    Join Date
    Jun 2008
    Posts
    255
    Plugin Contributions
    0

    Default Re: Upgraded Database from 139h to 154/ Store and Admin is Blank

    Hi,

    Oh that worked!

    But it is strange, I verified with Blue Host, they are running PHP Version 5.4.24.

    Ok, so now that I have this running, the next step is to drop tables on the current database, import my old database then run zc_install again, this time choose upgrade.

    Right?

  10. #10
    Join Date
    Jul 2012
    Posts
    16,719
    Plugin Contributions
    17

    Default Re: Upgraded Database from 139h to 154/ Store and Admin is Blank

    Quote Originally Posted by sunflowertami View Post
    Hi,

    Oh that worked!

    But it is strange, I verified with Blue Host, they are running PHP Version 5.4.24.

    Ok, so now that I have this running, the next step is to drop tables on the current database, import my old database then run zc_install again, this time choose upgrade.

    Right?
    Effectively yes.... Would suggest uploading the zc_install folder again as historically have seen that one or more files in it have either been altered or removed as part of the original use... (Also is part of the described instructions of: http://www.zen-cart.com/entry.php?3-...d-of-upgrading)

    There are other factors that might affect the install/database upgrade... It would be my suggestion that if this next "step" doesn't appear successful, that you not do anything extreme. At that point would simply want to troubleshoot/investigate/identify. If all else has been properly performed then there ought to be little to be done.

    Remember that credentials will be associated with the "old" database. At the time of import the database will be of ZC 1.3.9h waiting to be updated to 1.5.4.

    Is the 1.3.9h store still up, operational, and operating?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 7
    Last Post: 12 Apr 2015, 08:38 PM
  2. Manually merging 151 database customer records into a 154 database
    By jmocallghan in forum Upgrading to 1.5.x
    Replies: 9
    Last Post: 28 Feb 2015, 01:31 PM
  3. Upgraded from 1.3.7 o 1.3.9 and can't log in to admin
    By saddlebred in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 14 Mar 2011, 10:17 AM
  4. Replies: 9
    Last Post: 4 Nov 2010, 08:43 PM
  5. upgraded to 1.3.9 admin is blank page and...
    By DarkAngel in forum Upgrading from 1.3.x to 1.3.9
    Replies: 24
    Last Post: 23 Apr 2010, 05:39 AM

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