• Resolved Sara Patricia

    (@sarapatricia)


    Your efforts to revive this module are VERY MUCH appreciated, but after activating version 2.0.0 the following error messages show up on every screen of the admin area.

    Warning: include_once(example.php): failed to open stream: No such file or directory in /homepages/31/d77458240/htdocs/wordpress/wp-content/plugins/nextgen-gallery-geo/administration.php on line 62
    Warning: include_once(): Failed opening 'example.php' for inclusion (include_path='.:/usr/lib/php7.4') in /homepages/31/d77458240/htdocs/wordpress/wp-content/plugins/nextgen-gallery-geo/administration.php on line 62
    Warning: include_once(geo2_media_add_attachment.php): failed to open stream: No such file or directory in /homepages/31/d77458240/htdocs/wordpress/wp-content/plugins/nextgen-gallery-geo/plugin.php on line 61
    Warning: include_once(): Failed opening 'geo2_media_add_attachment.php' for inclusion (include_path='.:/usr/lib/php7.4') in /homepages/31/d77458240/htdocs/wordpress/wp-content/plugins/nextgen-gallery-geo/plugin.php on line 61
    Warning: Cannot modify header information - headers already sent by (output started at /homepages/31/d77458240/htdocs/wordpress/wp-content/plugins/nextgen-gallery-geo/administration.php:62) in /homepages/31/d77458240/htdocs/wordpress/wp-includes/functions.php on line 6360
    Warning: Cannot modify header information - headers already sent by (output started at /homepages/31/d77458240/htdocs/wordpress/wp-content/plugins/nextgen-gallery-geo/administration.php:62) in /homepages/31/d77458240/htdocs/wordpress/wp-admin/includes/misc.php on line 1310
    Warning: Cannot modify header information - headers already sent by (output started at /homepages/31/d77458240/htdocs/wordpress/wp-content/plugins/nextgen-gallery-geo/administration.php:62) in /homepages/31/d77458240/htdocs/wordpress/wp-admin/admin-header.php on line 9
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author pablo2

    (@pablo2)

    Hi Sara,
    I’m sorry that you need to wait so long for my reply. It’s my first plugin and I actually thought WordPress has not relisted it yet. It’s my misunderstanding of their last email while I was busy with other things.

    Thank you for including these warnings. It helped me do some corrections to the code. Please try version 2.0.1. I hope it will work for you. I didn’t have any warnings like that on my server. It must be a different configuration/type. Something like this.

    Please post any new warnings if you will have any.

    Best regards,
    Pawel

    Thread Starter Sara Patricia

    (@sarapatricia)

    Thanks for following up upon my post. Unfortunately v2.0.1 introduced an additional issue which broke my site, but I was able to resolve both issues myself.

    The additional issue threw a warning and a fatal error:

    Warning: require_once(/wordpress/wp-content/plugins/nextgen-gallery-geo/freemius/start.php): failed to open stream: No such file or directory in /wordpress/wp-content/plugins/nextgen-gallery-geo/administration.php on line 32
    Fatal error: require_once(): Failed opening required '/wordpress/wp-content/plugins/nextgen-gallery-geo/freemius/start.php' (include_path='.:/usr/lib/php7.4') in /wordpress/wp-content/plugins/nextgen-gallery-geo/administration.php on line 32

    As there is no fremius folder included in the v2.0.1 download I simply removed the Freemius integration code completely. My site came back and so did the original error from v2.0.0 which is caused by a line saying include_once 'example.php';

    After removing lines 18-68 and 115 from administration.php your module seems to work as expected. I think you uploaded a development version.

    Thread Starter Sara Patricia

    (@sarapatricia)

    Unfortunately the module’s configuration page wasn’t working because it requires the non-existing example.php file. After removing this line close to the end of administration.php the config page showed up.

    echo geo2_maps( geo2_maps_example(), NULL );

    Plugin Author pablo2

    (@pablo2)

    Hi Sara,

    I’m sorry again. I made a mess but hopefully, I corrected it now. I uploaded the administration.php file from the extended version of this plugin on which I’m working now. I still found a reference in functions.php to examples.php. This is a future WordPress asked me to remove just before accepting me to upload it.

    Please upgrade to version 2.0.2. Fingers crossed it will work this time 😉

    Please Reply and mark this as resolved.
    Thank you

    Thread Starter Sara Patricia

    (@sarapatricia)

    Hi Pawel,

    thanks for the expedited fixing. Maps and config page now load without error messages. I didn’t test all the different options, but it’s working for me. Nevertheless I stumbled over a few minor issues.

    1. The configuration options don’t show as tabs General, Geocoding, Maps, Thumbnails, etc. Instead they all show on the same page with one section after the other.
    2. The “Settings saved” message can’t be dismissed.
    3. The image counter produces weird numbers for the first picture clicked. Example: When the first of three pictures is clicked first it says “Image 01 of 3”. When the second picture is clicked first it says “Image 11 of 3”. When the third picture is clicked first it says “Image 21 of 3”. Only after flipping through all pictures it correctly says “Image 1 of 3”.

    Thanks again, good job!
    Sara

    Plugin Author pablo2

    (@pablo2)

    Hi Sara,

    Thank you again for finding these issues. The first was really important.

    Please check again and if any problems just let me know.
    I hope you will like this plugin.

    Best regards,
    Pawel

    Thread Starter Sara Patricia

    (@sarapatricia)

    Hi Pawel,

    it seems all 3 issues have been resolved. I especially like the worldmap feature. It is pretty fast although I have about 160 galleries with several thousand pictures.

    Thanks for all your efforts to revive this nice plugin.
    Sara

    Plugin Author pablo2

    (@pablo2)

    Good to know this 🙂 I’m glad. 3 years of my life were not wasted for nothing 😉 (I’m slightly exaggerating )

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘error messages with v2.0.0 re missing files and folders’ is closed to new replies.