Giter Club home page Giter Club logo

Comments (10)

MaatwebsiteSupport avatar MaatwebsiteSupport commented on May 12, 2024

Hey,

Thanks for sending in the issue.

I can't reproduce this issue on my local LAMP stack. I don't think it's a phpExcel issue, but more a server issue.
I tried it with a title of over 1000 characters and it doesn't throw any error.

Which platform do you use? Is it local (LAMP/MAMP/WAMP) or (dedicated/shared) Centos/IIS/... server?
Does the same export work with a shorter smaller filename? What happens when you only show 10 rows (Inschrijving::take(10)->get() )

from laravel-excel.

bartmoons avatar bartmoons commented on May 12, 2024

How many collumns have you tried?
When I have more then 7 collumns, it throws this error.
I'll test it on my local server, to see if it's server related.
The filename has nothing to do with it, I tried a variety of names!

from laravel-excel.

MaatwebsiteSupport avatar MaatwebsiteSupport commented on May 12, 2024

14 columns and 747 rows.

If it's not a server issue, could you provide more of the stack trace. (Screenshot of Whoops would be nice)

from laravel-excel.

bartmoons avatar bartmoons commented on May 12, 2024

On my local server it seems to work...
FYI: https://www.dropbox.com/s/njvf57zv7zf83vr/Screenshot%202014-02-27%2019.16.17.png

from laravel-excel.

MaatwebsiteSupport avatar MaatwebsiteSupport commented on May 12, 2024

I would suggest contacting your hosting provider with this problem, could be as simple as a server setting.

from laravel-excel.

MaatwebsiteSupport avatar MaatwebsiteSupport commented on May 12, 2024

ee51853
I build in a fallback for loadView so it won't use is_file(). Maybe it fixes the issue already at your live server.

Let me know.

from laravel-excel.

bartmoons avatar bartmoons commented on May 12, 2024

Yep, that seems to fix it! But whem I try to export a somewhat longer row, I get an htmlParseEntityRef() error.
as you can see: https://www.dropbox.com/s/1lulp4yezq37z5z/Screenshot%202014-02-27%2019.39.25.png

from laravel-excel.

MaatwebsiteSupport avatar MaatwebsiteSupport commented on May 12, 2024

Hey

Apparently there's a parsing error in your HTML.
I Could only reproduce the error by echoing a &-sign.
Did some googling and apparently this error is triggered by parsing the &-sign (instead of &)

I silenced the warning of the loadHTML(), so you code will run without the error, but I would advice you to escape the HTML characters so no parsing errors are triggered. (Using triple braces: {{{ }}} on the fields which have these characters (especially the &) )

from laravel-excel.

bartmoons avatar bartmoons commented on May 12, 2024

It's working fine now! Thanks for the advice, I'll keep it in mind!

from laravel-excel.

MaatwebsiteSupport avatar MaatwebsiteSupport commented on May 12, 2024

Great! :)

from laravel-excel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.