Jump to content

Topic on Extension talk:Spreadsheet/Flow

207.69.174.7 (talkcontribs)

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

108.242.213.183 (talkcontribs)

Did you ever solve this problem? I have same issue and have tried to resolve several ways. No luck.

cld

67.137.149.122 (talkcontribs)

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?

202.67.4.113 (talkcontribs)

Hi,

Is there any solution to this issue? Even I am facing the same problem.

59.182.160.229 (talkcontribs)

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;">

<diiv class="progressbar"></diiv> <diiv class="progress-label">Please wait, spreadsheet is loading.</diiv> </diiv> </diiv>

Note: div is changed to diiv just to put in the post...

This post was posted by 59.182.160.229, but signed as 59.182.131.11.

Netbrain (talkcontribs)

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.

Netbrain (talkcontribs)
216.2.50.97 (talkcontribs)

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.

77.180.194.109 (talkcontribs)

I got the Error " Unexpected Token '<' " in the Javascript Console.

Osodarck (talkcontribs)

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.