Comments (5)
Is there any particular reason why you can't open files from Suunto movescount.com directly? Any errors thrown? Any missing data? Are they actually OfficeOpenXML files? What does identify() return? Any clues whatsoever?
from phpexcel.
Hello!
I have the same problem. Can't open movescount .xlsx file directly with PHPExcel...
Problem is getSheetCount delivers 0 and of course no worksheets are available.
Funny thing aside: Apple Numbers can't open it either. "No valid Excel file!"
I don't really understand which "Excel" format Suunto is using.
Richard
from phpexcel.
It looks like OfficeOpenXML (when I open it with Texteditor) and identify delivers "Excel2007".
from phpexcel.
This is because downloaded file is in HTML format (but names as .xmlx)
from phpexcel.
I did the following steps to fix this.
$inputFileName = 'test.xlsx';
$inputFileType = PHPExcel_IOFactory::identify($inputFileName);
$objReader = PHPExcel_IOFactory::createReader($inputFileType);
$objReader->setReadDataOnly(true);
$objPHPExcel = $objReader->load($inputFileName);
Install the ZipArchive if not already installed
sudo apt-get install php7.0-zip
sudo service apache2 restart
from phpexcel.
Related Issues (20)
- Is it possible to use php send excel files to client's printer?
- Php Excel fails at load
- Font Style existed but not visible
- exception 'directory'yii\base\ErrorException' with message 'ZipArchive::close(): Failure to create temporary file: No such file
- Syntax error
- An implementation cannot be declared in ambient contexts.
- Setting workbook password does not seem to work at all
- Can't export any excel
- "Excel cannot open the file 'filename.xlsx' because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file. HOT 2
- How can I open the encrypted file?
- Install pathing not working HOT 1
- Do you have a simplified version of PHPExcel?
- Double include PHPExcel_Cell::stringFromColumnIndex function
- PHPExcel_Worksheet_Drawing
- PHP Excel 1.8.2 Loss of precision when writing numeric strings
- Fatal error: Missing function on 1.8.2
- 发现内容部分有错误 HOT 1
- Set document properties with UTF-8 Encoding (for accents)
- read csv with long number data get scientific notation
- export Excel with formulas
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpexcel.