Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi:
    Installed the latest version, changed the \\ to // and indeed it works.
    Unfortunately, the layer does not resize the way it should. And because my pictures are BIG, that is somewhat a problem…any ideas?
    BTW: thanks for the new version, except for the layers it works great!

    ronny001

    (@ronny001)

    I have the same backslash error.
    Appearantly, the php script is configured for “windows” directories and it doesn’t run on linux boxes. Could that be possible?
    Anyway, if in the file I change the $pixglobal_rootwebsite variable to concatenate ‘//’ instead of ‘\\’ it doesn’t crash anymore. However it still doesn’t seem to find my pics…
    Any ideas???? Someone????

    Here’s what I did (I’m not a programmer – just trial and error using echos and print statements)

    function PixGallery_DeterminePaths()
    {
    global $PixGlobal_Url, $PixGlobal_RootWebsite;

    $ScriptFile = $_SERVER[‘SCRIPT_FILENAME’];

    if (isset($_SERVER[‘DOCUMENT_ROOT’]))
    $PixGlobal_RootWebsite = $_SERVER[‘DOCUMENT_ROOT’];
    else
    $PixGlobal_RootWebsite = substr($ScriptFile, 0 , (strlen($ScriptFile) – strlen($_SERVER[‘PHP_SELF’])) + 1);

    if ($PixGlobal_RootWebsite[strlen($PixGlobal_RootWebsite) – 1] != “//”)
    $PixGlobal_RootWebsite .= “//”;

    if (isset($_SERVER[‘REQUEST_URI’]))
    $PixGlobal_Url = PixGallery_UrlGetPath($_SERVER[‘REQUEST_URI’]);
    else
    $PixGlobal_Url = PixGallery_UrlGetPath($_SERVER[‘PHP_SELF’]);
    }

Viewing 2 replies - 1 through 2 (of 2 total)