Fatal error whie uploading image in 1.4.5.2

Fatal error: Invalid album instantiation: . does not exist. in /{PATH}/zp-core/class-album.php on line 726

Getting this fatal error when I am trying to upload images from upload menu.

It works fine when I create album from albums menu and then upload files.

Can anyone help in resolving this issue ?

Comments

  • acrylian Administrator, Developer
    Did you select a proper album to upload to? Are there other errors in the logs?
  • Hi,

    While uploading from upload menu I created new album and once I click on upload I get that error. I have not got any error in security.log.
  • acrylian Administrator, Developer
    You should also look in the server logs. I suspect wrong permissions on the album created. Please review the user guide article on permissions and what probably your server is doing wrong.
  • I have given writable access to zp-data,albums,uploaded,cache,cache_html,plugins,backup folders.
  • acrylian Administrator, Developer
    Sorry, I cannot help any further if you have no other errors in any logs. This might be the mysterious "." album we could never reproduce. It was lengthly discussed here and should actually be fixed: https://github.com/zenphoto/zenphoto/issues/508
    Maybe my colleague later on has any further ideas.
  • Please provide further details:

    What was the album name you created?
    What is the image name(s)?
    What uploader did you use?

    Errors will show up in either the zenphoto debug log, the server CGI logs, or both.
  • i am also getting the same error when I am trying to upload images from upload menu:

    Fatal error: Invalid album instantiation: . does not exist. in /{PATH}/zp-core/class-album.php on line 726

    what to do ?
  • acrylian Administrator, Developer
  • I tried uploading on Chrome browser with no plugins loaded.

    This is from my debug log:

    Using jQuery:
    `

    {6992:Tue, 24 Sep 2013 11:01:16 GMT}

    USER ERROR: Invalid album instantiation: . does not exist. in D:\xampplite\htdocs\zenphoto\zp-core\class-album.php on line 726

    trigger_error called from Album->__construct (class-album.php [726])

    from newAlbum (class-album.php [20])

    from uploader.php [39]

    `

    Using http:
    `

    {6992:Tue, 24 Sep 2013 11:16:57 GMT}

    USER ERROR: Invalid album instantiation: . does not exist. in D:\xampplite\htdocs\zenphoto\zp-core\class-album.php on line 726

    trigger_error called from Album->__construct (class-album.php [726])

    from newAlbum (class-album.php [20])

    from uploader.php [40]

    `

    Error happens when uploading to new album. I've tried all sorts of album name combination, letters+punctuations, letters only, single word, all comes up with error.

    Image name e.g. 20130921_IMG_9577.jpg (as seen in my error screenshot above)

    [Edit: Posted wrongly to this post, thought it was the post started by me... I can't delete this post :/]
  • acrylian Administrator, Developer
    As said a mysterious bug known to us. We thought it was fixed since it originally occurred only for some users.

    Btw, one topic for this issue is enough anyway :-)
Sign In or Register to comment.