Mediawiki database error after update - php

I hope for some help on the problem I have trying to update my Wiki from 1.21 to 1.25. I,m don't have experience doing this but I followed the manual in Mediawiki doing this.
Create a new folder and put in the new fileset. Add the Images folder with content, moved the Localsettings.php from old to new. And renamed the folder to the right sitename. As result i get this:
a database query error has occurred. this may indicate a bug in the
software.
I'm a beginner and hope for some help, I read some things about using command-line scripts but don't know how to do that, maybe I forgot something in this actions.
I must get this update online soon because my hosting provider is going to use only PHP5.4 in 2 weeks what makes my current wiki stop working.
Thanks in advance.

Updating the database is a required step anytime you upgrade your MediaWiki version. If you cannot run SSH on the server, then you can use the web updater:
http://www.mediawiki.org/wiki/Manual:Upgrading#Web_updater
If this doesn't resolve the issue, try adding some debug code to your LocalSettings to get a real error message:
http://www.mediawiki.org/wiki/Manual:How_to_debug#SQL_errors

Related

Error when first launching symfony 4 project

I want to use Symfony 4.x for a new project, I have installed composer and used it to create a new project. My php version is 7.0.10 & I have wamp as well.
In this tutorial (https://symfony.com/doc/master/setup.html), it says after you run the server "Open your browser and navigate to http://localhost:8000/". When I do so, I get a No route found for "GET /" error.
the pictures bellow display what I get as an error more precisely :
as well as
I have installed everything following the guide on their official page. I have seen this problem being discussed on github (https://github.com/symfony/symfony-docs/issues/9178) but I don't understand their "quick fix" nor what they're talking about.
I want to know how to get my project running without that problem.
Thanks for any help
It’s strange but It’s totally normal and the error proved that Symfony is well installed
It’s not a « compile » or « configuration » error it’s just a logical error that means you don’t have route defined at
url / so keep learning and define a route (see doc and you see the result)

PHP Fatal error: Class 'JTree' not found

I'm not a coder, so please let me know if I'm in the wrong place. I'm an office manager who has managed to recover our Joomla website from being hacked. However I can't get into the backend of the website and our web host is not able to help. I can log in but then a blank page appears. This is the message I got from the our web host.
20160421T120205: creativelc.com.au/administrator/index.php
PHP Fatal error: Class 'JTree' not found in /hermes/bosnaweb15a/b931/ipg.creativelearning/administrator/modules/mod_menu/menu.php on line 18
I have tried to resolve it by restoring from a fresh installation. However, it is still loading the blank page. Thus, I suggest you please contact your application vendor on this and seek their assistance further.
Thanks
I am not sure how you reinstalled Joomla, but I recommend you to do it this way:
Back-up everything needed
Install Joomla on a subdomain/different domain/localhost or similar, as testing purpose.
Upload a copy of your database and connect it to the subdomain/domain/localhost.
If this solution doesn't work, then your database is affected. If you get different error messages, that may be because of the missing plug-ins, you should install them from scratch.

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).

bootstrap.php.cache is missing

I have a problem with Symfony 2. trying the example from the book. I have written a controller but when i go to the URL specified in the route i get an error. The server can't find the page. When i run app_dev.php i get an error that the file boostrap.php.cache is missing.
searched on the internet but found nothing relevant so far. I don't know if the front-controller is already written or if that is something that still has to be done by me.
I can't get the application to run.
Found the solution. I followed the guidelines installing sf2 in netbeans. Instead of running the application as a local website i used the build-in server option wich gave me access to the cli commands. There i could use the command run server and all of my problems were gone.

A question about duplicating Drupal installation on another server

I have hired a programmer overseas to develop a Drupal website for me and he has done a very good job (the site is installed at his server). I payed him and he sent me the Drupal files and the database .sql file.
Here is what I have done so far:
1- I have created a database on my server named something different from the database file he has sent me and imported the .sql file with no problem. (naming the database as the one he has used during development is not possible for me)
2- I have uploaded the Drupal files to the root of my domain.
3- I have modified drupal/site/default/settings.php and put my database information there and I have modified the $base_url variable there.
The problem is that when I access the website I get a white screen and nothing else (even when I click on show source on my browser, it is empty).
I tried to do the same on a localhost on both Mac and Windows using MAMP and WAMP respectively, and I got the same result (empty screen)
anybody has any suggestion about what seems to be the problem?
Best Regards,
Its a PHP WSOD error most likely. Do you have a way to check crash logs?
Have you looked at The White Screen of Death? Typically when faced with this issue and unable to quickly find the cause I return to this handbook page to go through the possible causes. Unfortunately this is a common symptom of many different problems and can be difficult to pin down.
if anybody has the same issue. Problem has been solved by adding the following line to the PHP settings.php file:
ini_set('memory_limit', '64M');
Thank you all for the help.

Categories