• Hello,
    after installing the plugin ZodiacPress on my WordPress, I get the answer “Something went wrong.” I checked that the function “query” in class-zp-ephemeris.php returns only “1”.

    exec(“$swetest -edir$sweph -b{$this->ut_date} {$this->ut_time} -p{$this->planets} {$this->house} -eswe {$this->format} {$this->options} -g, -head”, $out);
    $results = print_r ($out);
    write_log($results);

    —> $results ist “1”
    —————
    Even thought
    swetest file okay
    Ephemeris permissions okay
    exec() okay
    chmod() okay
    PHP_SHLIB_SUFFIX so
    ————
    could it be that my server does not run the executable file properly ?
    I call them already and at first glance, there is nothing preventing the execution of swtest.

    I would be very glad for your help,
    best regards and thank you for your plugin.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter nowato

    (@nowato)

    I checked with putty:
    > ./swetest -h
    swetest: Cannot find /lib64/ld-linux-x86-64.so.2

    I am going to look there.

    Thread Starter nowato

    (@nowato)

    PATH setting in class-zp-ephemeris.php with putenv does nothing.
    getenv(‘PATH’) /usr/bin:/bin
    I guess I am not allowed to modify the PATH and so swetest will not be found.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘swtest mayby not run properly ?’ is closed to new replies.