Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Getting blank page and error on import page 5.2

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 03-26-2015, 12:28 PM
 
skit skit is offline
 

Advanced Member
  
Join Date: Feb 2015
Posts: 40
 

Default 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
__________________
V5.2.13
Reply With Quote
  #2  
Old 03-26-2015, 11:03 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 03-27-2015, 04:10 AM
 
skit skit is offline
 

Advanced Member
  
Join Date: Feb 2015
Posts: 40
 

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

Thanks, qualiteam. I have attached the log files for the last few days.
Attached Files
File Type: zip Import_Error.log.2015-03-26.zip (90.7 KB, 132 views)
__________________
V5.2.13
Reply With Quote
  #4  
Old 04-03-2015, 06:02 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default 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
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
  #5  
Old 04-07-2015, 08:57 AM
 
skit skit is offline
 

Advanced Member
  
Join Date: Feb 2015
Posts: 40
 

Default 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.
__________________
V5.2.13
Reply With Quote
  #6  
Old 04-08-2015, 12:45 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #7  
Old 04-08-2015, 04:18 AM
 
skit skit is offline
 

Advanced Member
  
Join Date: Feb 2015
Posts: 40
 

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

Yes, they are on the exact same system. Same server.
__________________
V5.2.13
Reply With Quote
  #8  
Old 04-08-2015, 12:01 PM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default 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?
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
  #9  
Old 04-08-2015, 12:36 PM
 
skit skit is offline
 

Advanced Member
  
Join Date: Feb 2015
Posts: 40
 

Default 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
__________________
V5.2.13
Reply With Quote
  #10  
Old 04-09-2015, 03:05 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default 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?
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:29 AM.

   

 
X-Cart forums © 2001-2020