Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

学长吼,我在搭建oj的时候发现了如下问题无法解决 #19

Open
moep0 opened this issue Mar 15, 2019 · 4 comments
Open

学长吼,我在搭建oj的时候发现了如下问题无法解决 #19

moep0 opened this issue Mar 15, 2019 · 4 comments

Comments

@moep0
Copy link

moep0 commented Mar 15, 2019

Warning: file_get_contents(http://127.0.0.1:8081/get_datapath): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in D:\XAMPP\htdocs\web\code\problempage.php on line 10
failed to get dir

这是因为我没有get_datapath这个api吗,希望您能解答,谢谢。

@z4yx
Copy link
Owner

z4yx commented Mar 15, 2019

请尝试一下 dev 分支的代码

@moep0
Copy link
Author

moep0 commented Mar 15, 2019

请尝试一下 dev 分支的代码

不是很明白您的意思,我看到您在之前一个issue里面说创建数据文件夹,我确实没有创建。
但是我看里面写的datadir=/home/judge/data 这个路径有点像linux下的路径,是这个需要修改才能进入problem界面吗

@moep0
Copy link
Author

moep0 commented Mar 15, 2019

请尝试一下 dev 分支的代码

我想错了,已经clone了,但是因为我用的是php7所以要去改mysqli也比较麻烦,您能说说是哪不一样吗,我直接把不一样的拷进去,谢谢您。

@z4yx
Copy link
Owner

z4yx commented Mar 15, 2019

git checkout -b dev
然后记得重新编译一下daemon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants