Error uploading in ver. 1.4.5.2 - Object not found

I get the error "Object not found" error when trying to upload photos to a new album via the admin interface (tried both http & jQuery).

`

The Zenphoto object you are requesting cannot be found.

Album: zp-core

Image: uploader

Powered by zenPHOTO

`

I noted that the url in the address bar points to `.../zenphoto/zp-core/uploader.php`, which I can't find the file uploader.php in my zp-core folder.

I've tried this both on my hosted website and locally on my computer - I get the same error on both sides.

Any help appreciated.

Comments

  • acrylian Administrator, Developer
    The uploaders are plugins actually. Is one of them enabled and are they present in /zp-core/zp-extensions? If not you should consider a re-upload of the files.
  • I found out that disabling Flashblock plugin for Chrome shows the upload 'window'.

    However, it now gives another upload error message (when using jquery) `Error: SyntaxError: Unexpected token <`
    (screenshot of error messages http://i.imgur.com/wCIfdg3.png)

    When using http method, the error `Fatal error: Invalid album instantiation: . does not exist. in ...\zenphoto\zp-core\class-album.php on line 726` comes up.

    I've checked that I have the required plugins in zp-extensions, and have also reuploaded them.

    Any ideas what's wrong?
  • acrylian Administrator, Developer
    Actually none of the uploaders uses flash (unless as a fallback if I recall right).

    But the mysterious "." album again! So please try the support build.
  • With Flashblock enabled, there's no nice upload progress bar, and also rearranging albums is not possible.

    Odd, but previous version didn't have this problem with Flashblock enabled.

    I'll give the the support build a try on the local install.

    Thanks for the replies.
  • I've installed the support build locally on the pc, and I still get the same error messages.

    I get the error messages when trying to upload to a new album. Upload works fine when uploading to an existing album.
  • Please review your error logs to find the full text of this error.

    With regard to Flashblock. The selection of the uploader does not even use jQuery, so if Flashblock is blocking it that is indeed strange. Also the uploaders themselves have not changed except that we have updated our version of jQuery. Perhaps Flashblock has issues with jQuery.
  • acrylian Administrator, Developer
    Or do you have any other JavaScript blocker installed in your browser? If that is the case of course sorting and uploading will not work. All uses Javascript respectively the jQuery Javascript framework.
  • I tried uploading on Chrome browser with no plugins loaded, javascripts enabled.

    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)

    Sorry for double posting, I wrongly posted to another thread (http://www.zenphoto.org/support/topic.php?id=503565). It seems my original error has changed to the error in the other thread, so I guess it was an 'appropriate' mistake. :p
Sign In or Register to comment.