Support » Plugins » [Plugin: NextGEN Gallery] Incompatibility with GeoPress plugin

  • Hello everybody. I need to use GeoPress plugin on my blog (http://wordpress.org/extend/plugins/geopress/), but when NG Gallery and Geopress plugins are activated at the same time, thumbnail creation hang on 0%. If I deactivate geopress, NG Gallery works fine. Anybody found a workaround?
    Alex, if you try to solve this issue, here is a hint: my geopress plugin was set up to display a virtual earth map. On the thumbnail creation page, I can see in the status bar of my web browser that the page tries to connect to an address that looks like dev.virtualearth.com and then the thumbnail creation hangs.
    Any help would be appreciated
    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Check your memory limit and the current memory ussage

    Thread Starter Vince

    (@vreboul)

    Thanks for this fast reply. I already checked this, as I was used to these limitations on another blog. All settings are OK, pics are 800×600 for 40MB memory on the server. So I don’t have any memory limit or current memory usage issue .
    As I explained, if I deactivate GeoPress plugin, thumbnails creation works fine! Thumbs creation seems to hang while the page tries to connect to virtualearth server. But I don’t know why thumbs creation page tries to access this server.

    What is the memory usage ? (See overview page on NextGEN Gallery)

    Thread Starter Vince

    (@vreboul)

    Memory usage is 11.25 MByte
    PHP Memory Limit : 40M
    PHP Version : 4.4.8

    My blog runs on a 1&1 server

    Thread Starter Vince

    (@vreboul)

    When I run the script, I have the following output:
    (it seems that image creation is fine up to 2200×1650, which is fine since I only use 800×600 pictures)

    *** SCRIPT START ***
    	debug test.php> initialize
    
    This script demonstrate the Memory-limit failure of the current 1&1 Server. The Script should create 6 images with imagecreatefromjpeg(). But the PHP/GD hosting of 1&1 stopped the creating of images much earlier... and do not return any error message. This is reported in a Apache/1.3.34 Ben-SSL/1.55 PHP/4.4.8 environment.
    
    PHP Memory Limit: 40M Usage before: 48.16 KB
    
    	debug test.php> code-lines: 10-36 time: 0.0002 mem: 49 KB
    Calculated : 2.46 MB
    Loading image 800x600.jpg, size 800 * 600, bpp 8, channels 3... done
    	debug test.php> code-lines: 36-44 time: 0.0312 mem: 2406 KB
    Memory usage: 2.35 MB
    Difference: 2.3 MB
    Difference / (Width * Height * Bytes per pixel): 1.6761444444444
    Destroyed. Memory usage: 50.36 KB
    
    	debug test.php> code-lines: 44-36 time: 0.0004 mem: 51 KB
    Calculated : 3.93 MB
    Loading image 1024x768.jpg, size 1024 * 768, bpp 8, channels 3... done
    	debug test.php> code-lines: 36-44 time: 0.0505 mem: 3904 KB
    Memory usage: 3.81 MB
    Difference: 3.76 MB
    Difference / (Width * Height * Bytes per pixel): 1.6723870171441
    Destroyed. Memory usage: 50.45 KB
    
    	debug test.php> code-lines: 44-36 time: 0.0006 mem: 51 KB
    Calculated : 6.06 MB
    Loading image 1280x960.jpg, size 1280 * 960, bpp 8, channels 3... done
    	debug test.php> code-lines: 36-44 time: 0.0812 mem: 6066 KB
    Memory usage: 5.92 MB
    Difference: 5.87 MB
    Difference / (Width * Height * Bytes per pixel): 1.6707335069444
    Destroyed. Memory usage: 50.51 KB
    
    	debug test.php> code-lines: 44-36 time: 0.0010 mem: 51 KB
    Calculated : 9.38 MB
    Loading image 1600x1200.jpg, size 1600 * 1200, bpp 8, channels 3... done
    	debug test.php> code-lines: 36-44 time: 0.1252 mem: 9443 KB
    Memory usage: 9.22 MB
    Difference: 9.17 MB
    Difference / (Width * Height * Bytes per pixel): 1.6696027777778
    Destroyed. Memory usage: 50.56 KB
    
    	debug test.php> code-lines: 44-36 time: 0.0016 mem: 51 KB
    Calculated : 17.6 MB
    Loading image 2200x1650.jpg, size 2200 * 1650, bpp 8, channels 3... done
    	debug test.php> code-lines: 36-44 time: 0.2213 mem: 17796 KB
    Memory usage: 17.38 MB
    Difference: 17.33 MB
    Difference / (Width * Height * Bytes per pixel): 1.6685502295684
    Destroyed. Memory usage: 50.62 KB
    
    	debug test.php> code-lines: 44-36 time: 0.0026 mem: 51 KB
    Calculated : 20.92 MB
    Loading image 2400x1800.jpg, size 2400 * 1800, bpp 8, channels 3...

    This script runs without wordpress 🙂

    So no overhead… belive me you have a memory problem. Check the memory usage with and without Geopress.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: NextGEN Gallery] Incompatibility with GeoPress plugin’ is closed to new replies.