Forum Replies Created

Viewing 14 replies - 16 through 29 (of 29 total)
  • Hello! I was having the exact same issues (img src not being set for custom icons and then not being able to delete them). I added allow_url_fopen = on to my php.ini file, and updated to the most recent version (I had downgraded to see if that would work), and the custom images are now uploading properly. However, there is still no way to delete the broken ones, so having to uninstall, reinstall, and start fresh.

    Thanks!

    Thread Starter Torre Capistran

    (@vkean2011)

    Thanks for responding so quickly, Rinat. To clarify, I as an admin would have to login and see the post, find the file that was uploaded and manually add it to the post that was created? Or the frontend user would have an option to ‘Add Media’ right into the post content?

    I’ll tell you the end goal and maybe that will help – we want a way for visitors to be able to upload a .pdf file, and then somehow for those to be all categorized (either post category or media category if that is supported) the same, so that we can spit out a list of all those uploaded .pdf documents on a page.

    Thanks!
    Torre

    Yeah, that’s where I put ‘target=”_BLANK” and it did not work. I host with WPEngine, and they have aggressive caching in place. I can ask that they exclude my calendar page from their caching. Do you think that would solve the issue? I know that even after I have used their ‘Purge all caches’ button this change has still not taken effect.

    Thanks!
    Torre

    Thread Starter Torre Capistran

    (@vkean2011)

    Ben,

    Good news, WPEngine is happy to exclude a page or cookie or whatever needs to be excluded from their caching for the plugin to work. Would I just have them exclude

    https://[mysiteurl]/?password-protected=login&redirect_to=http%3A%2F%2Fpeotexas.wpengine.com%2F

    ?

    Thanks,
    Torre

    Thread Starter Torre Capistran

    (@vkean2011)

    That’s such a bummer! They are the ones that recommended I use this plugin! I wonder what I will do now :/ Thanks!

    Nicola,

    Thanks for the response. My month.twig file does not look like yours… I checked that I have the most updated version of the plugin. Here is my month.twig file contents:

    {{ navigation | raw }}
    
    <table class="ai1ec-month-view ai1ec-popover-boundary
    	{% if month_word_wrap %}ai1ec-word-wrap{% endif %}">
    	<thead>
    		<tr>
    			{% for weekday in weekdays %}
    				<th scope="col" class="ai1ec-weekday">{{ weekday }}</th>
    			{% endfor %}
    		</tr>
    	</thead>
    	<tbody>
    		{% for week in cell_array %}
    			{% set added_stretcher = false %}
    			<tr class="ai1ec-week">
    				{% for day in week %}
    
    					{% if day.date is not empty %}
    						<td {% if day.today is not empty %}class="ai1ec-today"{% endif %}>
    							{# This div is needed for laying out multi-day event bars. #}
    							{% if not added_stretcher %}
    								<div class="ai1ec-day-stretcher"></div>
    								{% set added_stretcher = true %}
    							{% endif %}
    
    							<div class="ai1ec-day">
    								<div class="ai1ec-date">
    									<a class="ai1ec-load-view"
    										{{ data_type | raw }}
    										href="{{ day.date_link | e('html_attr') }}"
    										>{{ day.date }}</a>
    								</div>
    
    								{% for event in day.events %}
    									<a href="{{ event.get_runtime( 'instance_permalink' ) | e('html_attr') }}"
    										{{ data_type_events | raw }}
    										{% if event.is_multiday %}
    											data-end-day="{{ event.get_runtime( 'multiday_end_day' ) }}"
    											data-start-truncated="{{ event.get( 'start_truncated' ) ? 'true' : 'false' }}"
    											data-end-truncated="{{ event.get( 'end_truncated' ) ? 'true' : 'false' }}"
    										{% endif %}
    										data-instance-id="{{ event.get( 'instance_id' ) }}"
    										class="ai1ec-event-container ai1ec-load-event
    											ai1ec-popup-trigger
    											ai1ec-event-id-{{ event.get( 'post_id' ) }}
    											ai1ec-event-instance-id-{{ event.get( 'instance_id' ) }}
    											{% if event.is_allday %}ai1ec-allday{% endif %}
    											{% if event.is_multiday %}ai1ec-multiday{% endif %}"
    										>
    
    										<div class="ai1ec-event"
    											 style="{{ event.get_runtime( 'color_style' ) | e('html_attr') }}">
    											<span class="ai1ec-event-title">
    												{{ event.get_runtime( 'filtered_title' ) | raw }}
    											</span>
    											{% if not event.is_allday %}
    												<span class="ai1ec-event-time">
    													{{ event.get_runtime( 'short_start_time' ) }}
    												</span>
    											{% endif %}
    										</div>
    									</a>
    
    									{% include 'event-popup.twig' with {
    									'text_venue_separator': text_venue_separator
    									} %}
    
    								{% endfor %}
    							</div>
    						</td>
    					{% else %} {# day.date is not empty #}
    						<td class="ai1ec-empty"></td>
    					{% endif %} {# day.date is not empty #}
    
    				{% endfor %} {# day in week #}
    			</tr>
    		{% endfor %} {# week in cell_array #}
    	</tbody>
    </table>

    Also, when I made the change to the line in constants.php, it killed my site and deactivated the plugin ?? I got this error message in my wp-admin are:

    All In One Event Calendar has been disabled due to an error:

    Argument 2 passed to Ai1ec_Persistence_Context::__construct() must be an instance of Ai1ec_Cache_Strategy, array given, called in /nas/wp/www/cluster-2385/iwga/wp-content/plugins/all-in-one-event-calendar/lib/bootstrap/registry/object.php on line 160 and defined

    exception ‘Ai1ec_Error_Exception’ with message ‘Argument 2 passed to Ai1ec_Persistence_Context::__construct() must be an instance of Ai1ec_Cache_Strategy, array given, called in /nas/wp/www/cluster-2385/iwga/wp-content/plugins/all-in-one-event-calendar/lib/bootstrap/registry/object.php on line 160 and defined’ in /nas/wp/www/cluster-2385/iwga/wp-content/plugins/all-in-one-event-calendar/lib/cache/strategy/persistence-context.php:33
    Stack trace:
    #0 /nas/wp/www/cluster-2385/iwga/wp-content/plugins/all-in-one-event-calendar/lib/cache/strategy/persistence-context.php(33): Ai1ec_Exception_Handler->handle_error(4096, ‘Argument 2 pass…’, ‘/nas/wp/www/clu…’, 33, Array)
    #1 /nas/wp/www/cluster-2385/iwga/wp-content/plugins/all-in-one-event-calendar/lib/bootstrap/registry/object.php(160): Ai1ec_Persistence_Context->__construct(‘ai1ec_parsed_cs…’, Array, true)
    #2 /nas/wp/www/cluster-2385/iwga/wp-content/plugins/all-in-one-event-calendar/lib/bootstrap/registry/object.php(102): Ai1ec_Registry_Object->initiate(‘Ai1ec_Persisten…’, Array)
    #3 /nas/wp/www/cluster-2385/iwga/wp-content/plugins/all-in-one-event-calendar/lib/css/frontend.php(73): Ai1ec_Registry_Object->get(‘cache.strategy….’, ‘ai1ec_parsed_cs…’, Array, true)
    #4 /nas/wp/www/cluster-2385/iwga/wp-content/plugins/all-in-one-event-calendar/lib/bootstrap/registry/object.php(154): Ai1ec_Css_Frontend->__construct(Object(Ai1ec_Registry_Object))
    #5 /nas/wp/www/cluster-2385/iwga/wp-content/plugins/all-in-one-event-calendar/lib/bootstrap/registry/object.php(102): Ai1ec_Registry_Object->initiate(‘Ai1ec_Css_Front…’, Array)
    #6 /nas/wp/www/cluster-2385/iwga/wp-content/plugins/all-in-one-event-calendar/lib/command/render-calendar.php(66): Ai1ec_Registry_Object->get(‘css.frontend’)
    #7 /nas/wp/www/cluster-2385/iwga/wp-content/plugins/all-in-one-event-calendar/lib/command/abstract.php(74): Ai1ec_Command_Render_Calendar->do_execute()
    #8 /nas/wp/www/cluster-2385/iwga/wp-content/plugins/all-in-one-event-calendar/app/controller/front.php(126): Ai1ec_Command->execute()
    #9 [internal function]: Ai1ec_Front_Controller->route_request(”)
    #10 /nas/wp/www/cluster-2385/iwga/wp-includes/plugin.php(505): call_user_func_array(Array, Array)
    #11 /nas/wp/www/cluster-2385/iwga/wp-includes/template-loader.php(12): do_action(‘template_redire…’)
    #12 /nas/wp/www/cluster-2385/iwga/wp-blog-header.php(16): require_once(‘/nas/wp/www/clu…’)
    #13 /nas/wp/www/cluster-2385/iwga/index.php(17): require(‘/nas/wp/www/clu…’)
    #14 {main}

    Now the plugin will not reactivate no matter what I do. I hate to uninstall and reinstall and lose all my settings and events etc.

    Needless to say, this is still not possible… Would be a great addition to the plugin, ideally with a simple check box in the options /settings area.

    Thank you.
    Torre

    Yes, I sure do. There are appears to be no files in it though – empty.

    I am needing help with this as well. I made the same change as alvbayu, cleared all caches, no luck.

    Thanks!

    Thread Starter Torre Capistran

    (@vkean2011)

    Brook,

    Thank you, however that was not the issue. I was aware of the opening php tag rules, and only used one. Here is the code from my functions.php file.

    <?php //This is the functions.php file for the IWGA Divi Child Theme by Torre Kean
    // This file is loaded before and - in addition to - the parent theme's file
    
    add_filter('tribe_get_events_title', 'change_upcoming_events_title');
    
    function change_upcoming_events_title($title) {
    	//We'll change the title on upcoming and map views
    	if (tribe_is_upcoming() or tribe_is_map() or tribe_is_photo()) return 'Upcoming Parties';
    
    	//In all other circumstances, leave the original title in place
    	return $title;
    }
    
    // this function is allowing us to add breaks to menu nav titles with a pipe | character
    
    add_filter( 'the_title', 'wpa_105883_menu_title_markup', 10, 2 );
    
    function wpa_105883_menu_title_markup( $title, $id ){
        if ( is_nav_menu_item ( $id ) ){
            $title = str_ireplace( "|", "<br/>", $title );
        }
        return $title;
    }

    Using this code successfully changes the title of the page, but all event pages are blank/white.

    Thank you!
    Torre

    Thread Starter Torre Capistran

    (@vkean2011)

    Thank you SO MUCH, that fixed it!! I really appreciate it, and so does my client!

    Thread Starter Torre Capistran

    (@vkean2011)

    Just to clarify – this issue is not resolved. Calculated Fields Forms still break the ability to link directly to a section id / anchor tag on a page where a form is present. I removed the form from https://copycat.dallasprintshop.com/printing-services simply to demonstrate that, without the form, everything works properly. I would like to get the issue resolved with the plugin so I can have my client’s required Online Pricing Calculator put back on the page.

    Thanks

    Thread Starter Torre Capistran

    (@vkean2011)

    Hi again! Thanks for the quick response. Yes, the tag is there, which is why the button “posters” at the top of https://copycat.dallasprintshop.com/printing-services works. It is pointing to https://copycat.dallasprintshop.com/printing-services/#poster-tab

    That ID is set within the theme’s Page Builder, which is perhaps why it is not easily seen the way you are looking for it. But it is there.

    To demonstrate: That link works when you are on the Printing Services page. However, if you try to visit that link directly, it is broken when a Calculated Fields Form is present on the page.

    To demonstrate, I am removing the Calculated Fields Form from the page. Try to visit https://copycat.dallasprintshop.com/printing-services/#poster-tab again (directly), and it works now.

    Thanks!!

    Thread Starter Torre Capistran

    (@vkean2011)

    I apologize if I was not clear. Yes, the buttons at the top of the page (https://copycat.dallasprintshop.com/printing-services) are working, but the anchor links themselves are not.

    Please try to visit the link I specified in my post: https://copycat.dallasprintshop.com/printing-services/#poster-tab

    You will notice it takes you to the top of the page, not to the poster-tab section all the way at the bottom. This is what is not working. We need to be able to link to those sections from outside the page itself.

    For example, on the homepage https://copycat.dallasprintshop.com, there are pricing tables below the HERO that have “More Info” buttons that use the exact same links as the colored buttons you mentioned working on the /printing-services page. However, when linking from the home page, they do not work. They simply take you to the /printing-services page and the #id portion of the url is ignored.

    Thank you for your help!

    I’m having the same problem… Getting a 502 Bad Gateway error when I try to visit a protected page when the Groups 404 Redirect plugin is installed and configured. I tried reaching out to WPEngine support. Waiting on their response. REALLY want to get this figured out.

    Anybody else have any ideas as to why this is happening?

Viewing 14 replies - 16 through 29 (of 29 total)