X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Getting blank page and error on import page 5.2 (https://forum.x-cart.com/showthread.php?t=71705)

skit 03-26-2015 12:28 PM

Getting blank page and error on import page 5.2
 
I am getting the following error when i click on the import link in the left nav in admin.

[26-Mar-2015 15:54:55] PHP Fatal error: Can't inherit abstract function Countable::count() (previously declared abstract in XLite\Logic\Import\Step\AStep) in /httpdocs/xcart/var/run/classes/XLite/Logic/Import/Step/AStep.php on line 36

qualiteam 03-26-2015 11:03 PM

Re: Getting blank page and error on import page 5.2
 
Hi!

Please attach your log files that you can find in the [xc5]/var/log/ directory.

In the files there should be a full error message that could help to guess the cause of the issue.

skit 03-27-2015 04:10 AM

Re: Getting blank page and error on import page 5.2
 
1 Attachment(s)
Thanks, qualiteam. I have attached the log files for the last few days.

tony_sologubov 04-03-2015 06:02 AM

Re: Getting blank page and error on import page 5.2
 
@skit, what PHP version you are using? Is it something pre 5.3.7? If so, it looks like PHP bug and you need to upgrade.

Tony

skit 04-07-2015 08:57 AM

Re: Getting blank page and error on import page 5.2
 
Thank you Tony for the response. The thing is, we have two xcart 5.3 stores running on the exact same environment and one works fine and the other causes issues.

qualiteam 04-08-2015 12:45 AM

Re: Getting blank page and error on import page 5.2
 
Are you sure both the stores run on exactly the same PHP version?

The problem seems to be caused by a PHP bug that was fixed in PHP v5.3.9:
https://bugs.php.net/bug.php?id=43200

skit 04-08-2015 04:18 AM

Re: Getting blank page and error on import page 5.2
 
Yes, they are on the exact same system. Same server.

tony_sologubov 04-08-2015 12:01 PM

Re: Getting blank page and error on import page 5.2
 
Anyway, what PHP version is used on the server, where X-Cart is having problems with module installation?

skit 04-08-2015 12:36 PM

Re: Getting blank page and error on import page 5.2
 
Tony, thanks for helping out.

The php version for the store with working Import and the one with a blank import page is PHP 5.3.3

tony_sologubov 04-09-2015 03:05 AM

Re: Getting blank page and error on import page 5.2
 
Quote:

Originally Posted by skit
Tony, thanks for helping out.

The php version for the store with working Import and the one with a blank import page is PHP 5.3.3


Could you please ask your hosting admins to upgrade it to the latest version in 5.3 branch?


All times are GMT -8. The time now is 09:22 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.