Support

Home Forums Event Espresso Premium social media add on installation fails

social media add on installation fails

Posted: November 22, 2013 at 2:18 am

Viewing 11 reply threads


Nadir Al-Badri

    November 22, 2013 at 2:18 am

    Hello, i just installed the social media add on. If i go to the settings page in the backend i only see the headline Event Espresso – Social Media settings. The rest of the page is blank.

    WP: 3.7.1 / SocialMedia addon: 1.1.5.1 / EE: latest


    Anonymous

      November 22, 2013 at 4:03 am

      Hi Nadir,

      Can you enable WP_DEBUG and see if any errors are being thrown please?


      Nadir Al-Badri

        November 22, 2013 at 4:17 am

        Aye Tony, no errors thrown. The social media icon show up on front end. I guess i just can change the language settings somewhere in database as a workaround for now…


        Anonymous

          November 22, 2013 at 5:44 am

          Strange, have you tried increasing the memory allocated to WordPress?

          http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP


          Nadir Al-Badri

            November 22, 2013 at 6:07 am

            Yes, i already did set it to 128M .


            Nadir Al-Badri

              November 22, 2013 at 6:08 am

              Does the social media plug-ins somehow askas for the EE version number? I did change that number to prevent updates by other admins.


              Anonymous

                November 22, 2013 at 6:16 am

                It actually loads different files depending on the EE version you have.

                Did you modify the number higher than 3.2.X?


                Nadir Al-Badri

                  November 22, 2013 at 8:34 am

                  Yes, to 99.99.9 .


                  Anonymous

                    November 22, 2013 at 8:54 am

                    Then yes that will be causing the social add-on to load files incompatible with your version of Event Espresso.

                    If you open espresso-social/espresso-social.php on line 66-72

                    function espresso_social_load_admin_file() {
                    	if ( function_exists('espresso_version') && espresso_version() >= '3.2' ){
                    		require_once('social_admin.php');
                    	} else {
                    		require_once('social_admin_classic.php');
                    	}
                    }

                    replace that with just:

                    function espresso_social_load_admin_file() {
                    		require_once('social_admin_classic.php');
                    }

                    Does the Social page now load?


                    Nadir Al-Badri

                      November 22, 2013 at 8:57 am

                      Yepp, works now. Thanks very much!


                      Nadir Al-Badri

                        November 22, 2013 at 9:01 am

                        … however the facebook text stays in english, but that should be easy to fix but might be a good idea to integrate into the plug in for future…


                        Anonymous

                          November 22, 2013 at 9:03 am

                          I’m glad it worked but to note for future readers.

                          Changing the Event Espresso version as above is NOT recommended and will likely causes issues further down the line. The version number is stored within the Database and also used by other functions, possibly not in the current version but certainly in future ones.

                          Many of the add-on’s will check the version number as we move forward to help move between the current and future versions of Event Espresso.

                          Viewing 11 reply threads

                          The support post ‘social media add on installation fails’ is closed to new replies.

                          Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

                          Event Espresso - Staging Server