dsl36367 2014-03-14 21:52
浏览 112

尝试安装maxmind geolite2数据库

I'm having a bit of trouble installing this. I have a managed VPS and my support said they installed it, here is the error that is coming up when I try using the script:

"Warning: require(/home/SITE/public_html/SITE.info/vendor/autoload.php): failed to open stream: No such file or directory in /home/SITE/public_html/SITE.info/age1/age1.php on line 3

Fatal error: require(): Failed opening required '/home/SITE/public_html/SITE.info/vendor/autoload.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/SITE/public_html/SITE.info/age1/age1.php on line 3"

Any help on this would be very appreciated.

  • 写回答

1条回答 默认 最新

  • dongruan6001 2014-04-08 02:52
    关注
    "autoload": {
        "psr-0": { "MaxMind": "src/" }
    

    Add this script in your composer.json file and do install composer and dependencies again.

    评论

报告相同问题?

悬赏问题

  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料
  • ¥15 使用R语言marginaleffects包进行边际效应图绘制
  • ¥20 usb设备兼容性问题
  • ¥15 错误(10048): “调用exui内部功能”库命令的参数“参数4”不能接受空数据。怎么解决啊
  • ¥15 安装svn网络有问题怎么办