Assets loading problem & can't install plugins

Hi there,

Just installing the stable version (6.4.6) on my local machine and experiencing this problem.

https//tco-forum-uploads.s3.amazonaws.com/original/3X/6/4/64420e6d0bd0fcb6725047f5e29fd831173f4170.png

It fail to load its css & js located here

http://local.wp/app/themes/x/framework/tco/css/dist/tco.css
http://local.wp/app/themes/x/framework/tco/js/dist/admin/tco.js

When I check the theme directory I found the folder structure is different

//tco-forum-uploads.s3.amazonaws.com/original/3X/6/d/6d03a00caafc4fcc7b01db133cb4732cbf74df1d.png

So I manage to get it working by simply rename the directory as requested, but then I can’t install any plugins or check for updates.

//tco-forum-uploads.s3.amazonaws.com/original/3X/b/2/b21c823ff4b7f2daf351f81f713d4fa6209f44c6.png

So, I try to download the latest version (6.5.5) instead, but assets loading and update check error still remain and also the plugin installer says that I don’t have permission to install a plugin

//tco-forum-uploads.s3.amazonaws.com/original/3X/e/3/e3d8ef86005d236604b65f376d5cd0fb45c10a75.png

Any helps appreciated.
Thanks in advance.

Hello @feryardiant,

Thanks for writing in! You are having a file permission issue in your directory file system. Please make sure that the WP installation file directory is writable and that the current username is also allowed to edit or change the files in the directory. For more details, please check this out:

Hope this helps.

Hi @RueNel,

Thanks so much for reply.

I am not sure if that was the causes, currently working on WSL which is all files are writable (777) from Ubuntu side. Tried to find a solution elsewhere and found this post is kind a similar with mine.

Also, what about the wrong asset url above? is that intended?

Best regards

Anyway, my apology about my poor english.

I’ll do my best :sweat_smile:

Hello @feryardiant,

Normal WP installation should place the WP resources in /wp-content/ folder. The usual locations will always be:
wp-content/plugins/
wp-content/themes/

In your case, it seems different. Did you use any WP installer or may have installed a plugin that changes the location of the themes and plugins folder? Please check your WordPress Address URL in Settings > General. It should always be the same url as your WordPress Admin URL.

Hope this helps.

Hi @RueNel,

Yes, I’m using Bedrock, but did you notice that the issue is actually the path inside x/framework/tco directory? It’s loading asset from :

.../x/framework/tco/css/dist/tco.css
.../x/framework/tco/js/dist/admin/tco.js

But the actual directory structures are

.../x/framework/tco/dist/css/tco.css
.../x/framework/tco/dist/js/tco.js

Screenshot

Hello @feryardiant,

These file issues were not related to the theme or Cornerstone plugin. This is caused by your Bedrock installation or the server configuration locally. Please check out this related thread here:

Hope this helps.

Hi @RueNel

Well, I found this.

The scripts is seems registered with correct path, but why the heck they’re changed after installation? :tired_face:
I am clueless here, but anyway thanks so much for your helps, I really appreciate that.

Best regards

You are most welcome.
If you need anything else we can help you with, don’t hesitate to open another thread.

FINALLY! After spending almost 2 days I figured out the causes, that was multisite url fixer plugin. Man, what a frustating day. LOL

Cortana know me so well

Dang! I wonder why they were recommending it on their documentation?

Ah, nevermind. I just ranting here :sweat_smile:

Glad you sorted things out,

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.