I'm trying to install Drupal locally on Fedora 22.
I've done all that drupal.org/documentation/install says to complete the installation but when I try to run Drupal it doesn't works.
On the URL I put: localhost/ and it works so it seems that I don't have any problem here, but when I write: localhost/drupal or localhost/drupal/install.php it doesn't works!
And everytime I get this error: GET http://localhost/drupal/install.php [HTTP/1.0 500 Internal Server Error 19ms]
Does someone know how can I fix it?
You have to take a look at your apache or nginx logs (error logs) to see what is the problem. Some server configuration output the errors in a file "error_log" in the root of your Drupal installation.
http://www.codeasite.com/index.php/linux-a-apache/94-how-do-i-find-apache-http-server-log-files
https://fedoraproject.org/wiki/Nginx
Maybe some PHP extensions are missing. Check Drupal requirements : https://www.drupal.org/requirements
Related
I installed the Openstack horizon(Train version) by followed guide, no error showing in my install steps. After finished install, I access "http://controller_ip/dashboard", and got an error:
The requested URL /auth/login/ was not found on this server.
Can anyone help?
this
https://bugs.launchpad.net/horizon/+bug/1853651
By adding the following to the config file (and restarting httpd), the horizon dashboard then loads without issue:
WEBROOT = '/dashboard'
I moved a WordPress site from a cpanel server to plesk server. Then, i upgraded manualy the site from 3.5.1 version to 4.8.3. Afterwards i tried to upgrade plugins (fancy box) as well as to intall new plugins (contact form 7).
The issue i have is that i get the following error message "Update Failed: Download failed. Destination directory for file streaming does not exist or is not writable.".
In the server's log file i can see few warning like the following one
mod_fcgid: stderr: PHP Warning: file_exists(): open_basedir restriction in effect. File(/home/dentist/domains/dentist.com.gr/public_html/newsite/wp-content/uploads//easy-fancybox.1.6.2-Vlaovu.tmp) is not within the allowed path(s): (/var/www/vhosts/ggeorgiou.gr/ggeorgiou.work/:/tmp/) in /var/www/vhosts/ggeorgiou.gr/ggeorgiou.work/wd/dentist.com.gr/wp-includes/functions.php on line 2085, referer: http://www.ggeorgiou.work/wd/dentist.com.gr/wp-admin/plugins.php
Finally, note that in "Settings --> Media" menu in "
Store uploads in this folder" field i have put the following path of the current server: "/var/www/vhosts/ggeorgiou.gr/ggeorgiou.work/wd/dentist.com.gr/wp-content/uploads".
Any idea please what is wrong about?
Thank you
From what you posted, your exact error message is "open_basedir restriction in effect". You can read more about how to solve it here How can I relax PHP's open_basedir restriction?
Also,
Assuming you have a backup of the previous version, I would start by restoring that.
Secondly, there are many versions between 3.5.1 and 4.8.3. It is advisable to upgrade in increments of one version at a time. It is long but safer.
Issue description:
Install package on CentOS7 with below command:
yum install <package_name>
error:
# yum install httpd
Loaded plugins: fastestmirror
http://centos-distro.1gservers.com/7.2.1511/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 403 - Forbidden
Trying other mirror.
To address this issue, please refer to the below knowledge base article
https://access.redhat.com/solutions/69319
If above article doesn't help to resolve this issue, please create a bug on https://bugs.centos.org/
Other info
>* I can be sure I did not have a proxy setting in /etc/yum.conf.
>* The firewall is closed.
>* I already try yum clean all
Something may relate
I have added the following two to config in /etc/yum.conf
timeout=9999
minrate=0
I added them because sometimes I will hit too slow or timeout error. If I remove this two from config, the error will be replaced by
# yum install httpd
Loaded plugins: fastestmirror
http://centos-distro.1gservers.com/7.2.1511/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://centos-distro.1gservers.com/7.2.1511/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
The error message did give a link. But that link can only be read by RedHat support accounts. I tried googling this, but the result either none related or can not solve my problem. Stack overflow also had one post about this. But it is also not helping.
Can anyone give some advice?
I solved this issue. This is because some external, third party firewall of my lab is blocking me.
Although the root cause is not very meaningful, but the way to trouble shoot should worth mention to reference.
Trouble shooting
It said 403 for some url. So I will access that url from my compute with below command.
curl -i <url>
The output contains http header. It is 403. Then I copy the html body to some text file. Use a web Broswer to open it. I found some information like:
your orgainization firewall block you
So... it is a network problem of my lab
I work with wordpress, and I wanted to change my permalink from "default" to "post name". after i changed it i got an 404 error from apache. then I searched and get this: Wordpress permalink structure change issue when I write this commant "sudo a2enmod userdir" and refresh my page, I get 500 error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster#localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
here is my server log error:
127.0.0.1:45292] /var/www/tvvarzesh.dev/public_html/.htaccess: Invalid command 'BEGIN', perhaps misspelled or defined by a module not included in the server configuration
what should I do? thanx
Please follow the below steps:
Go to Dashboard > Settings > Permalinks
Select a suitable permalink structure and click Save.
WordPress will generate a new .htaccess file code, copy the code.
Create a file named .htaccess in the WordPress root directory and paste the code into it and save.
i´ve got drupal 7 installed on my pc running on localhost from Acquia Dev stack. Now i tried to installed Drupal-Commonns, but i got this error when the Install Profile stage is running:
An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows.
Path:
.......
siteChoose site color paletteEnter Homepage welcome textCreate the first groupFinished
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dc.watchdog' doesn't exist
what might it be?
thanks
You need to enable Database logging module.
This module will create watchdog table.
After that this error will go away.
Hope this will help. :)