• Hi,

    using the nextgen gallery plugin with PHP4 I was able to use the import image folder function, which lets you browse through a subfolder of the gallery folder in your wp installation.

    Now that I have switched to PHP5 I cannot browse anymore. The rectangle, which has shown the folders previously remains empty. Switching back to PHP4 I can see the folders again.

    Do you know what might cause this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Interesting, here it wirks. Please post your server settings

    Thread Starter wpberliner

    (@wpberliner)

    * Operating System : Linux (64 Bit)
    * Server : Apache/2.2.3 (Debian) DAV/2 mod_fastcgi/2.4.2 mod_ssl/2.2.3 OpenSSL/0.9.8c
    * Memory usage : 40.57 MByte
    * MYSQL Version : 5.0.32-Debian_7etch6-log
    * SQL Mode : Not set
    * PHP Version : 5.2.0-8+etch13
    * PHP Safe Mode : Off
    * PHP Allow URL fopen : On
    * PHP Memory Limit : 256M
    * PHP Max Upload Size : 10M
    * PHP Max Post Size : 8M
    * PCRE Backtracking Limit : 500000
    * PHP Max Script Execute Time : 30s
    * PHP Exif support : Yes ( V1.4 )
    * PHP IPTC support : Yes
    * PHP XML support : Yes

    Graphic Library

    * GD Version : 2.0 or higher
    * FreeType Support : Yes
    * FreeType Linkage : with freetype
    * T1Lib Support : Yes
    * GIF Read Support : Yes
    * GIF Create Support : Yes
    * JPG Support : Yes
    * PNG Support : Yes
    * WBMP Support : Yes
    * XPM Support : No
    * XBM Support : No
    * JIS-mapped Japanese Font Support : No

    Thread Starter wpberliner

    (@wpberliner)

    By the way, I cannot create thumbnails either. Perhaps this is related to the bug above.

    The thumbnail problem occurs in PHP4 and PHP5. CPU goes to 100% and an error occurs, just stating “1”.

    Maybe you hit the memory limit, check if you can upload small images (resolution, not size)

    Thread Starter wpberliner

    (@wpberliner)

    Nope, small images don’t work neither. And I have set the memory limit in gd.thumbnail.inc to 200M! 🙁

    What you set with the script and what is allowed from your hoster is different. Check with the plugin WP-Memory-Usage your limit, I have no other idea then to search in this direction

    Thread Starter wpberliner

    (@wpberliner)

    Turns out it was the php.ini memory limit after all. Increasing the memory limit in the gd.thumbnail.inc did not work. Unfortunately debugging this was a bit hard, because the function that read the file contents was suppressing all error messages and it was not easy to trace it to this point.
    With the increased memory limit, creating thumbnails works with PHP4, however PHP5 still shows various problems throughout wordpress, not specific to the gallery.

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

The topic ‘Switch to PHP5: cannot browse folder’ is closed to new replies.