Skip to content
This repository has been archived by the owner on Aug 8, 2019. It is now read-only.

Cannot process the script #23

Closed
Alehandro231 opened this issue Jul 25, 2016 · 4 comments
Closed

Cannot process the script #23

Alehandro231 opened this issue Jul 25, 2016 · 4 comments

Comments

@Alehandro231
Copy link

Alehandro231 commented Jul 25, 2016

Good day!
Please help to understand.
During the transition from the WP website to the MOODLE site shows the message error processing script.
When moving from WP website on the Moodle site shows the error message of the script. All settings are done on WP and MOODLE.
On the MOODLE server rights to the directory wp2moodle done.
The MOODLE server: Linux, Nginx, Php v 5.5.9, Php-fpm.

@frumbert
Copy link
Owner

Hmm, can you include the outputs of phpinfo()? do you happen to have the php error logs handy for the Moodle side?

@Alehandro231
Copy link
Author

Yes, the log files are available.
Here is the information from the log files:
2016/07/24 18:22:08 [error] 857#0: *264354 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 64.137.249.120, server: site.su, request: "GET //phpMyAdmin-3.1.2.0-all-languages/scripts/setup.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "91.226.85.187"

In the attachment file with phpinfo()
PHPinfo().pdf

@frumbert
Copy link
Owner

  1. Do you have mcrypt installed on the server? (e.g. sudo apt-get install php5-mcrypt && sudo php5enmod mcrypt
  2. The error in the log looks remarkably like http://serverfault.com/questions/734935/nginx-and-php-fpm-primary-script-unknown, which talks about document roots being the issue. (nginx isn't my strong suit)

@Alehandro231
Copy link
Author

Nginx is configured in accordance with all laws and rules.
The problem was observed in the absence of. Fulfilled point #1 - everything works.
Thank You for your help.

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

No branches or pull requests

2 participants