After updating XAMPP, existing Wordpress sites redirect to an install page? - php

I recently updated to the current version of XAMPP. Before the update, I made a backup of all my htdoc files (all Wordpress installs), and then uninstalled XAMPP.
But I failed to export my databases. (My bad.)
Now when I try to access my local sites, I am brought to the 5-minute installation page for Wordpress—with the notification that users already exist. (Screenshot of the Wordpress install page here.) The install process only produces database errors and tells me that tables already or don't exist. At the bottom of the page I am told to log-in...which brings me to a 404 error.
Ugh.
I have tried exporting the .sql files I'm particularly desirous to save and importing them in new databases...but to no avail.
Any insight? Are my sites toast, or what can I do to restore all my work?

Learned through another coder that all my data is indeed toast. Don't know exactly how this happened, but as a warning to y'all: Find and follow instructions to upgrade XAMPP before proceeding and take every precaution you can!

Related

MISSING UPDATES FOR: MEDIA Drupal 9

I have started facing an issue with locally hosted Drupal 9 (Xampp, Windows 10). The issue started when I was trying to create events in drupal 9 and I was redirected to Install.PHP page. However, upon checking I was redirected to Update.php and the error seems to be as mentioned below.
Install.PHP page message:
Drupal 9.2.2 Drupal already installed To start over, you must empty
your existing database and copy default.settings.php over
settings.php. To upgrade an existing installation, proceed to the
update script. View your existing site.
Update.php Page Message:
MISSING UPDATES FOR: MEDIA The installed version of the Media module
is too old to update. Update to a version prior to 9.0.0 first
(missing updates: media_post_update_collection_route,
media_post_update_storage_handler,
media_post_update_enable_standalone_url,
media_post_update_add_status_extra_filter).
I'm well aware of the fact that Media is a core module and I havent tried upgrading it or my site. My site has always been a D9 installation and there were no migrations etc. I would really appreciate expert help on this issue.
Running this in a function in my .theme file did the trick for me:
\Drupal::service('update.post_update_registry')
->registerInvokedUpdates(['media_post_update_collection_route', 'media_post_update_storage_handler', 'media_post_update_enable_standalone_url', 'media_post_update_add_status_extra_filter', 'setting functions as applied according_to_the_error_message']);
I personally used hook_theme() (Make sure to clear your cache for it to run and also remove this code once the issue is fixed.)

Getting Page loading error after successful Plugin installation in Moodle

I have installed Moodle 3.7.1 with XAMPP. The installation had been successful and problem-free. I followed the below video for installation:
https://www.youtube.com/watch?v=Ov2dGoOBmSI&t=436s
Now my main objective is moodle plugin development. Since I am relatively new to this I was exploring plugins and trying to build a simple one first.
But whenever I am trying to install plugin (my own or from Moodle directory) I receive the SUCCESS message but then get 'Page Loading Error' and thereafter I am not able to go to any page
I found this thread on Moodle forums and have tried most of the solutions they offered.
https://moodle.org/mod/forum/discuss.php?d=355930
I dont wish to work on older XAMPP version
My cache folder under Xampp's moodledata folder is empty and i tried clearing my browser cache and restarting the servers.
But the issue still persists
Any ideas what maybe causing this? I have a feeling that its some kind of configuration issue but I dont know where to look and what to look for.
Thanks for all the help. It took me alot of installation and uninstallations but finally when I downloaded the full Windows installer package--it worked.
I guess it was some kind of deeprooted version conflict between xampp and moodle or some configuration issue.

Joomla 3.4 installation issue

I am trying a Joomla 3 quickstart package. I uploaded all the files to the server and went through the 4 installation steps (Configuration,Database,FTP,Overview). I have selected "Default English" for language and I installed the sample data. After clicking the Install button Joomla creates the tables in db, and then stops and goes back to the Overview section without creating the configuration.php file and without creating some tables.
I don't know what I'm doing wrong. Anyone can help me to solve this?
You are likely running into a file permission issue. Check to see whether Apache can write files to your filesystem. Also check that you have enough space on your server.
A final thing to consider is to check whether you have some PHP configuration issues (such as session issues).

PHP changes not updating on live site

I'm working on a WordPress installation hosted by HostGator. I have added new code to a php file which is used for the home page gallery slider. The changes work on my local installation but do not appear on the live site. I have even attempted to insert gibberish code into the file to see if it would update, It did not. This leads me to believe it's being cached somewhere and not updating.
I have disabled all suspected caching plugins.
Added define('DISABLE_CACHE', true); to wp-config.php
Cleared all browser caches, and CTR + F5
Verified the code is sound
Waited overnight to see if it would update eventually
STATUS UPDATE:
I've continued to do the steps I've outlined above. I've had suggestions that it may not be the correct file that I am editing. The problem with that assumption, is that it works fine on the local host test site, just not on the live. If anyone has suggestions in that regard it would be helpful as well.
UPDATE 2:
I'm attempting to determine if my Instant Wordpress 4.3.1 runs a different php version than HostGator (php 5.2.17) but I can't find it in the documentation.

how to deploy joomla website using xampp?

i have pre developed site ( using joomla )
i should make some editing to the database using xampp server
should i install joomla ?
and when i enter
localhost/project/index.php
i get this message
You may not be able to visit this page because of:
an out-of-date bookmark/favourite
a search engine that has an out-of-date listing for this site
a mistyped address
you have no access to this page
The requested resource was not found.
An error has occurred while processing your request.
I think you don't need install it again. You did it before, just you need to install Xampp to run Apache and MySQL. Then copy your files in its htdocs folder in a certain folder (Like joomla). But pay attention that you must have a backup from your previous database. Otherwise, you need to install joomla again to create database and its tables.
I used AMPPS to do the same. You can import your current installation of Joomla in Softaculous provided by AMPPS. AMPPS is also a WAMP Stack with auto-installation of more than 230 open-source scripts. All the site installed by AMPPS and imported manual installations will be managed by AMPPS.
(Note : Your config file of Joomla should be proper. Take bakup before importing)
If nothing works you can still install Joomla again as it is easy using AMPPS. Hope this helps. :)

Categories