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.)
Related
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.
After installing a Joomla plugin called “Digi Template Switch” on a live server everything seemed fine until my session expired and I tried accessing the dashboard with my credentials, only this time I got a php error -
Fatal error: Call to undefined method JUserHelper::verifyPassword() in /home/mysite/public_html/plugins/authentication/joomla/joomla.php on line 56
Read up on some people who have had this issue in the past and they suggested replacing the adminstrator, libraries and include folders with that from a fresh download of same Joomla version but I have installed quite a few plugins already which would make my replacing the administrator folder a little tricky.
Would really appreciate an assistance as the Joomla installation is on a live server at the moment without access to the backend.
You can download joomla version 2.5.28 and replace that file con your server, the plugins you have installed will not be touched.
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!
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).
I am getting several errors at different moments when using my local copy of wordpress on appengine.
It happens when clicking on "Posts", which shows error "Invalid post type", or when trying to create a new post, there is no save box/button.
It also happens when trying to change options in one of my themes in other places with plugins.
I get a lot of "You do not have sufficient permissions to access this page."
For the most part, the back-end is functional, the front-end is fully functional.
I am using appengine 1.9.3 and wordpress 3.9, python 2.7.6.
I have uninstalled 1.9.3 and updated to 1.9.4, I have also accepted Wordpress' request to install 3.9.1, the problem persists.
I have installed the 1.9.3, 3.9, 2.7.6 configuration on a different machine where app engine was never installed before and the same problem occurs.
I had appengine 1.9.0 and 1.9.3 working with WordPress 3.8.1.
The problem started a few days ago after a number of upgrades (from 1.9.3 to 1.9.4, and into wordpress 3.9.1).
Could this be related to additional layer on WPDB added in 3.9? http://make.wordpress.org/core/2014/04/07/mysql-in-wordpress-3-9/
Questions:
Anybody else experiencing similar behavior?
Will this propagate to google cloud if I update the version with launcher?
How do I solve this on my local copy?
Please, help!
This has something to do with the fact that Windows uses backslashes ("\") instead of forward slashes ("/") for its directory structure.
Try adding this in your wp-config.php just before require_once(ABSPATH . 'wp-settings.php'); for a quick fix.
$_SERVER['PHP_SELF'] = str_replace('\', '/', $_SERVER['PHP_SELF']);