WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: NextGEN Gallery] Incompatibility with GeoPress plugin (8 posts)

  1. Vince
    Member
    Posted 5 years ago #

    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!

  2. Alex Rabe
    Member
    Posted 5 years ago #

    Check your memory limit and the current memory ussage

  3. Vince
    Member
    Posted 5 years ago #

    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 800x600 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.

  4. Alex Rabe
    Member
    Posted 5 years ago #

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

  5. Vince
    Member
    Posted 5 years ago #

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

    My blog runs on a 1&1 server

  6. Alex Rabe
    Member
    Posted 5 years ago #

  7. Vince
    Member
    Posted 5 years ago #

    When I run the script, I have the following output:
    (it seems that image creation is fine up to 2200x1650, which is fine since I only use 800x600 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...
  8. Alex Rabe
    Member
    Posted 5 years ago #

    This script runs without wordpress :-)

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags