Giter Site home page Giter Site logo

Asset resource not found about assetkit HOT 13 CLOSED

c9s avatar c9s commented on August 27, 2024
Asset resource not found

from assetkit.

Comments (13)

c9s avatar c9s commented on August 27, 2024

where is your index.php and the .assetkit.php?

from assetkit.

c9s avatar c9s commented on August 27, 2024

are they all in the static directory?

from assetkit.

c9s avatar c9s commented on August 27, 2024

can you show my your directory structure?

from assetkit.

iambigd avatar iambigd commented on August 27, 2024

I put my test project in the following repo.
https://github.com/iambigd/AssetTookit_Test

from assetkit.

c9s avatar c9s commented on August 27, 2024

Hi I didn't see your .assetkit.php file? which should also be in the repo.

On Jul 10, 2013, at 10:46 AM, Wei Chih Tsai [email protected] wrote:

I put my test project in the following repo.
https://github.com/iambigd/AssetTookit_Test


Reply to this email directly or view it on GitHub.

from assetkit.

c9s avatar c9s commented on August 27, 2024

And if you don't use resource, you should comment it out:

https://github.com/iambigd/AssetTookit_Test/blob/master/assets/iangel/manifest.yml

On Jul 10, 2013, at 10:49 AM, Lin Yo-an [email protected] wrote:

Hi I didn't see your .assetkit.php file? which should also be in the repo.

On Jul 10, 2013, at 10:46 AM, Wei Chih Tsai [email protected] wrote:

I put my test project in the following repo.
https://github.com/iambigd/AssetTookit_Test


Reply to this email directly or view it on GitHub.

from assetkit.

iambigd avatar iambigd commented on August 27, 2024

2013-07-10 4 47 49

//invalid asset link
http://static.iangel.tw/assets/compiled/bigd-asset-739a338a78b772d53417ac68e5ddd316.min.js

//valid
http://static.iangel.tw/public/assets/compiled/bigd-asset-739a338a78b772d53417ac68e5ddd316.min.js

from assetkit.

c9s avatar c9s commented on August 27, 2024

You should move your index.php to public/, and access the page from there, since you use /assets for baseURL, not /public/assets

your APPLICATION_ROOT should contains "public", "assets", "src" … directories.

On Jul 10, 2013, at 10:50 AM, Lin Yo-an [email protected] wrote:

And if you don't use resource, you should comment it out:

https://github.com/iambigd/AssetTookit_Test/blob/master/assets/iangel/manifest.yml

On Jul 10, 2013, at 10:49 AM, Lin Yo-an [email protected] wrote:

Hi I didn't see your .assetkit.php file? which should also be in the repo.

On Jul 10, 2013, at 10:46 AM, Wei Chih Tsai [email protected] wrote:

I put my test project in the following repo.
https://github.com/iambigd/AssetTookit_Test


Reply to this email directly or view it on GitHub.

from assetkit.

c9s avatar c9s commented on August 27, 2024

The application root is not the public directory.

the "public" directory is the DocumentRoot for Apache.

the "assets" is the asset source

the "public/assets" is what we will need from Web (Apache)

On Jul 10, 2013, at 10:53 AM, Lin Yo-an [email protected] wrote:

You should move your index.php to public/, and access the page from there, since you use /assets for baseURL, not /public/assets

your APPLICATION_ROOT should contains "public", "assets", "src" … directories.

On Jul 10, 2013, at 10:50 AM, Lin Yo-an [email protected] wrote:

And if you don't use resource, you should comment it out:

https://github.com/iambigd/AssetTookit_Test/blob/master/assets/iangel/manifest.yml

On Jul 10, 2013, at 10:49 AM, Lin Yo-an [email protected] wrote:

Hi I didn't see your .assetkit.php file? which should also be in the repo.

On Jul 10, 2013, at 10:46 AM, Wei Chih Tsai [email protected] wrote:

I put my test project in the following repo.
https://github.com/iambigd/AssetTookit_Test


Reply to this email directly or view it on GitHub.

from assetkit.

iambigd avatar iambigd commented on August 27, 2024

I modify baseURL from /assets to /public/assets. It can work now.
So, baseURL value must based on index.php location ???

from assetkit.

c9s avatar c9s commented on August 27, 2024

baseUrl is the path which based on the DocumentRoot you setup in Apache.

On Jul 10, 2013, at 11:15 AM, Wei Chih Tsai [email protected] wrote:

I modify baseURL from /assets to /public/assets. It can work now.
So, baseURL value must based on index.php location ???


Reply to this email directly or view it on GitHub.

from assetkit.

iambigd avatar iambigd commented on August 27, 2024

OK. Very Thanks.

from assetkit.

c9s avatar c9s commented on August 27, 2024

Please reopen this if the problem occurs again.

from assetkit.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.