Giter VIP home page Giter VIP logo

vmoex-framework's People

Contributors

adlered avatar az13js avatar jjsty1e avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

vmoex-framework's Issues

带哥,创建静态资源文件时b*.min.css文件不存在

[root@VM_0_14_centos www.tuciy.com]# php bin/console assetic:dump --env=prod
generated new assets version: 5e36f436
Dumping all prod assets.
Debug mode is off.

00:09:26 [file+] /www/wwwroot/www.tuciy.com/app/../web/build/css/de6acdf.css
00:09:26 ERROR [console] Error thrown while running command "assetic:dump --env=prod". Message: "The source file "/www/wwwroot/www.tuciy.com/app/../web/assets/lib/bootstrap/dist/css/bootstrap.min.css" does not exist." ["exception" => RuntimeException { …},"command" => "assetic:dump --env=prod","message" => "The source file "/www/wwwroot/www.tuciy.com/app/../web/assets/lib/bootstrap/dist/css/bootstrap.min.css" does not exist."]

In FileAsset.php line 62:

The source file "/www/wwwroot/www.tuciy.com/app/../web/assets/lib/bootstrap/dist/css/bootstrap.min.css" does not exist.

assetic:dump [--forks FORKS] [--watch] [--force] [--period PERIOD] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] [<write_to>]
QQ浏览器截图20200203001205

Domestic and Local Movers Packers in Dubai

Some of our customers want to move within the city or country while others want to relocate their office to a foreign location. Irrespective of your requirement, we can provide you with solutions that will meeting your supplies. Our Movers and Packers Dubai handle each local move professionally and reliably. Also, we also offer unresolved moving services.

请问修改管理员密码时报错怎么办?

[root@VM_0_14_centos config]# php bin/console doctrine:database:init
Could not open input file: bin/console
然后我到网站目录执行命令也报错
[root@VM_0_14_centos vmoex-framework]# php bin/console doctrine:database:init

In FileLoader.php line 168:

The file "/home/wwwroot/default/vmoex-framework/app/config/parameters.yml"
does not contain valid YAML: Unable to parse at line 11 (near "database_pas
sword:密码") in /home/wwwroot/default/vmoex-framework/app/config/pa
rameters.yml (which is being imported from "/home/wwwroot/default/vmoex-fra
mework/app/config/config.yml").

In YamlFileLoader.php line 669:

The file "/home/wwwroot/default/vmoex-framework/app/config/parameters.yml"
does not contain valid YAML: Unable to parse at line 11 (near "database_pas
sword:密码").

In Parser.php line 474:

Unable to parse at line 11 (near "database_password:密码").

邮箱支持 sendgrid

可以支持一下sendgrid 的邮箱设置吗?

使用sendgird 出现这个报错
Address in mailbox given [apikey] does not comply with RFC 2822, 3.6.2.

sendgrid 使用smtp

Server smtp.sendgrid.net
Ports 25, 587(for unencrypted/TLS connections)465(for SSL connections)
25, 587 (for unencrypted/TLS connections)
465 (for SSL connections)
Username apikey
Password YOUR_API_KEY

there is no changed_nickname_at field in user table

I've checked the https://github.com/YesknStudio/vmoex-framework/blob/master/var/data/vmoex.sql file, no changed_nickname_at

but there is a changed_nickname_at member variable in src\Yeskn\MainBundle\Entity\User.php

what the fuck?

mysql5.7情况下,打开首页,mysql报错

image

猜测上边问题是由于mysql5.7的sql_mode问题引起的,
一种方法大概是设置sql_mode为only_full_group_by模式。
另外一种方法大概是修改symfony的配置文件,现在正在考虑怎么研究代码内配置。

最后一步报错,请求帮助!

  • 运行环境: 阿里云ESC
1.MySQL 5.7
2.PHP-7.3
3.Redis 5.0.8
4.Nginx 1.17.5
  • 报错命令部分

之前的命令都是没有报错的,而且 php bin/console server:run 0.0.0.0:8000 也没有报错。


root@iZbp11ugrf9k59wexhyoheZ:~/vmoex-framework# php bin/push-service.php start -d


Workerman[bin/push-service.php] start in DAEMON mode
pcntl_fork() has been disabled for security reasons in file /root/vmoex-framework/vendor/workerman/workerman/Worker.php on line 1123
PHP Fatal error:  Uncaught Exception: setsid fail in /root/vmoex-framework/vendor/workerman/workerman/Worker.php:1130
Stack trace:
#0 /root/vmoex-framework/vendor/workerman/workerman/Worker.php(502): Workerman\Worker::daemonize()
#1 /root/vmoex-framework/bin/push-service.php(156): Workerman\Worker::runAll()
#2 {main}
  thrown in /root/vmoex-framework/vendor/workerman/workerman/Worker.php on line 1130

Fatal error: Uncaught Exception: setsid fail in /root/vmoex-framework/vendor/workerman/workerman/Worker.php:1130
Stack trace:
#0 /root/vmoex-framework/vendor/workerman/workerman/Worker.php(502): Workerman\Worker::daemonize()
#1 /root/vmoex-framework/bin/push-service.php(156): Workerman\Worker::runAll()
#2 {main}
  thrown in /root/vmoex-framework/vendor/workerman/workerman/Worker.php on line 1130

  • 日志

看日志像是php7.3版本过高导致的?

root@iZbp11ugrf9k59wexhyoheZ:~/vmoex-framework/var/logs# cat prod-2020-05-10.log 
[2020-05-10 13:30:15] php.INFO: User Deprecated: The "assetic.asset_manager" service is private, getting it from the container is deprecated since Symfony 3.2 and will fail in 4.0. You should either make the service public, or stop using the container directly and use dependency injection instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"assetic.asset_manager\" service is private, getting it from the container is deprecated since Symfony 3.2 and will fail in 4.0. You should either make the service public, or stop using the container directly and use dependency injection instead. at /root/vmoex-framework/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:282)"} []
[2020-05-10 13:30:15] php.INFO: User Deprecated: Using the "Twig_Source" class is deprecated since Twig version 2.7, use "Twig\Source" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Using the \"Twig_Source\" class is deprecated since Twig version 2.7, use \"Twig\\Source\" instead. at /root/vmoex-framework/vendor/twig/twig/lib/Twig/Source.php:7)"} []
[2020-05-10 13:30:15] assetic.ERROR: The template "SecurityBundle:Collector:security.html.twig" contains an error: Unknown "profiler_dump" function in "SecurityBundle:Collector:security.html.twig" at line 116. [] []
[2020-05-10 13:30:15] assetic.ERROR: The template "DoctrineBundle:Collector:db.html.twig" contains an error: Unknown "profiler_dump" function in "DoctrineBundle:Collector:db.html.twig" at line 243. [] []
[2020-05-10 13:30:15] php.INFO: User Deprecated: The Symfony\Component\Process\ProcessBuilder class is deprecated since Symfony 3.4 and will be removed in 4.0. Use the Process class instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The Symfony\\Component\\Process\\ProcessBuilder class is deprecated since Symfony 3.4 and will be removed in 4.0. Use the Process class instead. at /root/vmoex-framework/vendor/symfony/symfony/src/Symfony/Component/Process/ProcessBuilder.php:14)"} []
root@iZbp11ugrf9k59wexhyoheZ:~/vmoex-framework/var/logs# 

movers and packers in dubai

Safety of the valuable goods of our customers is our foremost concern. We promise that no damages will occur and in case of any slight damage the whole item will be replaced by opal Movers and packers in Dubai. We have an efficient team of workers who are keen in putting their maximum to deliver the best and accurate services in packing and moving.

It is unscientific in this modern age because it’s very time consuming and expensive too. Think once as you have to take charge of this for a whole day might leaving your job and stress as well.

Moving with us is a very wise idea as we provide you this service at a reasonable price and relocate all the household or office stuff.

Movers Packers in Dubai 0521472244

Our Movers and Packers in Dubai use first-class commercial packing resources in all our projects. Our movers sensibly pack all the items independently and put them into study moving boxes. They make certain that faint items, décor as well as crockery are packed with extra care. It is this care to detail that sets us separately from many other companies that offer moving services in Dubai.

movers packers in dubai

Sardar Movers and Packers in Dubai, our Movers and Packers Dubai warranty the complete quality of service to its customers. For lots of years of experience, the Cheap Sardar Movers has well-defined for its Domestic network the severe quality trials that are applied in our secondary. These performances invent from overall quality standards but also values recognized by the most admired certification bodies in the removal industryhttps://sardarmovers.com/

painting service in dubai

We are main seller for it with tremendous involvement with giving the quality work of Villa Painting Services. Our glad clients incorporate from a little house proprietor to that of an enormous condo and from a medium sized entrepreneur to a corporate association. We have group of Interior House Painters, Exterior House Painters and Residential House Painters who are both qualified and experienced enough to comprehend the details. The painters we have are best in Dubai with demonstrated reputation of serving for industry monsters, and business head honchos.

movers service in dubai

In most cases, these two services drive hand-in-hand. Most of our customers choose our VIP package and best Movers and Packers. Where we handle the move from start to end. Our white-glove service is whole for busy business owners that do not have the time to manage or tackle any of the processes themselves. We are loyal to providing our customers value for money, which is why we make certain that these services are extremely profitable.
Liable on the plan that you have selected, we provide outstanding services. Our business movers will make sure that every solitary item is packed perfectly in commercial-grade materials and put into durable boxes. At your new location, they will unload and place the whole thing as required in the areas that you want them.

我写了一个脚本,用于创建静态资源链接,之前的符号链接是用在linux上的

<?php symlink("..\\..\\..\\node_modules\\jquery.caret", "Caret.js");symlink("..\\..\\..\\node_modules\\bootstrap", "bootstrap");symlink("..\\..\\..\\node_modules\\bootstrap-social", "bootstrap-social");symlink("..\\..\\..\\node_modules\\echarts", "echarts");symlink("..\\..\\..\\node_modules\\eds-ui", "eds-ui");symlink("..\\..\\..\\node_modules\\font-awesome", "font-awesome");symlink("..\\..\\..\\node_modules\\jquery", "jquery");symlink("..\\..\\..\\node_modules\\jquery-pjax", "jquery-pjax");symlink("..\\..\\..\\node_modules\\at.js", "jquery.atwho");symlink("..\\..\\..\\node_modules\\laydate", "laydate");symlink("..\\..\\..\\node_modules\\metismenu", "metisMenu");symlink("..\\..\\..\\node_modules\\nprogress", "nprogress");symlink("..\\..\\..\\node_modules\\socket.io-client", "socket.io-client");symlink("..\\..\\..\\node_modules\\startbootstrap-sb-admin-2", "startbootstrap-sb-admin-2");symlink("..\\..\\..\\node_modules\\wangeditor", "wangeditor");

把这个个脚本保存成1.php放在C:\Users\Administrator\Downloads\vmoex-framework-master\web\assets\lib下运行即可,需要先删除之前的那些符号链接

用户注册出现500 错误

[2019-05-25 11:11:14] request.INFO: Matched route "register". {"route":"register","route_parameters":{"_controller":"Yeskn\\MainBundle\\Controller\\AuthController::regAction","_route":"register"},"request_uri":"xxxx.com/register?%2Fregister","method":"POST"} [] [2019-05-25 11:11:14] security.INFO: Populated the TokenStorage with an anonymous Token. [] [] [2019-05-25 11:11:15] php.WARNING: Warning: file_put_contents(/www/wwwroot/xxxx.com/web/upload/avatar/b09f668648031c5d3ad461ae5c9cde22.png): failed to open stream: No such file or directory {"exception":"[object] (ErrorException(code: 0): Warning: file_put_contents(/www/wwwroot/xxxx.com/web/upload/avatar/b09f668648031c5d3ad461ae5c9cde22.png): failed to open stream: No such file or directory at /www/wwwroot/xxxx.com/src/Yeskn/MainBundle/Services/RandomAvatarService.php:33)"} [] [2019-05-25 11:11:15] request.CRITICAL: Uncaught PHP Exception Intervention\Image\Exception\NotReadableException: "Image source not readable" at /www/wwwroot/xxxx.com/vendor/intervention/image/src/Intervention/Image/AbstractDecoder.php line 345 {"exception":"[object] (Intervention\\Image\\Exception\\NotReadableException(code: 0): Image source not readable at /www/wwwroot/xxxx.com/vendor/intervention/image/src/Intervention/Image/AbstractDecoder.php:345)"} []

上面是log里面的报错

看起来是要给用户头像,可是根部文件 好像并没有 头像文件

部署错误

[root@VM-0-13-centos vmoex-framework]# php bin/console doctrine:database:init
ok, that's awesome!
[root@VM-0-13-centos vmoex-framework]# php bin/console change-password -u admin -p 123456

In AbstractConnection.php line 155:

AUTH failed: WRONGPASS invalid username-password pair [tcp://localhost:6379]

按你的教程建完了之后,出现错误

Oops! An Error Occurred
The server returned a "500 Internal Server Error".
Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.
这个错误。。感觉没弄错哪一步啊 缓存也清理了 权限也给了

补充(大部分常见问题及解决方法)

我目前在用宝塔的环境来配置的
Nginx:1.17.10 Mysql:5.6.48 PHP:7.3 Pure-Ftpd:1.0.49 PHPMyAdmin:4.7 PM2 Manager:4.2.3 Redis:6.0.5
(并非全部都能用上,只是列出我现在所用的配置)
以下是我所遇见过的问题及解决方法
git clone [email protected]:yeskn-studio/vmoex-framework.git && cd vmoex-framework指令出错
我所遇见的错误是密钥出错/没有权限拉取github仓库资源(可能差不多是这个意思,来自谷歌翻译)

解决方法:

执行ssh-keygen -t rsa -b 4096

着会让你输入存放密钥的位置,输入/root/githubmiyue`之后回车

两次回车(或者一次?这是让你输入密钥的密码,不懂得或者不想麻烦的建议不输)

接着在你的/root/(同~/)目录下看到名为githubmiyuegithubmiyue.pub文件

执行git config --global user.name 你的github用户名

执行git config --global user.email 你的github邮箱

执行ssh-add githubmiyue

githubmiyue.pub中的内容全部复制

打开https://github.com/ ,登陆你的github,然后点击New ssh key,将刚刚复制的内容全部粘贴入key的编辑框中标题随意

执行ssh [email protected]测试是否成功

前/后台js css丢失

_A`04}IO{6 BPX~SK)MINFE
M}3627Z4E4L5 KUH5}ZJE7T

按照部署教程中部署完毕后,无法发布内容,后台排版也炸了。
环境:mysql5.6 php7.2 redis5.0.3 Nginx 1.8.1
已正常配置伪静态,socket正常启动,创建了静态资源

打开之后

Parse error: syntax error, unexpected ':', expecting ';' or '{' in /www/wwwroot/zzzacg.xyz/src/Yeskn/MainBundle/Entity/User.php on line 751
Oops! An Error Occurred
The server returned a "500 Internal Server Error".
Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.

Fatal error: Uncaught exception 'Doctrine\ORM\Mapping\MappingException' with message 'The target-entity Yeskn\MainBundle\Entity\User cannot be found in 'Yeskn\MainBundle\Entity\Visit#user'.' in /www/wwwroot/zzzacg.xyz/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/MappingException.php:762 Stack trace: #0 /www/wwwroot/zzzacg.xyz/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php(1028): Doctrine\ORM\Mapping\MappingException::invalidTargetEntityClass('Yeskn\MainBundl...', 'Yeskn\MainBundl...', 'user') #1 /www/wwwroot/zzzacg.xyz/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php(272): Doctrine\ORM\Mapping\ClassMetadataInfo->validateAssociations() #2 /www/wwwroot/zzzacg.xyz/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php(251): Doctrine\ORM\Mapping\ClassMetadataFactory->validateRuntimeMetadata(Object(Doctrine\ORM\Mapping\ClassMetadata), NULL) #3 /www/wwwroot/zzzacg.xyz/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php(332): Do in /www/wwwroot/zzzacg.xyz/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/MappingException.php on line 762

部署完站点打不开,页面全空白有个“loading”

[2020-02-06 21:09:40] assetic.ERROR: The template "SecurityBundle:Collector:security.html.twig" contains an error: Unknown "profiler_dump" function in "SecurityBundle:Collector:security.html.twig" at line 116. [] []
[2020-02-06 21:09:40] assetic.ERROR: The template "DoctrineBundle:Collector:db.html.twig" contains an error: Unknown "profiler_dump" function in "DoctrineBundle:Collector:db.html.twig" at line 243.
QQ截图20200206233425

MOVERS AND PACKERS IN DUBAI 0521472244

MOVERS PACKERS IN DUBAI We’re a group of experts working nonstop to satisfies the customer prerequisite and make the movers and packers in dubai . Proficient movers, gives a most solid and savvy moving administrations to enable you to migrate without pressure. Aside from moving administrations, we’re additionally inconceivably knowledgeable with pressing services,furniture establishments and expulsion administrations. All the activities of furniture movers in dubai are done in a completely professional way. It is important to know that the assistance of specialists of this market leader does not help to change the base in an efficient method. The list of the service provider is increasing on regular basis. A large number of people are contacting its senior officials on daily basis to meet the expectations in a professional manner while keeping pocket safe against big expenditure.

请问修改管理员密码时报错怎么办

In AbstractMySQLDriver.php line 42:

An exception occurred while executing 'SELECT t0.id AS id_1, t0.username AS username_2, t0.nickname AS nickname_3, t0.password AS password_4, t0
.email AS email_5, t0.is_email_verified AS is_email_verified_6, t0.avatar AS avatar_7, t0.remark AS remark_8, t0.gold AS gold_9, t0.sign_day AS
sign_day_10, t0.active_val AS active_val_11, t0.role AS role_12, t0.salt AS salt_13, t0.register_at AS register_at_14, t0.login_at AS login_at_1
5 FROM user t0 WHERE t0.username = ? LIMIT 1' with params ["vmoex-framework"]:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'vmoex.user' doesn't exist

In PDOStatement.php line 119:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'vmoex.user' doesn't exist

In PDOStatement.php line 117:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'vmoex.user' doesn't exist

change-password [-u|--username USERNAME] [-p|--password PASSWORD] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--]

小问题

访问/admin/visit/list 页面出现 500 报错

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.