DRUPAL 6 re-install and phpmyadmin onto server - drupal

I have Drupal 6 installed on a server with phpmyadmin. I didn't do the install of both so i'm not familiar with what was done (although I have installed drupal on another website host... they already had phpmyadmin set up). Some of the files got deleted and now I'd like to completely over-hall everything. There is a core php fatal error. I'd like to re-install the phpmyadmin and drupal and for some reason when i replace the files I get locked out of phpmyadmin and I can't reinstall the Drupal.
I would greatly appreciate direction with this problem. It's a big roadblock for me and I've worked pretty hard on developing modules for this portal site.
thanks
ingrid

About PMA:
You can download the latest PhpMyAdmin version from here:
http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/4.0.5/phpMyAdmin-4.0.5-all-languages.zip/download#!md5!a01d5b0552f90d6cc1c848c66ca07c2f
Extract it to a new directory in your web hosting root (for example 'pma').
Now point your browser to http://mywebsite.com/pma (your website /pma) and log in with your known details.
You can now access your databases and ignore the errors/warnings for now.
Drupal:
Download the latest drupal version from http://ftp.drupal.org/files/projects/drupal-6.28.tar.gz
Extract it and copy the files over your 'old' drupal files.
You have just repaired your Drupal installation.
In case there were updates go to http://yoursite.com/?q=user and log in.
Do not do anything else until you run http://yoursite.com/update.php

Related

Getting critical error when installing Wordpress

My hoster forced me to upgrade my Wordpress site because it was fairly old. I decided to upgrade to PHP 8.1. It caused issues with the website, so I figured I'd rebuild the whole website since it's a simple website. I deleted all the existing files and uploaded the 5.8.2 WordPress install files. Then I changed all the permissions to 0755. I created a fresh database for the install.
At first, the setup would appear. I would go through the install, but when I clicked install after entering all the database info, I got "There has been a critical error on this website." I recreated the .htaccess file to the default and tried again. Now I get this error just hitting the domain, no more setup screens. The site does redirect to the /wp-admin/setup-config.php file. I don't have a wp-config.php file in the directory, just the sample one. I tried creating a wp-config.php with the correct info, but same error. I also tried adding the debug options, increasing PHP memory, etc. Same error. I don't get any error logs.
Does anyone now how to get an error log or can help with ideas on how to create a fresh WordPress site? I did change the PHP versions to older ones, but that didn't work either.
You need to take a backup of your file ,then fallow the fallowing instruction.
Rename your plugin one by one and refresh the website.
this issue due to the unsupported plugin ,that is installed in your wordpress website.
1- Make a backup copy of the files and from the old database
2- After that, download these files on your PC
3- Install WordPress again
4- Replace the wp-content file with the old one
5- Clean the new database and import the old database through phpMyAdmin
I solved that problem installing an older version of Xampp, with previous version of php, MySQL and Apache. I give up version 8.1.1
XAMPP 7.4.27 / PHP 7.4.27
https://www.apachefriends.org/download.html
There was something wrong on the hosting side. The source of the issue was indeed that WordPress could not write to the config file. Even the hoster was unable to delete the files. We ended up deleting the entire root directory and starting from scratch. Now it's all good.
The lesson learned is that one of the sources of the "There has been a critical error on this website." error is that WordPress is unable to write/edit files. It's also why it could not write an error log. WordPress could have been more descriptive here.

Localhost works but refuses to connect on a particular project (ERR_CONNECTION_REFUSE) (WAMP)

this is my third question about the same project, so yes, i'm struggling.
I'm trying to manually import a wordpress site in local. We don't have access anymore to the dashboard (some bad stuff happenning), so i can't install a plug-in that migrate the site easily and automatically.
After having problems for linking the database with the site, i had PHP errors (continue targetting to break). Now i don't have php errors anymore but i can't access the site anymore.
I can go to localhost, it reaches it easily, i can go to my other projects, but it refuses to reach this particular project.
It says :
This site can’t be reachedlocalhost refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
I've traveled on different forums to find a solution but i didn't find why it occurs only on one of my projects. The only difference i see is that the other projects use mariaDB and this one MySQL.
thanks for the help
Dude,
check local on flywheel its much simplier than wamp. Link:
https://localwp.com/
besides when migrating manually:
zip all ur files and download
install new wordpress in your local machine.
copy somewhere new wp-config.php and save it in different localization
paste and extract zip package in new wordpress localization on your computer
download database from wordpress you want to migrate on your local machine
replace wp-config.php which u extracted from files with your new wordpress instalation wp-config.php [ad.3]
it would be nice if u install wp-cli on your computer:link for windows:
https://www.ryadel.com/en/install-wp-cli-windows-wordpress-command-line-interface-how/
import database into your new wordpress and than run search replace in order to change migrating site domain name [use wp cli its easiest way]
to import DB:https://developer.wordpress.org/cli/commands/db/import/
to replace domains:https://developer.wordpress.org/cli/commands/search-replace/
remember that your DB need to be .sql and pasted in main wp directory
open terminal in main wp directory and write than wp-cli commands
If u re not familiar with terminal on windows I prefer gitbash / its easy to use adding linux commands and all sort of staff (always remember to open as administrator)
u can download here:https://gitforwindows.org/
after performing all this actions you can now log-in into wordpress on your local machine.
go to settings->permalinks and click save.
here you go u have finally migrated your site!
If you see 'error technical issues' you should also check ur file and directory permissions of wordpress.
here a link to correct permissions You can change with in gitbash terminal:Correct file permissions for WordPress

how to re-install drupal 8 from scratch

Does Drupal 8 store its installation state in places other than the database? I had dropped the database several times to go through the installation from scratch, but it seems to be skipping steps at this point since it thinks its already "semi-installed".
I am a Drupal newbie, but experienced dev. I am using Windows 10, latest Firefox browser, Drupal 8.5.1 and MAMP (4.0 -- I think).
I successfully created the database, reached the Drupal choice of language start of installation page, and kicked it off BUT it had skipped the database setup page -- obviously it thinks it already knows where it is. And, it skipped the "site setup" step.
Then it launches a blank page with this url:
http://localhost/drupal/core/install.php?rewrite=ok&langcode=en&profile=standard&continue=1
and there is nothing happening. When I go to the drupal page again, it shows me the login page -- but I never had a chance to setup admin user, so I am stuck at that point.
So, how do I start from the very very begining? Thank you
Yes, on installation Drupal also does some other things beneath populating the database. It creates a settings.php file inside the /sites/default or /sites/mysite folder. Inside this file some information gets stored which then automatically gets skipped asking for the next time you reinstall Drupal (mainly it's which installation profile and the database credentials).
Simply delete the settings.php file and empty the /sites/default/files or /sites/mysite/files folder and you'll start from zero the next time you'll call your site in the browser.
The blank page may be caused by a misconfigured .htaccess file. Uncomment
RewriteBase /
in Drupal's root .htaccess file.
Pro Tip: If you are going to work with Drupal regularly, start all projects using this template: https://github.com/drupal-composer/drupal-project and choose PHPStorm as IDE. More about this template can be found on DO.
I have uninstalled MAMP and installed Acquia Dev Desktop -- everything works as expected, with the same version of Drupal.

Fresh Wordpress install on Amazon Linux EC2...can't delete and reinstall

I just recently started by creating a EC2 instance on AWS. I used the Amazon Linux package. I changed the PHP settings to include the ability to upload files larger than 200MB. Got phpinfo.php working. Installed phpMyAdmin. Everything looked good.
Next, I installed Wordpress. It worked great. Then I tried installing a theme. Worked great. Then I started installing some plugins for that theme. Something made the site crash. I tried a few things, but since I couldn't go to the sites Wordpress Admin panel, it seemed hopeless. So I decided to start from scratch. I deleted the html directory (including wp-content) and dropped all the wordpress tables. I moved a fresh copy of Wordpress into the html directory, reconfigured the config.php file, and it recreated the Wordpress tables in the database. Seems to work great. When I try to upload a theme, it says:
Connection Information
To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.
I noticed that wp-content didn't have a uploads directory, so I created one. That seemed to let me upload the theme, but it showed up as a media file. I moved it to the theme directory and that worked. But when I tried to upload a plugin, I got the same message as a above.
What happened when I deleted everything? Or rather, where was information stored that when I reinstalled Wordpress, it didn't create a uploads directory? I am fine with reinstalling Wordpress from scratch, but I don't want to reinstall the whole LAMP stack or redo the AWS instance. Any thoughts?
The issue is that your web server doesn't have the proper permissions to write to your content directory.
The WordPress Codex has some good info for proper file and directory permissions. Ideally, all files should have 644 permissions, and all directories should be 755 (no higher).
If you're still running into issues adding plugins and updating WordPress, you should heed the advice of the following (so that you don't have to enter FTP details into WordPress each time):
Any file that needs write access from WordPress should be writable by the web server. If your hosting set up requires it, that may mean those files need to be group-owned by the user account used by the web server process.

drupal ERPAL installation Requirements Views SavedSearches Clean URL not enabled

Am new to drupal and i want to install drupal ERPAL i followed everything, and finally i installed successfully. After that while i run the file am getting following problem.
1.To start over, you must empty your existing database.
2.To install to a different database, edit the appropriate settings.php file in the sites folder.
3.To upgrade an existing installation, proceed to the [update script][1].
4.View your [existing site][2].
When i click existing site, it returns me to the same page
when i click update script, it shows requirement problem.
How do i enable the clear url, while installing drupal.
Thanks,
John Melchior.
It depends on your server. Please check that you have mod_rewrite in your apache enabled.

Resources