Google Appengine 1.9.3/4 and WordPress 3.9 Admin User not Fully Functional on Localhost - php

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']);

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.

Login error on Joomla 2.5.28 installation

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.

Azure Wordpress Site Returns 500 Errors After Plugin Update

I have a Wordpress site which is hosted on Microsoft Azure, and the site is located at http://bitcoinpricelive.com
I recently updated a plugin called W3 Total Cache. After doing this the site was returning errors and going to wp-admin told me there was a problem with that plugin and i needed to delete: advanced-cache.php and object-cache.php
I deleted those two files but then the wp-admin page showed no information at all. I documented this aspect a bit more on Wordpress forums: https://wordpress.org/support/topic/w3-total-cache-error-after-updating-plugin/
Additionally, I tried googling for many fixes to this problem from modifying the .htaccess file to deleting W3 Total Cache components.
On the Azure side of things I get errors from source: W3SVC-WP, event id: 2289, and from source: W3SVC-WP, event id: 2284. I have been looking at documentation on the Microsoft site as well here: https://technet.microsoft.com/en-us/library/cc734951(v=ws.10).aspx
I can still login to the server via FileVilla and make changes if needed.
How can I debug this?
I would try to uninstall the extension via Azure's web portal, restart the app. Delete the extensions dir using SCM (https://my_app_subdomain.scm.azurewebsites.net/DebugConsole). Restart the app again. And maybe redeploy your app. It's possible the plugin messed with .htaaccess or something.
From Willian: Try delete the w3-cache directory in wp-content.

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