Title: thefallguy's Replies | WordPress.org

---

# thefallguy

  [  ](https://wordpress.org/support/users/thefallguy/)

 *   [Profile](https://wordpress.org/support/users/thefallguy/)
 *   [Topics Started](https://wordpress.org/support/users/thefallguy/topics/)
 *   [Replies Created](https://wordpress.org/support/users/thefallguy/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/thefallguy/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/thefallguy/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/thefallguy/engagements/)
 *   [Favorites](https://wordpress.org/support/users/thefallguy/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/users/thefallguy/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/thefallguy/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [When testing the REST API, an unexpected result was returned:](https://wordpress.org/support/topic/when-testing-the-rest-api-an-unexpected-result-was-returned/)
 *  Thread Starter [thefallguy](https://wordpress.org/support/users/thefallguy/)
 * (@thefallguy)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/when-testing-the-rest-api-an-unexpected-result-was-returned/#post-17232539)
 * Thank you so much – it was #2 (AllowOverride All) in the DocumentRoot for the
   WordPress directory. I’d been pouring over the https config files for hours, 
   comparing a known working system with my new one – but I was looking at the server
   configs…
 * Anyway, lets hope that this helps other people too!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [When testing the REST API, an unexpected result was returned:](https://wordpress.org/support/topic/when-testing-the-rest-api-an-unexpected-result-was-returned/)
 *  Thread Starter [thefallguy](https://wordpress.org/support/users/thefallguy/)
 * (@thefallguy)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/when-testing-the-rest-api-an-unexpected-result-was-returned/#post-17226521)
 * Yes, I have tried each of the different Permalink options, with no effect. I’m
   beginning to wonder if my Apache setup is correct, although I can successfully
   access the website through the default and the subdomain.
 * This is my Apache config:
 *     ```wp-block-code
       <IfModule mod_ssl.c>
       <VirtualHost *:443>
           DocumentRoot "/var/www/html"
           ServerName my-server.com
           ServerAlias *.my-server.com
           SSLEngine on
           # Other directives here
           Include /etc/letsencrypt/options-ssl-apache.conf
           SSLCertificateFile /etc/letsencrypt/live/my-server.com/fullchain.pem
           SSLCertificateKeyFile /etc/letsencrypt/live/my-server.com/privkey.pem
       </VirtualHost>
       </IfModule>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [When testing the REST API, an unexpected result was returned:](https://wordpress.org/support/topic/when-testing-the-rest-api-an-unexpected-result-was-returned/)
 *  Thread Starter [thefallguy](https://wordpress.org/support/users/thefallguy/)
 * (@thefallguy)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/when-testing-the-rest-api-an-unexpected-result-was-returned/#post-17225440)
 * Thanks for your reply. I checked everything (except #4) and looks OK. As this
   was a new m/c I decided to reinstall – but I still have the same problem! So,
   how do you check the REST API endpoint setup? It is built into WordPress, and
   I have checked the config as best I can. I don’t know where to look for what 
   has gone wrong!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] WPPA_MULTISITE_INDIVIDUAL already defined](https://wordpress.org/support/topic/wppa_multisite_individual-already-defined/)
 *  Thread Starter [thefallguy](https://wordpress.org/support/users/thefallguy/)
 * (@thefallguy)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/wppa_multisite_individual-already-defined/#post-15845209)
 * Thanks. That worked. I should take more notice of the comments in wp-config.php.
   But, perhaps, you could be a bit more explicit in your instructions?
 * Thanks for your help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] WPPA_MULTISITE_INDIVIDUAL already defined](https://wordpress.org/support/topic/wppa_multisite_individual-already-defined/)
 *  Thread Starter [thefallguy](https://wordpress.org/support/users/thefallguy/)
 * (@thefallguy)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/wppa_multisite_individual-already-defined/#post-15843495)
 * p.s. my theory is confirmed as, although the setting is made in wp-config.php,
   I still see the error message (below) when trying to do album admin
 * Erro:
 *     ```
       WP Photo ALbum Plus Error message
   
       This is a multi site installation. One of the following 3 lines must be entered in wp-config.php:
   
       define( 'WPPA_MULTISITE_INDIVIDUAL', true );// Multisite WP 3.5 or later with every site its own albums and photos
       define( 'WPPA_MULTISITE_BLOGSDIR', true );// Multisite prior to WP 3.5 with every site its own albums and photos
       define( 'WPPA_MULTISITE_GLOBAL', true );// Multisite with one common set of albums and photos
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] WPPA_MULTISITE_INDIVIDUAL already defined](https://wordpress.org/support/topic/wppa_multisite_individual-already-defined/)
 *  Thread Starter [thefallguy](https://wordpress.org/support/users/thefallguy/)
 * (@thefallguy)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/wppa_multisite_individual-already-defined/#post-15843468)
 * Makes no difference!
 * It looks like your code is run before wp-config.php, hence, it is not defined,
   so gets defined, and then wp-config.php runs and thus generates the multiple 
   definition.
 * php –version
    PHP 8.1.8 (cli) (built: Jul 8 2022 10:58:31) (NTS) Copyright (c)
   The PHP Group Zend Engine v4.1.8, Copyright (c) Zend Technologies with Zend OPcache
   v8.1.8, Copyright (c), by Zend Technologies
 * I haven’t tried to see the behaviour, but (given my synopsis above), I doubt 
   it will do what I want. I’ll try that next (in a couple of days – busy tomorrow!)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] WPPA_MULTISITE_INDIVIDUAL already defined](https://wordpress.org/support/topic/wppa_multisite_individual-already-defined/)
 *  Thread Starter [thefallguy](https://wordpress.org/support/users/thefallguy/)
 * (@thefallguy)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/wppa_multisite_individual-already-defined/#post-15843076)
 * Jacob
 * I think I found a coding error at line 80 in wppa.php: it just says
 * defined(‘WPPA_MULTISITE_INDIVIDUAL’) or define( ‘WPPA_MULTISITE_INDIVIDUAL’, 
   false );
 * I would have expected it to look like the lines above…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] WPPA_MULTISITE_INDIVIDUAL already defined](https://wordpress.org/support/topic/wppa_multisite_individual-already-defined/)
 *  Thread Starter [thefallguy](https://wordpress.org/support/users/thefallguy/)
 * (@thefallguy)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/wppa_multisite_individual-already-defined/#post-15843032)
 * Jacob,
 * Thanks for getting back to me. I deleted the plugin and installed it again. Immediately
   after Activating the plugin, I get these messages
 * Warning: mkdir(): No such file or directory in /usr/local/var/www/wordpress/wp-
   content/plugins/wp-photo-album-plus/wppa-setup.php on line 533
 * Warning: chmod(): No such file or directory in /usr/local/var/www/wordpress/wp-
   content/plugins/wp-photo-album-plus/wppa-setup.php on line 535
 * Warning: Constant WPPA_MULTISITE_INDIVIDUAL already defined in /usr/local/var/
   www/wordpress/wp-config.php on line 108
 * It looks to me as if the Constant warning is a PHP error, implying that it is
   defined elsewhere… Just a theory
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Leaflet Map] leaflet-map extensions](https://wordpress.org/support/topic/leaflet-map-extensions/)
 *  [thefallguy](https://wordpress.org/support/users/thefallguy/)
 * (@thefallguy)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/leaflet-map-extensions/#post-14283698)
 * Thanks for the update – it’ll be great if you can remove the limitation…
 * I’ll work around it for the moment.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Leaflet Map] leaflet-map extensions](https://wordpress.org/support/topic/leaflet-map-extensions/)
 *  [thefallguy](https://wordpress.org/support/users/thefallguy/)
 * (@thefallguy)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/leaflet-map-extensions/#post-14274421)
 * [@hupe13](https://wordpress.org/support/users/hupe13/) thanks for the plugin 
   which I have installed and am using. I am trying to show [elevation] on two maps
   in the same post, but only one is appearing. Am I using it wrong, or is this 
   a limitation?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Leaflet Map] GPX file fails to load](https://wordpress.org/support/topic/gpx-file-fails-to-load/)
 *  Thread Starter [thefallguy](https://wordpress.org/support/users/thefallguy/)
 * (@thefallguy)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/gpx-file-fails-to-load/#post-13396171)
 * OK, Another update.
 * It appears to be a browser problem. On a Mac, this map does does not display 
   in Safari, but it DOES display in Firefox. Strangely, it displays correctly in
   Safari on an iPad. Go figure.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Leaflet Map] GPX file fails to load](https://wordpress.org/support/topic/gpx-file-fails-to-load/)
 *  Thread Starter [thefallguy](https://wordpress.org/support/users/thefallguy/)
 * (@thefallguy)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/gpx-file-fails-to-load/#post-13396024)
 * No, that does not work either. An empty map is displayed (not where the track
   is), but no GPX track is displayed.
 * Looking in the log, I see this error
    get — togeojson.js:15TypeError: null is
   not an object (evaluating ‘x.getElementsByTagName’) get — togeojson.js:15 gpx—
   togeojson.js:302 (anonymous function) — leaflet-ajax-geojson.js:35
 * Maybe there is a bug in leaflet?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Leaflet Map] GPX file fails to load](https://wordpress.org/support/topic/gpx-file-fails-to-load/)
 *  Thread Starter [thefallguy](https://wordpress.org/support/users/thefallguy/)
 * (@thefallguy)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/gpx-file-fails-to-load/#post-13394750)
 * That was a typo on my part, to obscure my site. I am using the full https address
   and it is quoted.
 * It it something about the gpx file that is causing the problem, as I have many
   other gpx files that are rendered correctly.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Leaflet Map] How to show multiple GPX on one map](https://wordpress.org/support/topic/how-to-show-multiple-gpx-on-one-map/)
 *  Thread Starter [thefallguy](https://wordpress.org/support/users/thefallguy/)
 * (@thefallguy)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/how-to-show-multiple-gpx-on-one-map/#post-13393944)
 * OK, it is now working. I can’t work out what I did wrong. Thanks for your help
   and sorry for wasting your time.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Leaflet Map] Trying to add a leaflet-gpx](https://wordpress.org/support/topic/trying-to-add-a-leaflet-gpx/)
 *  Thread Starter [thefallguy](https://wordpress.org/support/users/thefallguy/)
 * (@thefallguy)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/trying-to-add-a-leaflet-gpx/#post-11648005)
 * OK, I found the problem. I needed to add
    Access-Control-Allow-Origin: * to my
   site headers. Thanks for the hint.

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/users/thefallguy/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/thefallguy/replies/page/2/?output_format=md)