Problem jQuery uploader

Unexpectedly the upload of images to an album using jQuery_uploader does not work any more. The http_uploader works fine.
When trying to upload images using jQuery a notification appears (in German):

( Zenphoto Fehler: Das Objekt wurde nicht gefunden
Album: zp-core
Bild: uploader )

In adresss field of the browser (latest Firefox) appears:
.. /zenphoto/zp-core/uploader.php
But this php-script is not to be found in the folder zp-core.

In the log file can be read:

( NOTICE: Constant SERVERPATH already defined in /var/www/html/zenphoto/zp-core/functions-basic.php(114) : eval()'d code on line 83

define called from eval (functions-basic.php(114) : eval()'d code [83])

from require_once (functions-basic.php [114])

from require_once (functions.php [17])

from include (index.php [14])

from index.php [28]

{12173:Wed, 02 Mar 2016 08:07:23 GMT}

WARNING: Invalid argument supplied for foreach() in /var/www/html/zenphoto/zp-core/zp-extensions/deprecated-functions/functions.php in Zeile 78 )

listUses called from check_for_deprecated.php [83]

Environment: Windows 10 64 bit, Firefox 44.02,
Server: Ubuntu 14.04, php 5.5.9-1ubuntu4.14, Zenphoto 1.4.10, theme: Garland, mysql 5.5.46

Any help appreciated!

Comments

  • acrylian Administrator, Developer
    `/zp-core/uploader` is not supposed to exist. Try to disable the deprecated functions plugin, maybe it has an unnoticed bug. But your install should work without it if you are using officially included themes and plugins only.
  • There is definitevely no un-official theme or plugin in this zenphoto installation. If I disable the jQuery_uploader, then I can upload images only by using the http_uploader. This one only allows to upload images one by one. Or should I reinstall the jQuery_uploader? Why appears ../zenphoto/zp-core/uploader.php?
  • acrylian Administrator, Developer
    Did you try disabling the deprecated functions plugin? Otherwise I can just suggest to re-upload zp-core. Maybe your install got corrupted somehow. Or your have some permission errors somewhere else (see the server PHP error log if you haven't, the zp one is not alway complete).
  • Thank You for Your efforts!
    I have already disabled the deprecated functions plugin. But this seemed to have no effect.
    I will look for Your other suggestions, too.
  • acrylian Administrator, Developer
    Ok, let us know if you find anything. If it always worked and suddenly stops it could be an update on the server that somehow screwed permissions or something. Maybe your host announed something recently? But re-uploading often helps fixing that. Otherwise we think again ;-)
  • Please excus. But The problem persists. For what permissions of what files or folders I should look for? There was no announcement recently. But a fiend if mine recently transfered the zenphoto installation to a new server. Maybe this is the problem?
  • acrylian Administrator, Developer
    You find info about recommended permissions here:
    http://www.zenphoto.org/news/permissions-for-zenphoto-files-and-folders

    There was no announcement recently.
    What announcement do you mean? This is not a known bug but an issue on your server.

    Certainly a move to a new server might cause issues. Not all servers are setup the same way sadly, be it what strenght works or how the actual users on the server are setup (ftp user vs script user is an known issue on some servers. You will have to ask your host about that.

    Or maybe it was not copied completely. Even then the re-upload is what you should try.
  • THank You for Your advices. I will have a try following Your suggestions.
Sign In or Register to comment.