PHP code question
Posted on 2014-09-23
I'm trying to run a third party PHP script. It's called zensync and it's designed to allow fast upload of photos to the ZenFolio site (photo sharing/selling site).
The instructions say to modify the local config.php, which I did. It's local to the script directory zensync is in.
The it says to run it: php zensync.php
When I type that nothing happens. I just get the command prompt back.
So I went into the zensync.php code and typed in an echo statement. If I put the echo before the first require, I get "Hello" back. Otherwise, I get nothing back. All the files listed as 'required' are in the local directory where the zensync scripts exists. So I don't understand why the script is coming back with nothing.
Better trouble shooting skills for php? I'm a programmer but not really PHP.
echo "Hello"; ## Comes back with Hello
echo "Hello"; ## Comes back with nothing