I had created a folder in my site, and uploaded drupal in it. But when I access it, the following error is coming
Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact the server administrator, webmaster#xxxxxx.xx and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
There are literally thousands of things that can be wrong
Do you have access to the webserver logs? Check /log/apache/error.log for errors.
Have you already configured drupal correctly? Normally, when you surf to the drupal root directory, you get presented with an installer message.
Does your server support PHP?
I'd recommend any of the following:
Checking that you meet the Drupal requirements
Re-uploading the whole Drupal folder
Testing the Drupal folder (is this a custom installation, or just straight from the drupal website?) on local LAMPP webserver.
Assuming you're trying to run Drupal for the first time (ie run the installer), have you followed the pre-install setup?
Here's Drupal's "Quick install guide for beginners": http://drupal.org/documentation/install/beginners
Since you've already uploaded the code and you have your domain set up, you can probably skip down to the big labelled "Create the configuration file and grant permissions".
The first thing in this section is to create your settings.php file. Drupal won't work without this. You also need to set its file permissions to that Drupal's installer can update it.
My guess is that this is why you're getting the error. Follow the instructions on the page I linked you to above and you should be okay.
You'll also need to have a database ready for use by Drupal. The Drupal installer will populate the DB tables, but you need to at least have the empty DB ready for it to use.
Hope that helps.
Related
I am trying to install WordPress on Ubuntu.
I have installed mysql and created a database and granted a new user permission to use it, but when I visit the domain linked to the server it asks me for the database information and then says it is invalid.
I have double-checked this information, so does anyone have any suggestions why this is happening?
I visit the domain linked to the server it asks me for the database
information and then says it is invalid.
When this happens, most probable reasons would be.
The actual database and schema may be unavailable.
So first check if the database table is available to you. This can be done through command line, phpmyadmin, or database clients like MYSQL Workbench. Try accessing your database. If the schema is available and accessible to you, then surely wordpress too can connect to it.
You have mentioned that you are trying to access the domain name, and enter credentials, which means you are trying to install via graphical user interface, as against editing wp-config.php file via ssh. So, if if you have passed the step 1, try to check if the file system is writable. Read this article for setting correct file permission. https://wordpress.org/support/article/changing-file-permissions/
Also you can include some screenshots, and add more information on the type of server configuration(apache/nginx, php, mysql versions, port configurations) you use, and the type of installations you performed.
I am trying to migrate from one server with vTiger 6.0 to a new server with vtiger 6.2.
I complete the installation and also i move the database from the old server and no problems in those parts.
The errors come when i try to login, if i try to login with my user i get the error
"Sorry! Attempt to access restricted file"
and when i try to login with the admin account i get a lot of illegal request messages, i do get the vTiger GUI but if i click in one option menu i get a illegal request and if i logout it displays the next message
"{"success":false,"error":{"code":"Illegal request","message":"Illegal request"}}"
i'm new to Vtiger and i don't know why is this happening.
Some extra info i have try to check the path directory and seems to be right, the database data is right too it recognize the users when you log in just doesnt show anything but an error.
When i finish the installation i could enter with no problem the problem start when i uploaded the Database.
Also i want to access to enter from another computer, do i need to enable port 8888 on the server?
I am using a localhost and from that pc i want to acces from another pc.
Illegal request error is due to the improper CSRF validation. Please make sure that your browser url is same as your $site_URL in config.inc.php file .
config.inc.php file you will get from your Directory following below path --
C:\Program Files (x86)\vtigerCRM620\apache\htdocs\vtigerCRM\config.inc.php
In that file change $site_URL from 'http://localhost:8888/'; to 'http://1.6.2.12:8888/'; (1.6.2.12 is your machine IP)
This process will make your machine "1.6.2.12" into server for Vtiger application, so your application will be hosted on server 1.6.2.12 and then you can access this application on other computer also.
Port-8888 is used by Apache which is inbuilt in Vtiger by default so don't make any changes in that.
If you've migrated your data then try checking /vtiger/user_privileges/
There should be 2 files for each user: user-privileges-.php and sharing-privileges-.php (admin will be 1)
These can become lost and/or have dodgy permissions after migration, has happened twice to me. For some reason, Admin always copies over and works.
From your backup, take the related user files in /vtiger/user_priveleges/ and put them in new working folder and set permissions to read/write.
Make sure you transfer all files in /user_privileges because they are generated by sharing rules system in vTiger should be transferred like database.
I'm trying to upload my symfony2 project on godaddy, on a sharing host.
I have several problems like a message : No input file specified when i login, register or other action.
Do you know something about this error message ?
I'm pretty sure that's related with the PHP version is running on godaddy server. But it should be related also with another tools they use for compilation process.
We are migrating a bit of an old Drupal installation (6.x) from one hosting platform to another. Unfortunately due to political issues we are unable to upgrade the Drupal Core or modules prior to migration (eg. Needs to be done yesterday!).
Having copied all files across to the new server (in the identical location) and also re-imported the required databases and modified the settings.php file when we access the site all that is displayed is the Drupal installation screen.
I'm guessing it's some sort of path issue but there were no paths in the settings.php file. Following another post on here I realised that I hadn't brought across the .htaccess files but I have now done that and still no change.
Can anyone suggest anywhere I should be looking or perhaps a step I have missed?
We are moving from an Apache server to a LiteSpeed Web Server but I doubt that is an issue.
Any help anyone can provide would be hugely appreciated.
Thanks
Josh
The install screen is normally shown when Drupal can connect to the database server (so credentials seem to work), but does not find the existing Drupal database itself.
So you should check your database connection settings in settings.php and verify that it references the correct database. You should also verify that the database got migrated correctly, and that the user used by the Drupal instance has the proper access rights for the migrated database (although the latter would result in a different error message, IIRC).
I have just moved my site from developpement plateform to production.
I configure the setting files in the $db_url string. I have put the good ones because I use these credential in a shell to access th database, there is no problem.
But when I try to access my site I get the following message:
Site off-line
The site is currently not available due to technical problems. Please try again later. Thank you for your understanding.
If you are the maintainer of this site, please check your database settings in the settings.php file and ensure that your hosting provider's database server is running. For more help, see the handbook, or contact your hosting provider.
you will see this message if drupal can't connect to its database....check the filed settings.php again...and make sure that the database, username and password are correct and no problem with connecting to the database