Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23
  1. #11
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Hitting a wall with installation : blank screen

    Looks like the server has XCACHE installed. Replace the original "/zc_install/index.php" from Zen Cart 1.5.4.

    Then (based on the output from phpinfo) open up "/zc_install/index.php" and change the following lines.

    FROM:
    Code:
    if (function_exists('apc_clear_cache')) @apc_clear_cache();
    //XCACHE
    if (function_exists('xcache_clear_cache')) @xcache_clear_cache();
    //EA
    TO:
    Code:
    if (function_exists('apc_clear_cache')) @apc_clear_cache();
    //XCACHE
    if (function_exists('xcache_clear_cache')) {
      @ini_set('xcache.cacher', 'OFF');
    }
    //EA
    And try the installation again with the changes above.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  2. #12
    Join Date
    Jan 2015
    Location
    On, Canada
    Posts
    40
    Plugin Contributions
    0

    Default Re: Hitting a wall with installation : blank screen

    That line change seemed to work, Thanks! Now to start the install.

  3. #13
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Hitting a wall with installation : blank screen

    Awesome. Let us know how the install and upgrade goes :)


    It may be useful for future reference to know what error was being thrown by "xcache_clear_cache()". If you find some time (this will bring back the blank page error), can you try running the original Zen Cart 1.5.4 code with the "@" removed from the front of that function call? And then providing any error message shown (or debug log)?

    Code:
    //XCACHE
    if (function_exists('xcache_clear_cache')) xcache_clear_cache();
    //EA
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  4. #14
    Join Date
    Jan 2015
    Location
    On, Canada
    Posts
    40
    Plugin Contributions
    0

    Default Re: Hitting a wall with installation : blank screen

    Ok, so I'm hitting the next speedbump and could use some help.

    I've installed Zencart 1.5.4 successfully, it's there, admin works, cart works, database works.

    Next step is importing my old database from 1.3.8a

    I've exported the old database and included these attributes:
    Add DROP TABLE
    Add IF NOT EXISTS
    Add AUTO_INCREMENT value
    Enclose table and field names with backquotes

    Since in my earlier attempts I ran across the error: #1050 - Table 'address_book' already exists and found the above solution in another thread.

    With a long chain involving my host doing the imports since I couldn't get anything to import through phpmyadmin, they managed to import the old database into the new zencart database and didn't report any errors.

    When going to admin, there's a zencart error about problems connecting to database, I think this is expected since nothing has been upgraded yet.

    Then the wall hits.
    I try running zc_install again and the database upgrade option isn't coming up? What step should it come up?
    The old and new DB's both have the same prefixes, do they also need the same name as well?

    So if anyone can point me in the right direction, it would help alot.

  5. #15
    Join Date
    Jan 2015
    Location
    On, Canada
    Posts
    40
    Plugin Contributions
    0

    Default Re: Hitting a wall with installation : blank screen

    Warning when I enter the admin: WARNING: An Error occurred, please refresh the page and try again.


    Found this in the log about when I try to enter the admin:

    [07-Jan-2015 11:05:43 America/Toronto] PHP Warning: mysqli_connect(): (28000/1045): Access denied for user 'northfur_zencart'@'localhost' (using password: YES) in /home/northfur/public_html/includes/classes/db/mysql/query_factory.php on line 62

  6. #16
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Hitting a wall with installation : blank screen

    Quote Originally Posted by Northfur View Post
    Warning when I enter the admin: WARNING: An Error occurred, please refresh the page and try again.


    Found this in the log about when I try to enter the admin:

    [07-Jan-2015 11:05:43 America/Toronto] PHP Warning: mysqli_connect(): (28000/1045): Access denied for user 'northfur_zencart'@'localhost' (using password: YES) in /home/northfur/public_html/includes/classes/db/mysql/query_factory.php on line 62
    Another user ran across this error yesterday... Don't/didn't by chance have the phpBB option turned on in the old(er) store did you?

    But, to go further, because no additional helpful information was provided in the error log, suggest installing lat9s myDebug backtrace: http://www.zen-cart.com/downloads.php?do=file&id=1879

    then, force the error again and check the log for results.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

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

    Default Re: Hitting a wall with installation : blank screen

    Quote Originally Posted by Northfur View Post
    Ok, so I'm hitting the next speedbump and could use some help.

    I've installed Zencart 1.5.4 successfully, it's there, admin works, cart works, database works.

    Next step is importing my old database from 1.3.8a

    I've exported the old database and included these attributes:
    Add DROP TABLE
    Add IF NOT EXISTS
    Add AUTO_INCREMENT value
    Enclose table and field names with backquotes

    Since in my earlier attempts I ran across the error: #1050 - Table 'address_book' already exists and found the above solution in another thread.

    With a long chain involving my host doing the imports since I couldn't get anything to import through phpmyadmin, they managed to import the old database into the new zencart database and didn't report any errors.

    When going to admin, there's a zencart error about problems connecting to database, I think this is expected since nothing has been upgraded yet.

    Then the wall hits.
    I try running zc_install again and the database upgrade option isn't coming up? What step should it come up?
    The old and new DB's both have the same prefixes, do they also need the same name as well?

    So if anyone can point me in the right direction, it would help alot.
    This error is not expected... A database connection error is never considered a normal response in an upgrade.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #18
    Join Date
    Jan 2015
    Location
    On, Canada
    Posts
    40
    Plugin Contributions
    0

    Default Re: Hitting a wall with installation : blank screen

    I think it's resolved now....

    My host changed the password on my database when they imported the tables.
    I went through the database upgrade steps and it seems to be working with both the admin and front end, now to install modules.

  9. #19
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Hitting a wall with installation : blank screen

    Quote Originally Posted by Northfur View Post
    I think it's resolved now....

    My host changed the password on my database when they imported the tables.
    I went through the database upgrade steps and it seems to be working with both the admin and front end, now to install modules.
    That was the next thought based on the error including using password: YES and a feeling based on the number of hands that have been involved to get through this upgrade.

    Congrats, you're almost there!
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #20
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Hitting a wall with installation : blank screen

    Given all the difficulties you've had with importing the database, I'm inclined to ask: who's the hosting company?
    Don't they provide standard tools like phpMyAdmin to manage database data?
    .

    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 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. v154 Blank Screen After Upgrade (fixed) but now blank screen after login!
    By Kias Henry in forum Upgrading to 1.5.x
    Replies: 6
    Last Post: 23 Jun 2015, 07:32 PM
  2. Help with blank screen problems
    By myth3_16 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 7
    Last Post: 4 Nov 2010, 09:43 PM
  3. blank screen with Google Checkout
    By RoutersWholesale in forum Addon Payment Modules
    Replies: 1
    Last Post: 13 May 2010, 07:08 AM
  4. Blank Screen After Installation on Fedora 12
    By LeeDuke in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 11 Feb 2010, 06:48 AM
  5. Solution: Blank screen on installation
    By Eckhart in forum Installing on a Windows Server
    Replies: 1
    Last Post: 22 Sep 2008, 07:08 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