Member
Member
Punit   2013-09-10, 09:28
#1

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 ?

Administrator
Administrator
acrylian   2013-09-10, 09:56
#2

Did you select a proper album to upload to? Are there other errors in the logs?

Member
Member
Punit   2013-09-10, 10:42
#3

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.

Administrator
Administrator
acrylian   2013-09-10, 10:55
#4

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.

Member
Member
Punit   2013-09-10, 11:16
#5

I have given writable access to zp-data,albums,uploaded,cache,cache_html,plugins,backup folders.

Administrator
Administrator
acrylian   2013-09-10, 12:07
#6

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.

Member
Member
sbillard   2013-09-10, 16:40
#7

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.

Junior Member
Junior Member
gul1234_in   2013-09-24, 06:08
#8

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 ?

Administrator
Administrator
acrylian   2013-09-24, 08:24
#9

Known mysterious issue: https://github.com/zenphoto/zenphoto/issues/524

Member
Member
ayutheos   2013-09-24, 11:19
#10

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 :/]

Administrator
Administrator
acrylian   2013-09-24, 11:53
#11

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 :-)

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.