Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 issue on cpresources/[hash]/js/Commerce.js #1078

Closed
billythekid opened this issue Oct 24, 2019 · 2 comments
Closed

404 issue on cpresources/[hash]/js/Commerce.js #1078

billythekid opened this issue Oct 24, 2019 · 2 comments

Comments

@billythekid
Copy link
Contributor

Description

I'm getting a 404 response on my production and staging servers after upgrading commerce to 2.2.3 for the commerce.js file. If I rename the file it's looking for from Commerce.js to commerce.js it finds it and Craft.Commerce is available to the javascript in the commerce area of the dashboard.

This doesn't happen on my local machine (MacOS) just on staging and production (Linux) so I guess MacOS is case insensitive but Linux is? I've seen this before when a co-worker uses Windows for dev and accidentally mis-matches teh case in a filename because it doesn't care but normally I get the same issue locally.

Anyway, any ideas or is this a bug somewhere?

Additional info

Application Info

PHP version 7.3.6
OS version Linux 5.1.11-x86_64-linode127
Database driver & version MySQL 5.7.27
Image driver & version GD 7.3.6
Craft edition & version Craft Pro 3.3.13
Yii version 2.0.21
Twig version 2.12.1
Guzzle version 6.4.1
Imagine version 1.2.3-dev

Plugins

Abandoned Cart for Craft Commerce 2 1.3.6
Amazon S3 1.2.5
Bugsnag 2.0.5
Control Panel JS 2.2.0
Craft Commerce 2.2.3
Dekopay Gateway 1.0.3
Do It Yourself widget 2.0.1
Feed Me 4.1.2
Field Manager 2.1.0
Gift Voucher 2.0.13
Mandrill 1.3.1
Minify 1.2.9
Mix 1.5.2
Navigation 1.1.13
Redactor 2.4.0
Redirect Manager 3.1.26
Sage Pay for Craft Commerce 2.1.0.1
SEO 3.6.2
Sherlock 2.2.0
Video Embedder 1.1.4

Modules

my-module modules\Module
debug yii\debug\Module

Requirements

(These all have green ticks ro ignored for brevity)

@Anubarak
Copy link

Anubarak commented Oct 24, 2019

I just wanted to commit the same issue, that's because of this
fa752d4#r35649736

commerce must be Commerce
Because of this you can't create new products anymore.. unless you change the file in your vendor folder

@nfourtythree
Copy link
Contributor

Hi all

This has been fixed in the 2.2.4 release which is now available.

Fix commit: 3d7246a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants