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

Why is X-Cart 5 so unstable?

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #11  
Old 07-30-2014, 06:35 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Why is X-Cart 5 so unstable?

Quote:
Originally Posted by Andrew_J
In my opinion, anyone with any concern for security or any other important metric that I can think of will not run a windows server environment anyway.

Is not that I like Win for server but how this statement fits all hosts that offer Win servers? Seems they just don't care about security

Win server can be secure pretty good too, it is not that they are open book for hackers...
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #12  
Old 07-30-2014, 08:42 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Why is X-Cart 5 so unstable?

Quote:
Originally Posted by xplorer
I had the same issue, and, as far as I know, it will be fixed in the next version. At least the most recent dev build works on my Windows 7 local server again.
Awesome news! I am currently having to develop on a virtual box rather than my local machine. Its much slower and very annoying. I'm excited that you already know of this problem and are fixing it.

Quote:
Originally Posted by Andrew_J
In my opinion, anyone with any concern for security or any other important metric that I can think of will not run a windows server environment anyway.

Having XC run well on windows server shouldn't be a priority considering all the other important issues that need to be addressed.
I understand your position, but since I use Windows for my main pc, I really need it to work! Anyone developing for XC5 on their local machine that uses Windows would call this a top priority. I agree with you about using Windows in a production environment, but for dev work it is great in my opinion.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #13  
Old 07-30-2014, 01:02 PM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

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

Default Re: Why is X-Cart 5 so unstable?

The problem xplorer is talking about should be fixed in 5.1.4. Could you please check it guys? If there is a problem on Win servers, please let me know.

Although, I generally agree that Unix-based systems are way better for development, it does not mean that it is OK that X-Cart 5 does not work on Win-based servers. It must work there as well.

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
  #14  
Old 07-31-2014, 02:17 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Why is X-Cart 5 so unstable?

Quote:
Originally Posted by tony_sologubov
The problem xplorer is talking about should be fixed in 5.1.4. Could you please check it guys? If there is a problem on Win servers, please let me know.
Have you updated the 5.1.4 downloadable? Because 5.1.4 has been broken on Win since release.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote

The following user thanks totaltec for this useful post:
tony_sologubov (08-01-2014)
  #15  
Old 08-01-2014, 01:11 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

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

Default Re: Why is X-Cart 5 so unstable?

Sorry for it, guys, this is a bug. The hotfix for it is below:

Code:
diff --git a/src/classes/XLite/Core/LessParser.php b/src/classes/XLite/Core/LessParser.php index f29aeee..1cdeb0e 100644 --- a/src/classes/XLite/Core/LessParser.php +++ b/src/classes/XLite/Core/LessParser.php @@ -259,7 +259,7 @@ class LessParser extends \XLite\Base\Singleton $url = stripslashes(substr($url, 1, -1)); } - $url = \Includes\Utils\FileManager::makeRelativePath($file, LC_DIR_ROOT . substr($url, strlen($rootURL))); + $url = str_replace(LC_DS, '/', \Includes\Utils\FileManager::makeRelativePath($file, LC_DIR_ROOT . substr($url, strlen($rootURL)))); if (preg_match('/[\'"]/Ss', $url)) { $url = '"' . addslashes($url) . '"'; -- diff --git a/src/Includes/Utils/FileManager.php b/src/Includes/Utils/FileManager.php index 707fe54..0efec9c 100644 --- a/src/Includes/Utils/FileManager.php +++ b/src/Includes/Utils/FileManager.php @@ -594,8 +594,6 @@ abstract class FileManager extends \Includes\Utils\AUtils } while ($from === $to && !empty($absFromPath) && !empty($absToPath)); return str_repeat('..' . LC_DS, count($absFromPath)) - . $to - . LC_DS - . implode(LC_DS, $absToPath); + . $to . (!empty($absToPath) ? (LC_DS . implode(LC_DS, $absToPath)) : ''); } } diff --git a/src/classes/XLite/Core/LessParser.php b/src/classes/XLite/Core/LessParser.php index 1cdeb0e..97f2b28 100644 --- a/src/classes/XLite/Core/LessParser.php +++ b/src/classes/XLite/Core/LessParser.php @@ -261,11 +261,7 @@ class LessParser extends \XLite\Base\Singleton $url = str_replace(LC_DS, '/', \Includes\Utils\FileManager::makeRelativePath($file, LC_DIR_ROOT . substr($url, strlen($rootURL)))); - if (preg_match('/[\'"]/Ss', $url)) { - $url = '"' . addslashes($url) . '"'; - } - - return 'url(' . $url . ')'; + return 'url("' . $url . '")'; } /** ---

You can safely apply it to the core files, because this fix will be already included into 5.1.5.
__________________
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

The following user thanks tony_sologubov for this useful post:
Andrew_J (08-01-2014)
  #16  
Old 08-06-2014, 08:56 AM
 
xanadude xanadude is offline
 

eXpert
  
Join Date: Jun 2006
Posts: 247
 

Default Re: Why is X-Cart 5 so unstable?

what do you do with this ? sorry confused
my site almost dead now
__________________
Xanadude

http://wemakeanyshirt.com X5 with x-Cart Mobile in build
Reply With Quote
  #17  
Old 08-06-2014, 08:58 AM
 
xanadude xanadude is offline
 

eXpert
  
Join Date: Jun 2006
Posts: 247
 

Default Re: Why is X-Cart 5 so unstable?

ok sussed it
__________________
Xanadude

http://wemakeanyshirt.com X5 with x-Cart Mobile in build
Reply With Quote
  #18  
Old 08-06-2014, 09:47 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

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

Default Re: Why is X-Cart 5 so unstable?

Hi Roger!

Do you experience the problem with the dev copy of your store? As I remember I tried to rebuild the cache there and it went OK several times in a row. Or do you have it on the http://wemakeanyshirt.com/shop2014 store? If so, could you please try to:
- remove var/run
- remove var/.rebuildStarted
- open admin.php script

and initiate cache rebuild process? Please, let me know if it works out.

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
  #19  
Old 08-07-2014, 12:45 PM
 
xanadude xanadude is offline
 

eXpert
  
Join Date: Jun 2006
Posts: 247
 

Unhappy Re: Why is X-Cart 5 so unstable?

HI Tony

I eventually got up to 5.1.4 and it seemed to be running ok. Slow but better than before.

I have just changed the const CHUNK_LENGTH = 10000;

and tried a cache rebuild and now constantly getting internal Server Error but last night seems ok as I recached about 5 times
now it seems to get back to 7 of 11 then fall over

the Membership issue came back as well

back up but had to set Chunk length back to 100


as you can guess I am totally fed up at this stage as I have rebuilt the majority of the attributes that I lost with the SQL query to fix the membership before

now back to squaure one
__________________
Xanadude

http://wemakeanyshirt.com X5 with x-Cart Mobile in build
Reply With Quote
  #20  
Old 08-08-2014, 02:40 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

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

Default Re: Why is X-Cart 5 so unstable?

Hi Roger!

I am sorry, but it looks like both your dev stores are working fine:
http://wemakeanyshirt.com/shop2014
http://wemakeanyshirt.com/shop2014_copy/

Besides that I sent you a personal email.

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

The following user thanks tony_sologubov for this useful post:
xanadude (08-08-2014)
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 09:14 PM.

   

 
X-Cart forums © 2001-2020