Which can be a problem?
Which can be a problem?
After clean install 4.4.1 version on localhost admin and front broken.Sample:
Which can be a problem?
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.
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
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)
Note that windows is not officially supported
http://forum.cs-cart.com/topic/41458-500-error-after-installation/#entry227879
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.