说明:之前我们使用的最多的OneDrive
目录列表程序就是Oneindex,博主已经写了很多使用教程了,最近有大佬受Oneindex
启发,功能借鉴其思想,写出一个基于laravel5
框架的OneDrive
目录列表程序,看上去很不错,这里分享下。
截图
简介
OneDrive
目录索引;- 基于最新
PHP
框架laravel5
搭建而成; - 基于
bootswatch
响应式页面布局,适配PC
、平板、手机;
功能
OneDrive
目录查看索引,支持分页查看;- 图床功能(国内不太稳低);
- 支持文件路径一键复制、下载;
- 支持代码、图片、文本文件即时预览;
- 支持音视频播放(兼容大部分格式),视频播放采用
Dplayer
,音乐播放采用Aplayer
; - 支持文件夹加密(需管理员);
- 支持文件上传(需管理员);
- 支持
readme
/head
说明文件添加/编辑/删除; - 支持文件搜索(需管理员);
- 支持自定义创建文件夹(需管理员);
- 支持文件/文件夹删除(需管理员);
- 后台基本管理,支持主题,预览设置等等(清理缓存后及时生效)(需管理员)。
v2.0
全新路径显示(pathinfo
)- 添加看图相册
- 配置文件化,不再依赖数据库
TODO
- 共享目录支持
- 支持视频字幕,音频歌词
- 支持后台大文件上传,断点续传
环境要求
PHP >= 7.1.3
OpenSSL PHP
PHP PDO 扩展
PHP Mbstring 扩展
PHP Tokenizer 扩展
PHP XML 扩展
PHP Ctype 扩展
PHP JSON 扩展
PHP Fileinfo 扩展(非必需,但最好安装)
安装
Github地址:https://github.com/WangNingkai/OLAINDEX
这里为了方便,可以直接使用宝塔搭建lnmp
环境。
1、安装宝塔
#Centos系统
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh
#Ubuntu系统
wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && sudo bash install.sh
#Debian系统
wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && bash install.sh
然后进入后台再安装PHP 7.2
、Nginx
,这里基本上除了Fileinfo
扩展,其余都默认安装好了。
接下来再找到左侧软件管理-PHP
管理-设置-安装Fileinfo
扩展(非必需扩展,不过不安装的话,不保证安装程序能成功)。
#如果Fileinfo拓展安装失败,就是内存太小,我们可以添加swap,不适用于ovz
1、脚本添加,脚本地址:https://www.moerats.com/archives/722/。
2、面板添加,找到左侧软件管理-系统工具-安装Linux工具箱,然后进入工具箱添加。
然后同样的在PHP
设置里找到禁用函数,删除proc_open
、proc_get_status
和putenv
函数,最后重启PHP
。
2、安装Composer
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
3、安装程序
我们先点击左侧网站,添加域名,此时网站根目录就是/www/wwwroot/xx.com
。
运行命令:
#将域名修改成自己的再运行
cd /www/wwwroot/xx.com
git clone https://github.com/WangNingkai/OLAINDEX.git tmp
mv tmp/.git .
rm -rf tmp
git reset --hard
composer install -vvv #这里确保已成功安装composer,如果报权限问题,建议给予用户完整权限。
chmod -R 777 storage
chown -R www:www * #此处www根据服务器具体用户组而定
composer run install-app
5、伪静态设置
点击域名设置-网站目录,运行目录选择public
,并把防跨站的勾去掉并重启PHP
。然后点击伪静态,输入以下代码:
location / {
try_files $uri $uri/ /index.php?$query_string;
}
最后就可以打开域名进行安装配置了。
注意回调地址redirect_uri
需要是https
地址,可以直接在宝塔开启免费SSL
证书。如果你使用上面的一键申请绑定账号失败了,可以试试手动申请client_id
、client_secret
,申请方法→传送门。
后台地址:https://xx.com/admin
,密码:12345678
。
特殊文件功能
#不建议创建和以下同名的文件夹和文件,否则会导致文件无法查看下载
README.md、HEAD.md 、.password 、.deny特殊文件使用
#在文件夹底部添加说明
在onedrive的文件夹中添加README.md文件,使用markdown语法。
#在文件夹头部添加说明
在onedrive的文件夹中添加HEAD.md 文件,使用markdown语法。
#加密文件夹
在onedrive的文件夹中添加.password文件,填入密码,密码不能为空。
#禁止访问文件夹
在onedrive的文件夹中添加.deny文件,该文件夹被禁止访问。
其它设置
#重置全部数据,删除数据库数据
php artisan od:reset
#重置OneDrive登陆账号
php artisan od:logout
#升级程序
git pull
composer install -vvv
php artisan od:update
如果你出现了一些问题可以先查看→传送门。
版权声明:本文为原创文章,版权归 Rat's Blog 所有,转载请注明出处!
本文链接:https://www.moerats.com/archives/765/
如教程需要更新,或者相关链接出现404,可以在文章下面评论留言。
此处www根据服务器具体用户组而定是什么意思
默认就行,就是网站www用户组
Warning: require(/www/wwwroot/rec.koyuki.top/public/../vendor/autoload.php): failed to open stream: No such file or directory in /www/wwwroot/rec.koyuki.top/public/index.php on line 24
Fatal error: require(): Failed opening required '/www/wwwroot/rec.koyuki.top/public/../vendor/autoload.php' (include_path='.:/www/server/php/72/lib/php') in /www/wwwroot/rec.koyuki.top/public/index.php on line 24
The stream or file "/data/www/laravel/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied
好像是权限问题
博主您好
请问这个虚拟主机能否安装
可以
虚拟主机安装不了
composer run install-app 我执行这步就有如下问题,求解啊,老哥
[root@iZwz919hqhjh6ywk9ohvitZ weiduni.xyz]# composer run install-app
Do not run Composer as root/super user! See https://getcomposer.org/root for details
php artisan install
_
/ / / / | / _/ | / / / ____/ |/ /
/ / / / / / /| | / // |/ / / / / __/ | /
/ /_/ / /___/ |_/ // /| / /_/ / / / |
____/_____/_/ |_/___/_/ |_/_____/_____//_/|_|
v5.0.0
Designed by IMWNK | Powered by OLAINDEXAlready have database file,Re-creating...
ErrorException
rename(/www/wwwroot/weiduni.xyz/storage/install/data/database.sqlite,20200807181242./www/wwwroot/weiduni.xyz/storage/install/data/database.sqlite.bak): No such file or directory
at app/Console/Commands/InstallCommand.php:61
57| $this->warn('Database not found,Creating...'); 58| copy($sqlSampleFile, $sqlFile); 59| } else { 60| $this->warn('Already have database file,Re-creating...');61| rename($sqlFile, date('YmdHis') . '.' . $sqlFile . '.bak');
62| copy($sqlSampleFile, $sqlFile); 63| } 64| chmod($sqlFile, 0777); 65|1 app/Console/Commands/InstallCommand.php:61
rename("/www/wwwroot/weiduni.xyz/storage/install/data/database.sqlite", "20200807181242./www/wwwroot/weiduni.xyz/storage/install/data/database.sqlite.bak") +14 vendor frames16 artisan:37
Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))Script php artisan install handling the install-app event returned with error code 1
更新5.0版本后好像没法设置文件夹加密了,不知道有没有找到设置入口的,回复我一下~
终于找到首页正常,后台500错误的根源了,把文件删光,后台就能进去了,应该是后台的某个计算文件大小的逻辑代码错了
cp: 无法获取"database/database.sample.sqlite" 的文件状态(stat): 没有那个文件或目录
这是啥情况阿!
这个文件没了,教程有变,更新了下,再试试,作者提供的安装文档:https://wangningkai.github.io/OLAINDEX/#/install
。。。。断更这么久,还以为你失踪了,原来还健在阿,哈哈
[root@VM-32-9-centos oneindex]# php artisan od:install
PHP Warning: require(/www/wwwroot/oneindex/vendor/autoload.php): failed to open stream: No such file or directory in /www/wwwroot/oneindex/artisan on line 18
Warning: require(/www/wwwroot/oneindex/vendor/autoload.php): failed to open stream: No such file or directory in /www/wwwroot/oneindex/artisan on line 18
PHP Fatal error: require(): Failed opening required '/www/wwwroot/oneindex/vendor/autoload.php' (include_path='.:/www/server/php/72/lib/php') in /www/wwwroot/oneindex/artisan on line 18
Fatal error: require(): Failed opening required '/www/wwwroot/oneindex/vendor/autoload.php' (include_path='.:/www/server/php/72/lib/php') in /www/wwwroot/oneindex/artisan on line 18
大佬, 这个怎么解决
折腾了几天,发现80x86/olaindex docker版本最省事。
大佬,OLAINDEX 5.0出了,来个教程吧
我好像只看到了4.0
确实有5.0版本:https://github.com/WangNingkai/OLAINDEX/tree/5.0
居然还在更新,这类好多不更新了
试着安装了好几遍5.0版本,但是一直在首页报SQLSTATE[HY000]: General error: 1 no such table: accounts (SQL: select "id", "remark" from "accounts" where "status" = 1)这个错误,不知道该怎么搞。。。
已解决
对啊,像pyone,oneindex等都不更新了。可能是受OLAINDEX-Magic影响吧,所以更新了。
请问OLAINDEX队列刷新在宝塔面板Supervisor插件里怎么设置呢
博主请问,这个程序我已经搭建完成了,放了一些电影上去,在线观看很卡,下载速度也很慢,有什么办法解决吗
这个得看微软,现在速度好像都不太给力
哪一步都没报错,就是网站进不去。。。。但是我的php里本来就没有proc_get_status这个函数
最后确认绑定的出错,登录错误,不知道咋办
AADSTS700016: Application with identifier 'zzXXXXXXXX95*$]' was not found in the directory '40b2e8eb-XXXXXX-e9ef7b04e'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.
手动申请的client_id、client_secret吗
一直500
内部服务器错误
服务器遇到内部错误或配置错误,无法完成您的请求。
请通过webmaster@example.com与服务器管理员联系,以告知他们该错误发生的时间以及您在此错误发生之前执行的操作。
服务器错误日志中可能会提供有关此错误的更多信息。
gj.lcai.vip端口80上的Apache服务器
500应该是数据库的问题,参考这个链接:https://wangningkai.github.io/OLAINDEX/#/question
博主你好,在执行composer install -vvv时出现以下问题,请问如何解决
[root@vultr share.hanwen.life]# composer install -vvv
Reading ./composer.json
Loading config file /root/.config/composer/config.json
Loading config file /root/.config/composer/auth.json
Loading config file ./composer.json
Checked CA file /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem: valid
Executing command (/www/wwwroot/share.hanwen.life): git branch --no-color --no-abbrev -v
Failed to initialize global composer: Composer could not find the config file: /root/.config/composer/composer.json
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section
Reading /www/wwwroot/share.hanwen.life/vendor/composer/installed.json
Running 1.9.1 (2019-11-01 17:20:17) with PHP 7.3.12 on Linux / 3.10.0-1062.4.1.el7.x86_64
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Reading ./composer.lock
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Reading ./composer.lock
Resolving dependencies through SAT
Looking at all rules.
Dependency resolution completed in 0.001 seconds
Analyzed 270 packages to resolve dependencies
Analyzed 830 rules to resolve dependencies
Nothing to install or update
Generating optimized autoload files
post-autoload-dump: IlluminateFoundationComposerScripts::postAutoloadDump
post-autoload-dump: @php artisan package:discover
Executing command (CWD): '/www/server/php/73/bin/php' -d allow_url_fopen='1' -d disable_functions='passthru,system,chroot,chgrp,chown,popen,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv' -d memory_limit='1536M' artisan package:discover
The environment file is invalid!
Failed to parse dotenv file due to unexpected whitespace. Failed at [php artisan od:install].
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
谢谢!
打开是 502 错误,会是什么情况啊?
请问哈,,教育版的5t网盘支持吗,怎么登陆账号那一步提示账号不存在呀
这个应该是支持的
老哥,进行到第二步时php报出这个是什么情况
php: symbol lookup error: php: undefined symbol: X509_get_signature_nid
大佬,登陆密码忘了怎么找回或者修改
重置全部数据看看
大佬现在
`
composer install -vvv
`
安装提示要php7.2了
我看作者的文档环境没变化,我改下教程吧,直接7.2
[ErrorException]
putenv() has been disabled for security reasons
就是到了composer这一步的时候,出现了这个错误!要是缺少权限,到底怎么操作嘛!
好像多了个函数putenv,把这个函数删掉就好了。去PHP设置里删除。
[ErrorException]
putenv() has been disabled for security reasons
Exception trace:
() at phar:///usr/local/bin/composer/src/Composer/Installer.php:201
ComposerUtilErrorHandler::handle() at n/a:n/a
putenv() at phar:///usr/local/bin/composer/src/Composer/Installer.php:201
ComposerInstaller->run() at phar:///usr/local/bin/composer/src/Composer/Command/InstallCommand.php:122
ComposerCommandInstallCommand->execute() at phar:///usr/local/bin/composer/vendor/symfony/console/Command/Command.php:245
SymfonyComponentConsoleCommandCommand->run() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:835
SymfonyComponentConsoleApplication->doRunCommand() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:185
SymfonyComponentConsoleApplication->doRun() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:267
ComposerConsoleApplication->doRun() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:117
SymfonyComponentConsoleApplication->run() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:106
ComposerConsoleApplication->run() at phar:///usr/local/bin/composer/bin/composer:61
require() at /usr/local/bin/composer:24
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...
[root@iZj6c0vmic5cwzi104xjfoZ wp.nkdyw.com]# mv tmp/.git .
[root@iZj6c0vmic5cwzi104xjfoZ wp.nkdyw.com]# rm -rf tmp
[root@iZj6c0vmic5cwzi104xjfoZ wp.nkdyw.com]# git reset --hard
HEAD is now at a6d5509 fix:缩略图bug
老哥,这是什么问题。
好像多了个函数putenv,把这个函数删掉就好了。去PHP设置里删除。
每次刷新缓存之后都会500,清除cookie之后可以显示目录,再次刷新缓存或自动刷新之后又500,换浏览器也是一样
500错误可以参考这个:https://wangningkai.github.io/OLAINDEX/#/question
命令我是授权过的,甚至把整个domain文件夹都设置777,显示也没有问题,问题只出现在缓存刷新之后
这个问题,给你反馈给了作者,看他怎么说
用http://localhost/oauth本地回调的话,是不是就不能设置网址了?
在进入初始化安装界面,申请得到id和secret点保存来到确认界面,在继续确认下去时候就又返回申请界面了,这是什么原因?
解决了吗朋友,我也是到这里这个问题
权限都给了
chmod 777 -R storage/ database/
权限没给够,网站目录给777权限就可以了。比如/www/wwwroot/urdomin这个文件夹需要777权限
清除缓存再试试
post-autoload-dump: IlluminateFoundationComposerScripts::postAutoloadDump
post-autoload-dump: @php artisan package:discover
Executing command (CWD): '/www/server/php/72/bin/php' -d allow_url_fopen='1' -d disable_functions='passthru,system,chroot,chgrp,chown,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru' -d memory_limit='1536M' artisan package:discover
In Connection.php line 664:
Database (/www/wwwroot/ss.hbinw.ml/database/database.sqlite) does not exist
. (SQL: select * from "settings")
In SQLiteConnector.php line 34:
Database (/www/wwwroot/ss.hbinw.ml/database/database.sqlite) does not exist
.
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
老哥,出现这个是什么问题啊,之前也这样搞都不出现这个
缺少数据库文件,我改了下教程,多了安装程序的cp那一行代码,你重新来一次。
哦,可以了,重置数据库了
到绑定账号那里改不了啊,里面直接是作者的账号了
如何大文件上传呢,我这边后台显示只能上传4M的文件。
这个之前貌似没遇到过,你可以看下你的php设置,有个上传大小限制,看是不是这个的问题。
不是这个原因,这种限制早解除了
大哥,添加了底部文字不显示啊?
看是缓存还是添加方式不对
大哥,模板文件的目录在哪里
大佬,一直出现这个问题
暂时出现问题
One or more added object references already exist for the following modified properties: 'owners'.
Sat, 18 May 2019 04:20:03 GMT | ? | ?
有什么方法能解决吗?
因为现在微软的API权限全都将要和Azure 进行集成,申请失败的可以自己手动到 Azure Portal[https://portal.azure.com]申请,API权限请手动授予"Flies.Read.All","Flies.ReadWrite.All","User.Read"三项即可。
你好,也遇到了这个问题,但是在 Azure Portal 没有找到API授权的地方,请问有具体链接地址提供一下吗?
老哥这个问题要怎么处理哦?
暂时出现问题
Invalid value specified for property 'replyUrlsWithType' of resource 'Application'.
Fri, 17 May 2019 10:05:12 GMT | ? | ?
获取应用机密和ID时出现的?是的话,多申请几次看看
没有啊
,一直点 都没用
我之前看 原作者 可以通过什么中转,是什么意思啊?
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for nesbot/carbon 2.16.0 -> satisfiable by nesbot/carbon[2.16.0]. - nesbot/carbon 2.16.0 requires php ^7.1.8 || ^8.0 -> your PHP version (7.1.5) does not satisfy that requirement.Problem 2
- nesbot/carbon 2.16.0 requires php ^7.1.8 || ^8.0 -> your PHP version (7.1.5) does not satisfy that requirement. - laravel/framework v5.8.7 requires nesbot/carbon ^1.26.3 || ^2.0 -> satisfiable by nesbot/carbon[2.16.0]. - Installation request for laravel/framework v5.8.7 -> satisfiable by laravel/framework[v5.8.7].请问 composer install -vvv 显示这个是什么问题?
php版本过低,你目前的版本7.1.5,需要的版本7.1.8+,你换7.2吧
我来试试这个
大哥求一键脚本,等了好久了!
宝塔下php7.3打开主页500错误,执行php artisan config:cache后即可正常在浏览器配置
好的,感谢分享,等遇到该问题的可以直接解决
The environment file is invalid!
Failed to parse dotenv file due to unexpected whitespace. Failed at [chmod 777 storage/app/config.json].
config.json这个文件已经创建了为什么还是提示错误
说你配置的时候出现了空格
用aws出现 500 Server Error
看一下我文章最下面留的那个传送门地址,有告诉你原因和解决方法
完美使用,谢谢
Configuration cache cleared!
The environment file is invalid!
Failed to parse dotenv file due to unexpected whitespace. Failed at [chmod 777 storage/app/config.json #
输入域名后出现这个怎么解决啊
是不是多了空格,重新试下
我想问一下 oneindex有很多视频播放没有声音 这个能解决吗 比如mkv格式
应该是解码问题,开启了Dplay没?开的话关掉看看
我想问问这个可以用OneIndex上传的方法来自动上传吗
直接用这个就好了https://www.moerats.com/archives/697/
我用了第一个方法,需要把之前的创建的文件删掉再用这个还是直接用这个就可以了呢
只需要配置下脚本,然后替换下上传脚本内容,再重启aria2即可
博主能否说一下OLAIndex缓存类型的更换配置,类似redis之类的,虽然OLAIndex支持多种缓存类型,但是我对这方面不了解,不知道怎么配置其他缓存类型。
Git文档好像都说了,太具体的话暂时不太清楚,可以去问下作者。
希望大佬出一个这个一键搭建加离线!
这个看需要的人多不,多的话就写一个。
想问一个问题,pyone,OLAINDEX都是参考oneindex做的目录列表,是不是都跟后者一样不走服务器流量呢?
是的,都不走服务器流量。
502 Bad Gateway
nginx
安装好后提示错误,什么原因,NGINX配置不对吗
对,一般是配置错误,因程序出现的错误中还没502。
好了
,我想问下底部版权信息在哪改Made by IMWNK.
按照方法按照出现
The environment file is invalid: Dotenv values containing spaces must be surrounded by quotes.
这里的话是因为在命令行安装时,提示输入域名时在中间添加了空格,请到根目录的 (.env) 文件修改( APP_URL) 为绑定域名,并确保没有空格。
一样的 试了很多次 求救
哪一步出现这个问题?
最后一步 也添加了swap 还是不行 试了很多次 阿里云轻量级
最后一步到底是哪步?我试了下,安装过程没啥问题,绑定账号的界面也可以打开,之后就没测试了。
composer install -vvv
博主,执行这条命令 composer install -vvv 出现这个警告
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for league/flysystem 1.0.48 -> satisfiable by league/flysystem[1.0.48]. - league/flysystem 1.0.48 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.Problem 2
- league/flysystem 1.0.48 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system. - laravel/framework v5.7.13 requires league/flysystem ^1.0.8 -> satisfiable by league/flysystem[1.0.48]. - Installation request for laravel/framework v5.7.13 -> satisfiable by laravel/framework[v5.7.13].To enable extensions, verify that they are enabled in your .ini files:
- /www/server/php/72/etc/php.iniYou can also run php --ini inside terminal to see which files are used by PHP in CLI mode.
看提示貌似是没安装Fileinfo拓展。
还真的是。。。貌似是安装的时候爆内存了。。。
加虚拟内存,文章说了。
重装解决了,已经搭好能用了。
还有他这个od管理连接是指向个人版的,我想改成我自己的连接,在哪里改?
这个不是很清楚,你研究下配置文件看看?
composer install -vvv这里似乎因为都是从china.org下载,导致美国的vps下载很慢或失败
可以把composer的源切换为 国际的源 ,参考命令
composer config -g repo.packagist composer https://packagist.phpcomposer.com
我也是美国vps,感觉还好。
超级慢
我也是
升级程序
php artisan od:update
最近都统一了,这样大家看了也方便,php artisan od:command 可以查看全部命令
统一好些,不然跟着改不过来。
站长你好,OLAINDEX的部分教程已更新,希望及时更新,很多朋友看到旧的安装教程都出现了问题,谢谢
其它设置里的命令还没更新哦
好了,你再看看
php artisan init:install后
报错 There are no commands defined in the "init" namespace.是什么情况
命令缺失,不过安装方法变了一行,已更新,你再试一次。
这个网站手机端的话看不完整文件的名字 只有两三个字
这个不是很清楚。
没有找到proc_get_status函数。然后全部安装好了,也没有什么报错。但是打开域名后台管理地址 打不开。
php设置那里没有么?前台也打不开?
博主可以贴个更新时的完整命令么
更新源码吗?稍后更新。
安装完打开显示这个:
Warning: require(): open_basedir restriction in effect. File(/www/wwwroot/pan_xxx_cn/public/../vendor/autoload.php) is not within the allowed path(s): (/www/wwwroot/pan_xxx_cn/public/:/tmp/:/proc/) in /www/wwwroot/pan_xxx_cn/public/index.php on line 24
Warning: require(/www/wwwroot/pan_xxx_cn/public/../vendor/autoload.php): failed to open stream: Operation not permitted in /www/wwwroot/pan_xxx_cn/public/index.php on line 24
Fatal error: require(): Failed opening required '/www/wwwroot/pan_xxx_cn/public/../vendor/autoload.php' (include_path='.:/www/server/php/72/lib/php') in /www/wwwroot/pan_xxx_cn/public/index.php on line 24
我也遇到了这样的问题,我看了index.php,追溯了一下,发现是composer的问题,重装一下就好了
权限给了没?或者你可以去问下作者:https://github.com/WangNingkai/OLAINDEX/issues。
早点看到这个教程就好了,我之前自己搭,重装了几次系统才搞好
只因为发的太迟。
安装流程已经优化,只需要下面的命令,php artisan init:install 包含了初始化的过程
cd web目录
git clone https://github.com/WangNingkai/OLAINDEX.git tmp
mv tmp/.git .
rm -rf tmp
git reset --hard
composer install -vvv # 这里确保已经安装composer成功
touch database/database.sqlite
php artisan init:install
chmod -R 755 storage/
chown -R www:www *
试了下.我这里需要先给web目录权限才能正常运行composer install -vvv命令

其他测试正常
好的,过两天有电脑了就试试。
网站建设不错,学习一下
申请显示这个是什么意思?
暂时出现问题
引发类型为“Microsoft.AppRegPortal.Providers.Graph.GraphException”的异常。
这个暂时不清楚,建议谷歌or百度。
https://i.loli.net/2018/10/15/5bc40796d82d6.png
这个提示怎么办 输入指令后要等带很久才有反应或者没有反应
国内服务器么?感觉网络问题。