I have Moodle 2.3.3+ and after I press "continue" in "extension check page" in the installation the server will stop and when i try to access any domain on the server this message will come up:
The connection was reset
and after 3-5 minutes the server will response again and the installation will continue to the "admin registration" and when i press "submit" the server will crash again without saving the admin information.
Server Specifications:
Dedicated Server
Intel® Core™ i7-920 Quadcore
RAM 24 GB DDR3 RAM
Apache/2.2.16 (Debian)
PHP/5.3.3-7
PHP Log:
PHP Notice: Undefined variable: CFG in /var/www/clients/client1/web4/web/index.php on line 32
PHP Notice: Trying to get property of non-object in /var/www/clients/client1/web4/web/index.php on line 32
PHP Warning: require_once(/course/lib.php): failed to open stream: No such file or directory in /var/www/clients/client1/web4/web/index.php on line 32
PHP Fatal error: require_once(): Failed opening required '/course/lib.php'(include_path='.:/usr/share/php:/usr/share/pear') in /var/www/clients/client1/web4/web/index.php on line 32
any ideas why is that happening?
Related
Octane is installed with roadrunner while following the official guide, on the Ubuntu 18.04 server. Each step works as expected until the server is started:
php artisan octane:start --server=roadrunner --port=8181
Then, an error is received and the command exits. The complete stacktrace is attached:
INFO Server running…
Local: http://127.0.0.1:8181
Press Ctrl+C to stop the server
INFO [INFO] RoadRunner server started; version: 2.6.3, buildtime: 2021-12-03T11:37:00+0000
PHP Warning: require(/path/vendor/bin/bootstrap.php): Failed to open stream: No such file or directory in /path/vendor/bin/roadrunner-worker on line 18
PHP Fatal error: Uncaught Error: Failed opening required '/path/vendor/bin/bootstrap.php' (include_path='.:/usr/share/php') in /path/vendor/bin/roadrunner-worker:18
Stack trace:
#0 {main}
thrown in /path/vendor/bin/roadrunner-worker on line 18
INFO error occurred: WorkerAllocate:
INFO goridge_frame_receive: EOF, plugin: http.Plugin
ERROR 2021-12-07T12:01:53.048Z ERROR container/poller.go:16 vertex got an error {"id": "http.Plugin", "error": "WorkerAllocate:\n\tgoridge_frame_receive: EOF"}
ERROR github.com/spiral/endure/pkg/container.(*Endure).poll.func1
ERROR github.com/spiral/endure#v1.0.10/pkg/container/poller.go:16
ERROR handle_serve_command: WorkerAllocate:
ERROR goridge_frame_receive: EOF
Since roadrunner is based on go, I don't have much insights on how to navigate through the error. Please let me know if anyone has solved this issue before, thanks.
You should fix all warnings like this one: PHP Warning: require(/path/vendor/bin/bootstrap.php): Failed to open stream: No such file or directory in /path/vendor/bin/roadrunner-worker on line 18
These warnings appear in the stdout, but stdout is used as a process fd to communicate with the RR. That means if some data is sent to the stdout (like PHP warning) before RR initializes all processes (aka worker), RR will stop allocating the workers and exit with code 1.
When I try to run my project, I am getting this error in terminal.
[Fri Mar 30 14:36:23 2018] PHP Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
[Fri Mar 30 14:36:23 2018] PHP Fatal error: Unknown: Failed opening required '/var/www/html/imporeexcel/public/server.php' (include_path='.:/usr/share/php') in Unknown on line 0
I confirmed the issue, it seems a bug in laravel 5.6.12 installer. It deletes the server.php upon the first artisan serve.
A temporary solution will be to create another project then copy that newly created server.php this will solve it.
EDIT:
If your anti-virus is avast, you need to add exception there, I have a response in GitHub that avast considers it as a threat.
i have wamp server 3.0.0 installed
port 80 and 3306 are empty.
i am getting error message in my Wampserver homepage reading :
* ERROR * The PHP configuration loaded file is: - should be: C:/wamp/bin/apache/apache2.4.17/bin/php.ini or c:/wamp/bin/php/php5.6.15/phpforapache.ini
and my php error log file has errors:
PHP Warning: chmod(): Permission denied in C:\wamp\scripts\config.inc.php on line 68
PHP Warning: symlink(): Cannot create symlink, error code(1314) in C:\wamp\scripts\wampserver.lib.php on line 81
PHP Warning: symlink(): Cannot create symlink, error code(1314) in C:\wamp\scripts\wampserver.lib.php on line 90
No errors in mysql log file.
I get tons of this error:
Notice: unserialize(): Error at offset 0 of 205 bytes in /home/xtf/public_html/index.php on line 58
After a failed opencart upgrade atempt, i took all the files from my backup (Working backup) and replaced all files on the server.
I have not done any changes to the data in the MySQL database.
Do anyone have tip on how i can fix this error?
Is there a script i can run?
Line 58$config->set($result['key'], unserialize($result['value']));
So I just moved my files to a production server (CentOS), where my DocumentRoot would be /srv/www/example.com/app/webroot. when accessing through a browser I get the following error.
PS: I have set apache to user group www-data and that group is owner of /home/user/ and its subfolders (containing CakePHP core) and also the group is owner of /srv/www/.
[15-Mar-2014 19:47:46] PHP Warning: SplFileInfo::openFile(/srv/www/example.com/app/tmp/cache/persistent/myapp_cake_core_file_map) [<a href='function.SplFileInfo-openFile'>function.SplFileInfo-openFile</a>]: failed to open stream: Success in /home/user/cakephp-core/cakephp-2.4.6/lib/Cake/Cache/Engine/FileEngine.php on line 355
[15-Mar-2014 19:47:46] PHP Warning: SplFileInfo::openFile(/srv/www/example.com/app/tmp/cache/persistent/myapp_cake_core_cake_dev_en-us) [<a href='function.SplFileInfo-openFile'>function.SplFileInfo-openFile</a>]: failed to open stream: Success in /home/user/cakephp-core/cakephp-2.4.6/lib/Cake/Cache/Engine/FileEngine.php on line 355
[15-Mar-2014 19:47:46] PHP Warning: _cake_core_ cache was unable to write 'cake_dev_en-us' to File cache in /home/user/cakephp-core/cakephp-2.4.6/lib/Cake/Cache/Cache.php on line 325
[15-Mar-2014 19:47:46] PHP Fatal error: Call to undefined function error_get_last() in /home/user/cakephp-core/cakephp-2.4.6/lib/Cake/Core/App.php on line 911
Just noticed my PHP version is 5.1, this is probably the issue, getting 5.5. Close please.
Check if the app/tmp/ folder is writable by your web server user.