4.4.1 Install Broken

After clean install 4.4.1 version on localhost admin and front broken.
Sample:
[sharedmedia=core:attachments:11869]
[sharedmedia=core:attachments:11870]
[sharedmedia=core:attachments:11871]

Which can be a problem?

Have same problem.

http://prntscr.com/d8678h

After clean install 4.4.1 version on localhost admin and front broken.
Sample:

Which can be a problem?

Have same problem.

http://prntscr.com/d8678h

The problem requires examination on your servers. Please contact us via Customer Help Desk and provide temporary access to your server by clicking on the Add record link on the Access information page of your Help Desk account so that we could examine the issue.

Hi,

the "problem" is, that the browser does not request the CSS or JS files, therefore css or js are not loaded properly.

  1. do you have any browser addblocker installed/actvated? If yes, try to disable or uninstall it.
  2. check your web server and site error log - it should provide some info.
  3. the css/js could NOT be generated due file/directory permissions, insufficient memory, or max execution limit. Again, check your web server error log.
  4. view the source of your page and click the css links, if it is pointed correctly it should bring you to the css page.
  5. refresh the site in browser wit Ctrl+F5 combination
  6. your browser is not loading the css or js, which is hosted on another domain. Possible reasons could be due to the stylesheet domain being blocked or because your browser is failing to get DNS resolution for it.
  7. if installed on a live server you can checked it through a proxy service, like http://www.locabrowser.com/

Check these things above and see if you get some results.

Or it could simply be a timestamp issue where the cached version in your browser is more recent than the timestamp in the archive. Clear your browser cache for your site.

Update:

Testing in localhost (wampserver)

Same localhost, same configuration : 4.3.9 and 4.3.10 working, no problem. Only 4.4.1 broken

CSS and JS loaded

Error logs clean

No Ad block etc, tested on more browser

Surce code (admin login):

http://pastebin.com/37Gscgyj 4.4.1

http://pastebin.com/ci6qz3cu 4.3.10

Maybe this

http://forum.cs-cart.com/tracker/issue-6532-convert-to-css-theme-editor-cs-cart-441/

Note that windows is not officially supported

http://forum.cs-cart.com/topic/41458-500-error-after-installation/#entry227879

found the problem:

in file "app/functions/fn.common.php"

replace the line 5443:

$css_suffix = 'css' . DIRECTORY_SEPARATOR;

with

$css_suffix = 'css/';

that's it.

found the problem:

in file "app/functions/fn.common.php"

replace the line 5443:

$css_suffix = 'css' . DIRECTORY_SEPARATOR;

with

$css_suffix = 'css/';

that's it.

Working! Thank you :)

found the problem:

in file "app/functions/fn.common.php"

replace the line 5443:

$css_suffix = 'css' . DIRECTORY_SEPARATOR;

with

$css_suffix = 'css/';

that's it.

Hi,

is this a bug? In the previous versions this line is missing there.

The official fix from IMAC:

http://forum.cs-cart.com/topic/46805-cs-cart-and-multi-vendor-441-are-here/page-2#entry264293

this post is DELETED - not working :)

the problem is more complex, lots of files and lines are needed to be updated in order to work on all platforms...

The main problem with some php windows installations is:

file_exists('c:\somefile.txt') -> returns always true if the file exists

file_exists('c:/somefile.txt') -> returns false for most windows php installs (xampp, wamp, etc) even if the file exists

I use php-cgi with nginx on windows (for development) and the $css_suffix fix is working for me.

For who is not working, wait for the next CS-Cart version or install another php build.

An old thread,but replying here because we're currently upgrading after a delay and ran into problems with 4.4.1)

This is incorrect. As we noted in our reply, the only actual requirements were for specific versions of PHP and MySQL. Everything else was a "recommendation" only:-

"We recommend [my emphasis] a Unix-like operating system for your server, such as FreeBSD, Linux, or OS X. These systems are scalable, more secure, and offer better performance. [..] CS-Cart is compatible with almost every server that supports PHP and MySQL. However, we recommend [my emphasis again] Apache or Nginx as the most robust and stable servers for your web store."

This was the case when that comment was originally made (4.3.x IIRC), when 4.4.1 came out, and still applies to 4.6.x.

If Windows "isn't (officially) supported"- or at least can't be assumed to work- this should be stated explicitly. I appreciate that Apache, Linux et al are better choices (hence "recommended"), but that's not the same as a requirement.

I'm assuming the problem in this case was caused by a (lack of) testing issue.

Edit; at any rate, Martfox's solution appears to work. Thank you.