Log in | Register | Lost password

Bottom
killer Photoshare Import problem
  • Posted: 31.03.2006, 09:39
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Hi Jorn,
    I ran into the following error after successfully importing lots of other files:

    Code

    /home/meulensteen.nl/www/cms/modules/mediashare/pnimportapi.php(156):

    Got error while converting (takkenhoogte):

    /home/meulensteen.nl/www/cms/modules/mediashare/pnmedia_imagegdapi.php(127):

    Unknown image format 'image/jpeg' / '/tmp/imp2PFTSw'

    I don't mind the odd picture getting munged, but this stops the whole import from continuing. Could you alter the code so it just processes the remaining files and skips the errors or reports them afterwards?

    Regards,
    Dennis





    edited by: dennisMe, Mar 31, 2006 - 10:43 AM
  • Posted: 31.03.2006, 11:40
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0

    Quote

    Could you alter the code so it just processes the remaining files and skips the errors or reports them afterwards?

    Nah, not really, sorry. I ran into it myself and decided just to remove that image from Photoshare - or rather, I reuploaded it and then it worked.
  • Posted: 31.03.2006, 22:01
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Okay, I figured out a work-around!
    I commented out line 155 and 156 from pnimportapi.php
    I have absolutely no idea what else this might have broken, but it appears to have worked well enough for my (testing) purposes.

Template courtesy of Designs By Darren.