Results 1 to 8 of 8
Like Tree4Likes
  • 1 Post By alemoppo
  • 2 Post By alemoppo
  • 1 Post By giardinociliegivideo

Thread: Help with PHP path

  1. #1
    giardinociliegivideo is offline Junior Member
    Join Date
    Jul 2018
    Posts
    5

    Default Help with PHP path

    I have installed Omeka Classic collection management system and it works, with the exception of a plugin which requires the PHP path, as explained here:

    Code:
    Edit the file so that the line now reads background.php.path = "<php path>" where the <php path> is the path provided by your hosting company or sysadmin.
    Apparently, the auto-detected one doesn't work.

    Can anybody help me? I cannot find this path in Altervista documentation.

  2. #2
    alemoppo is offline AlterVista Staff
    Join Date
    Feb 2010
    Location
    IT
    Posts
    734

    Default

    I installed successfully Omeka Classic here.

    Which plugin cause the error? Is one of these?


    For security reasons, you can't access to the php binaries.

    Bye!

  3. #3
    giardinociliegivideo is offline Junior Member
    Join Date
    Jul 2018
    Posts
    5

    Default

    Dear alemoppo, thanks for your quick reply.

    The plugin is Neatline, it is not part of the default installation.

    Most Omeka Classic plugins work well (I could install a dozen of them), with the exception of Neatline. Neatline installs nicely, but when you create a new Neatline exhibit, it fails to execute the query by which one or more items are added to the exhibit.

    I checked the documentation of Neatline for the error message I get, it says that this is due to the wrong PHP configuration path (https://omeka.org/classic/docs/Techn...ting_PHP_Path/), but my feeling is that the limitation you mention may keep this plugin from working at all...

    Thanks Agains
    Last edited by giardinociliegivideo; 04-03-2022 at 10:45 AM.

  4. #4
    alemoppo is offline AlterVista Staff
    Join Date
    Feb 2010
    Location
    IT
    Posts
    734

    Default

    It's strange that it need the php path.

    I just create a new Neatline exhibit: http://alemoppo.altervista.org/LABS/...line/show/test



    But probably i missed something, can you please explain how to reproduce the error? Thank you.

    Bye!

  5. #5
    giardinociliegivideo is offline Junior Member
    Join Date
    Jul 2018
    Posts
    5

    Default

    To reproduce the error, click the ImportItems link in the panel (just create an empty test item beforehand), then use any of the available ways to add items to it (by item number, by collection, etc). When you execute the query (Import items button), you should get the error.





    Thanks!

  6. #6
    giardinociliegivideo is offline Junior Member
    Join Date
    Jul 2018
    Posts
    5

    Default

    To reproduce the error, just select the ImportItems function (just create an empty test item), then use any of the available ways to add items to it (by item number, by collection, etc), when you execute the query (Import items button), you should get the error.





    Thanks!

  7. #7
    alemoppo is offline AlterVista Staff
    Join Date
    Feb 2010
    Location
    IT
    Posts
    734

    Default

    I'm sorry but you can't use that on AlterVista.

    I see in the code that it would launch a background process:

    PHP Code:
    private static function _fork($command)
    {
    exec("$command > /dev/null 2>&1 &");
    }
    Altervista is a service for hosting a site. It is not possible to launch processes or other things on the operating system side.

    Bye!

  8. #8
    giardinociliegivideo is offline Junior Member
    Join Date
    Jul 2018
    Posts
    5

    Default

    Thanks, I suspected it was not possibile. Anyway, for all those who plan to use Altervista to run Omeka, I can say that my test installation works well, and supports most plugins - with the exception of Neatline and CSV import (Neatline Time, for example, is supported, and so are Geolocation, so you basically have all the tools bundled into Neatline).
    alemoppo likes this.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO