Comments (6)
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.
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.
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.
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.
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.
i can fix it.
from yii2-scroll-top.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yii2-scroll-top.