Why can't I export my database

Asked by Justin White

Trying to export my database and getting the following error: "There has been an application error. Unable to export database. " Any ideas what that could be caused by? Exec function is not disabled in php.ini

Question information

Language:
English Edit question
Status:
Answered
For:
Xibo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Dan Garner (dangarner) said :
#1

Could you try running through the report fault wizard? It should give more
info on the error.

Revision history for this message
Justin White (jwhite-f) said :
#2

Page: admin
Function:
Message: <errormsg>Unable to export database</errormsg>
<errornum>256</errornum>
<errortype>User Error</errortype>
<scriptname>C:\Program Files\XAMPP\htdocs\xibo\lib\pages\admin.class.php</scriptname>
<scriptlinenum>630</scriptlinenum>

Date: 2014-06-30 09:00:38

Best Regards,
Justin D. White
Helpdesk Technician
Direct Dial: 330-259-8445
Phone: 330-744-1114 ext. #1245
Cell: 330-301-1902
Fax: 330-744-1225

www.thebrilexgroup.com

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Dan Garner
Sent: Monday, June 30, 2014 8:56 AM
To: Justin White
Subject: Re: [Question #250982]: Why can't I export my database

Your question #250982 on Xibo changed:
https://answers.launchpad.net/xibo/+question/250982

    Status: Open => Answered

Dan Garner proposed the following answer:
Could you try running through the report fault wizard? It should give more info on the error.

--
If this answers your question, please go to the following page to let us know that it is solved:
https://answers.launchpad.net/xibo/+question/250982/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the following page to enter your feedback:
https://answers.launchpad.net/xibo/+question/250982

You received this question notification because you asked the question.

Revision history for this message
Dan Garner (dangarner) said :
#3

Are you sure your library location is writeable and the mysqldump is
accessible and runnable from the command line / terminal?

Revision history for this message
Justin White (jwhite-f) said :
#4

To be completely honest, I'm not sure how to check that.

Revision history for this message
Dan Garner (dangarner) said :
#5

I'm guessing you have been able to upload media, etc? So you are likely to
have write permissions to your library.

Are you on windows or linux?

If windows, open a command prompt and type "mysqldump", what happens?

Revision history for this message
Justin White (jwhite-f) said :
#6

I am using XAMPP with windows. Using a regular cmd line, this comes up.

'mysqldump' is not recognized as an internal or external command,
operable program or batch file.

Using XAMPP Shell, I get this.

# mysqldump
Usage: mysqldump [OPTIONS] database [tables]
OR mysqldump [OPTIONS] --databases [OPTIONS] DB1 [DB2 DB3...]
OR mysqldump [OPTIONS] --all-databases [OPTIONS]
For more options, use mysqldump --help

Revision history for this message
Dan Garner (dangarner) said :
#7

I believe it will only work if your MySQL installation directory is added
as a windows PATH environment variable. Some instructions on that here:
https://www.java.com/en/download/help/path.xml

Can you help with this problem?

Provide an answer of your own, or ask Justin White for more information if necessary.

To post a message you must log in.