Giter VIP home page Giter VIP logo

Comments (6)

bluezed avatar bluezed commented on June 12, 2024

Sorry, but I cannot reproduce the issue.

I've just done a fresh installation of yii2-app-advanced via composer, initialised it and added "bluezed/yii2-scroll-top": "*" to the composer.json file and did a composer update.

Then I added this line <?= \bluezed\scrollTop\ScrollTop::widget() ?> to the main.php layout in yii-application/frontend/views/layouts/.

I can only assume that your configuration is somehow different from the default?

from yii2-scroll-top.

Yurich84 avatar Yurich84 commented on June 12, 2024

I cannot find the real reason of the exception, becouse on the localhost (Windows 7) everything is works great. But on the remote server I've got the issue.

from yii2-scroll-top.

bluezed avatar bluezed commented on June 12, 2024

Can you have a look in this file: yii-application/vendor/composer/autoload_psr4.php which should have been auto-generated by composer.
There should be this line: 'bluezed\\scrollTop\\' => array($vendorDir . '/bluezed/yii2-scroll-top')

If that's not the case then you might have an issue with composer on that machine...

from yii2-scroll-top.

Yurich84 avatar Yurich84 commented on June 12, 2024

I check my yii-application/vendor/composer/autoload_psr4.php file, and it has the line you said.
It must be something wrong with my site or configs.

from yii2-scroll-top.

Yurich84 avatar Yurich84 commented on June 12, 2024

I've got outside of your problem.
It concerns the register.
The problem was on server that is sensitive to register (Unix) but on the mac and windows it's ok.

from yii2-scroll-top.

Yurich84 avatar Yurich84 commented on June 12, 2024

i can fix it.

from yii2-scroll-top.

Related Issues (1)

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.