Hi, first off i wanted to say this extension seems fantastic. I'm having one problem with it, i have everything installed correctly on MW 1.21, and whenever i try to open a page with the <spreadsheet> tag in it it just sits at "Please wait, spreadsheet is loading."
Topic on Extension talk:Spreadsheet
Did you ever solve this problem? I have same issue and have tried to resolve several ways. No luck.
cld
I have the same issue, "Please wait, spreadsheet is loading." and I am running MW 1.21.2, PHP 5.4.14, MySQL 5.5.25, Pear 1.9.4. I think I have all the dependencies installed correctly. Added PHPExcel (running first) and the require_once "$IP/extensions/Spreadsheet/Spreadsheet.php"; and $wgUseAjax = true; to Localsettings.php. Even upped the PHP memory_limit to 512M just to be safe. Spreadsheet (Version 0.1) is shown. Looks like a great extension, any ideas anyone?
Hi,
Is there any solution to this issue? Even I am facing the same problem.
Can someone please help me? I dont understand much about PHP and AJAX, but I dont think the page is waiting for any data from excel sheet after displaying the progressbar. Only code I can see in HTML is:
<script type="text/javascript">
< !--
if(window.spreadsheet === undefined){
window.spreadsheet = {};
}
window.spreadsheet['2fe1700645c8a08b'] = {"adapter":"phpexcel","file":"file.xlsx","sheet":"0"};
-- >
</script>
<diiv id="2fe1700645c8a08b" class="spreadsheet-container" style="height: 600px;">
It's been a while since I've worked on this, but ill try to help. But i need some more information.
Any exceptions in the mediawiki debug log? (https://www.mediawiki.org/wiki/Manual:How_to_debug#Setting_up_a_debug_log_file)
Any javascript errors in the browsers js console?
The speadsheet extension first loads the page, and then through javascript asynchronous method it calls an api to convert xls file through PHPExcel to a json format readable by the spreadsheet-js library. What you guys are describing is that it fails somewhere in between the call to the API and before a json result is returned.
So either this is a javascript error, or there is something going on within the php code, or PHPExcel itself.
Remember to run git submodule --init --recursive after installation.
Where do you run the git submodule --init --recursive ?
Do you run it in the command prompt or do I need to modify an extension page or localsettings.php ?
Currently have the following:
MW 1.24.2, PHP 5.6.7, MySQL 5.6.24 I think I have all the dependencies installed correctly. Added PHPExcel (running first) and the require_once "$IP/extensions/Spreadsheet/Spreadsheet.php"; and $wgUseAjax = true; to Localsettings.php. Even upped the PHP memory_limit to 512M just to be safe. Spreadsheet (Version 0.2.0) is shown.
I got the Error " Unexpected Token '<' " in the Javascript Console.
It is so sad to see such a good purpose extension abandoned :.( Does anyone knows any other way to insert excel sheets on MW? For no I'm converting it to PDF instead.