Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter slybug

    (@slybug)

    Sorry I am using the omnibar

    OK I tried to add this and it ended up giving me a white screen of death ??

    I can get to the overview page and here are my server settings: (this is before the editing of package.module.fs.php)

    Operating System : WINNT (32 Bit)
    Server : Microsoft-IIS/8.5
    Memory usage : 25.62 MByte
    MYSQL Version : 5.6.29-76.2-56-log
    SQL Mode : NO_AUTO_CREATE_USER
    PHP Version : 5.6.22
    PHP Safe Mode : Off
    PHP Allow URL fopen : On
    PHP Memory Limit : 128
    PHP Max Upload Size : 8M
    PHP Max Post Size : 8M
    PCRE Backtracking Limit : 500000
    PHP Max Script Execute Time : 300s
    PHP Exif support : Yes ( V1.4 )
    PHP IPTC support : Yes
    PHP XML support : Yes

    Graphic Library

    GD Version : bundled (2.1.0 compatible)
    FreeType Support : Yes
    FreeType Linkage : with freetype
    T1Lib Support : No
    GIF Read Support : Yes
    GIF Create Support : Yes
    JPEG Support : Yes
    PNG Support : Yes
    WBMP Support : Yes
    XPM Support : Yes
    XBM Support : Yes
    WebP Support : Yes
    JIS-mapped Japanese Font Support : No

    Your instructions are kinda vague so here is what I did

    ON line 348 and 349 that is this code

    if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
                $retval = str_replace('/', DIRECTORY_SEPARATOR, $retval);

    and I replaced it with this:

    if ((strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') && substr($this->get_document_root(), 0, 2) === '\\\\')
        $retval = '\\\\' . $retval;'

    white screen of death happened

    then I noticed that you said add so I did this:

    if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
                $retval = str_replace('/', DIRECTORY_SEPARATOR, $retval);
            }
            // Check for and adjust Windows UNC paths (\\server\share\) for network mounted sites
    if ((strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') && substr($this->get_document_root(), 0, 2) === '\\\\')
        $retval = '\\\\' . $retval;

    Yet another white screen. are you missing { these?

    Please pretend that I am a 5 year old with ftp access and show me what this section of code should look like with your edit. Also is this the same fix for this error – \wp-content\plugins\nextgen-gallery 2\products\photocrati_nextgen\modules\nextgen_addgallery_page\templates\upload_images.php is not a valid MVC template

    Thread Starter slybug

    (@slybug)

    so you still need this

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