I using extention export menu from kartik. And it's work fine.
But only on my local OpenServer. When I pushing it on remote web server it is dont working.
I click to export button - choose exel 2007 format - opening blank windows where I have msg "file will be genereted" - click proccess - "generation..." - and here I receive msg "That web page is not available err_invalid_responde".
I do not know how debug this?
You should enable debug module : http://www.yiiframework.com/doc-2.0/guide-tool-debugger.html
But I think it is simply a dependency problem, you need xml and xmlwriter php extensions to be able to use excel export, you should check phpinfo() for these extensions.
Related
I have a local WordPress site running on MySQL. I wanted to move it to a server for testing and deployment. In addition to migrating new/changed code and media files, I exported the database from my local machine to a .sql file using Sequel Pro on Mac. Then I changed all URLs in the export to match the URL of the server. Then I imported it to the server database.
Everything's fine. No errors. Except the menus I created on my local machine are not showing up on the server. I'm seeing recommendations for plugins to export menus and import them on the server. But that seems silly to me. Aren't menus defined in the database? Isn't everything defined there in terms of content, options, settings, etc.? Why would I need to export/import menus and nothing else?
When you export and import the database of the wordpress site, the menus also include in it.
You just need to check in your admin panel the menu will be there. You just need to assign that menu for appropriate menu location like primary or which you have created, like this screenshot https://prnt.sc/1wp2gvd
The answer was that I was using a Pantheon.io-based upload/import feature to upload and import my .sql file. When I instead used Sequel Pro on MacOS to export my local database, connect to and import it to Pantheon.io, everything came through.
I have an Adobe LiveCycle process that flattens a PDF form and displays the result to users in LiveCycle HTML Workspace ES4. The flattened form appears fine in Firefox and Chrome browsers however when viewing the same form in Microsoft Internet Explorer a "Message from webpage" window is prompted with this message: "MessageDocNotDisclosedError: Target document not disclosed."
The flattened form appears fine in IE and the application still works however I would prefer to get rid of this prompted error message. Is there a way to avoid this error message in IE?
I have seen this error message with flattened documents in the following environments:
Windows 7 / Internet Explorer 9 / Adobe Reader 11 add-on
Windows 7 / Internet Explorer 11 / Adobe Acrobat Pro 11 add-on
How are you returning your flat PDF? Are you flattening the PDF as part of the LiveCycle application and using a document variable, or are you using a custom render process? Also is the PDF document still opened through your Reader/Acrobat plugin in Firefox and Chrome?
Sounds like you have a Forms Bridge issue. When using a render process (Configurable from your Action Profile on the Assign Task activity or from the XDP template in Workbench) the default render process will inject JavaScript inside the PDF to communicate with the Workspace frame. If you're not injecting this script, the PDF and frame won't be able to communicate. If this is the case, the best way to fix this would be to:
Copy the Process Management (System)\Render PDF Form process into your application
Edit the process to return a flattened PDF instead of a dynamic one
Edit you form's action profile to use the new render process.
My team was able to get rid of the "MessageDocNotDisclosedError" message in Internet Explorer by reverting back to an earlier build of LiveCycle HTML Workspace. We reverted back from version 1.1.30 to version 1.1.14 and now the message no longer appears.
I want to export the data in a celltable to a CSV file. I understand this must be done in the server side. I'm a bit lost on how to create a file, write the lines and then make the client download it.
One it's served, it could be downloaded automatically or by a "Download" button, is the same.
If you just want to generate file and serve it directly you can create a servlet and hit the servlet url in a Window, You may want to take the same datasource and use it at the server side to convert it into a csv. Please follow along the steps as described in (Download a generated pdf from client) and for downloading that from GWT Window follow (How to download a file via a button click i GWT?),
We have a silverlight application written in Visual Studio (VS) 2010 and we want to deploy it on a Windows Server 2008 R2 box (IIS7). To deploy it in VS I did a right click on the MyProject.Web project, selected "Publish...", from the "Publish method" I selected "File System". I copied the folder over to "C:\inetpub\wwwroot" on the server. In IIS Manager I did a right click on the folder, selected "Convert to Application", a window popped up, where you can select the application pool. I selected the default (.NET 4), I clicked on "Test Settings..." it failed (that was a bad sign), clicked ok.
When I try to access the website from a browser a message box pops up saying do you want to open or save "MySilverlightApp"?
Basically, it wants to download the xap file like it would download a text file or a doc file, it doesn't "run" it.
I have checked the forums and most cases the issue is that the MIME file types are not set up, but I have checked that it's all looks good, and it should as well because on IIS7 it's all set up by default so I am puzzled a bit here.
Thanks for your help.
I have just realized that you tried something about mime types so I need to edit my answer. I want to share a link to provide you a guide. It may be helpful to see if you miss a point.
http://www.iis.net/learn/web-hosting/web-server-for-shared-hosting/configuring-iis-for-silverlight-applications
The route cause of the issue was that the XAP file (inside the ClientBin folder) was the default document.
When I set the aspx file (in the application root folder) as the default document, it started to work fine.
I have a Button (or a hyperlinkbutton) in Silverlight. I want to open a file on a server share when this butto in clicked. With other words I want a new Browser Tab or Window to open showing the requested file, just like I enter the URL in the browsers addressbar:
file://C:\myfile.txt
I tried in the OnClick Method the following:
System.Windows.Browser.HtmlPage.Window.Navigate(new Uri(#"file://C:\myfile.txt"),"_blank");
it throws an Exception (Access denied).
When I do the same with an http: page it works:
System.Windows.Browser.HtmlPage.Window.Navigate(new Uri(#"http://www.somedomain.com"),"_blank");
How can I achive the same with a file. Security can not be an issue, I have full access to that file. And please don't tell me that this is not possible... would mean we have to go back to PHP.
Silverlight runs on the client side and in by default in LOW trusted mode which dont allow application to access local file system.
For the purpose, u can try giving full trust to the silverlight application.
Firefox does not allow external URLs to link to a local resource anymore :(