I am trying to run dumpBackup.php and I get
php dumpBackup.php --current
DB connection error: Unknown error
My understanding is I need to copy the file AdminSettings.sample to .php.
But I don't seem to have such a file. What is the format of it. Probably looking in the wrong place but all references refer to the sample file
You should find AdminSettings.sample in the root of your MediaWiki install - in the same directory as LocalSettings.php, one directory up from the "maintenance" directory.
Details:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/AdminSettings.sample?view=markup
http://www.mediawiki.org/wiki/Manual:AdminSettings.php
Related
I am trying to generate HTML file from the cppcheck.xml file. But i keep getting the following error : -bash: htmlreport/cppcheck-htmlreport: No such file or directory
I have installed the cppcheck and the htmlreport/cppcheck-htmlreport is also added to /usr/bin. I dont know what to do next. I cant find anythong related to this error on the internet.
I have to publish the cppcheck.xml on the jenkins UI. But the job i have is a multibranch pipeline and it doesnt support the cppcheck plugin. So I am left with no other option but to convert the cppcheck.xml to html and then publish that on the jenkins. This is also now getting error. Please tell how i should proceed further.
I am trying to move my location on disk of a Bolt.cm install. Config.yml doesnt have any details of location.
When I rename the directory I receive app config issues as well as this :
Fatal error: Uncaught exception 'Bolt\Exception\LowLevelDatabaseException
Thrown from within Bolt. Seems like I need to update a config file but I don't see one with the path do web root or path to database stored.
Does such a file exist?
You need to flush the cache.
This can be done from the command line by:
php app/nut cache:clear
Or inside app/cache/ you will find the file config_cache.php that can be safely deleted.
when i upload my website to my hosting Justhost it not working and it show only error like this
an error occurred while processing this directive
Please help me to correct this error
try the steps that follow:
Go to cPanel
Open File Manager from Files section
Navigate to domain folder
Check "Perms" column on far right hand side
Files should be set to: 0644 (this is the UNIX file permissions)
Folders should be set to: 0755
This will change your file permissions to their proper settings for the justhost file system. Additionally, if you have PHP code within.htm or .html files, you will need to add an additional Apache handler to tell justhost to parse these files as PHP. Do this using Apache Handlers in cPanel:
I am trying to load an XML file into a table on my localhost MySQL server. Per MySQL 5.6 refman page I have my file loaded in the Data directory however I keep getting the error that my file is not found. I executed the SHOW VARIABLES WHERE Variable_Name LIKE "%dir" command and found where my data dictionary is located (C:\ProgramData\MySQL\MySQL Server 5.6\Data) and it's where I put my xml file but still get the same error:
mysql> USE test
Database changed
mysql> LOAD XML LOCAL INFILE 'testXML.xml'
-> INTO TABLE testxml
-> ROWS IDENTIFIED BY '<Data>';
ERROR 2 (HY000): File 'testXML.xml' not found (Errcode: 2 - No such file
or directory)
Any suggestions/direction would be appreciated. Thanks.
I remember having such a problem once and the problem was the spaces in the path name.
If really the file is at the right place and a file not found occur, I would highly suspect that the folder name 'MySQL Server 5.6' is the problem. You can validate this easily, put the file in another folder instead of the data dir and try adding/removing spaces to the folder name and see if it works.
An other possibility is that your folder is located in an Admin directory and that you don't have right to access.
I created a box on Nitrous.io and installed postgres database using autoparts. Now I want to enable UUID so was trying to add the uuid-ossp extension when I run the command
CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public;
I get the following error
ERROR: could not open extension control file "/home/action/.parts/packages/postgresql/9.2.4/share/postgresql/extension/uuid-ossp.control": No such file or directory
It appears like the uuid-ossp extension is not included with the postgres installation.
I thought if I can provide the required files it would work and I copied out the following files into the above folder -
uuid-ossp--1.0.sql
uuid-ossp--unpackaged--1.0.sql
uuid-ossp.control
Now when I tried creating the extension I got a new error -
ERROR: could not access file "$libdir/uuid-ossp": No such file or directory
Looks like I am missing something.
Any help is appreciated.
Thanks