{"id":1144654,"date":"2016-07-27T08:28:28","date_gmt":"2016-07-27T15:28:28","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-an-event-in-test-site-upload-media-in-test-site-new-theme-error-in-load\/"},"modified":"2016-07-29T02:19:52","modified_gmt":"2016-07-29T09:19:52","slug":"add-an-event-in-test-site-upload-media-in-test-site-new-theme-error-in-load","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-an-event-in-test-site-upload-media-in-test-site-new-theme-error-in-load\/","title":{"rendered":"ADD AN EVENT in test site\/ upload media in test site (new theme) &#8211; error in load"},"content":{"rendered":"<p>I was trying to ADD AN EVENT in the test site (changed\/upgraded theme) and something has gone<br \/>\nwrong. I was inserting an image into an event and then it kept going to a blank &#8220;upload\/php&#8221; page.<br \/>\nWhen I hit PUBLISH, it went to this blank page again and I had to back<br \/>\narrow. It never showed the post again after the publish click. It did show<br \/>\nup in the events list and I deleted it in case there was an error, but that didn&#8217;t work either. I think<br \/>\nI&#8217;m stuck. Can&#8217;t view the media library. Now I can&#8217;t even update &#8220;any&#8221; of the pages. I also can&#8217;t log in the site now on the desktop. I&#8217;m still logged in on the laptop. Phew&#8230; But have not been able to UPDATE any pages. &#8211;<\/p>\n<p>Here&#8217;s the DEBUG message, if that helps: SyntaxError: expected expression, got &#8216;&lt;&#8216;http:\/\/test.azdancecoalition.org\/wp-content\/themes\/lambada\/7league\/script\/custom.js.php?ver=4.5.3 line 1<\/p>\n<p>TEST SITE &#8211; new upgraded theme: http:\/\/test.azdancecoalition.org &#8211; from the dashboard &#8211; since &#8220;Submit an Event&#8221; is still not visible in the right panel for &#8220;members&#8221; to add.<br \/>\nORIGINAL SITE: http:\/\/www.azdancecoalition.org<\/p>\n<p>I have the original coding for &#8220;add event&#8221; but don&#8217;t know how to transfer it into the new coding provided by the new theme. Maybe you can assist? My web person is on vacation.<\/p>\n<p>ORIGINAL CODE that includes Event Calendar \/ Submit An Event:<br \/>\n<code>&lt;div id=\"rightcolumn\"&gt;<br \/>\n&lt;ul id=\"sidebar\"&gt;<\/p>\n<ul>\n<li>&lt;div class=\"about\"&gt;&lt;!--dave vanish next stuff if user logged in--&gt;<br \/>\n&lt;?php if ( !is_user_logged_in()): ?&gt;<br \/>\n&lt;div id=\"join-button\"&gt;<a href=\"http:\/\/www.azdancecoalition.org\/join\">BECOME an ADC MEMBER&lt;br \/&gt;&lt;div class=\"click-here-to-join\"&gt;CLICK HERE TO JOIN&lt;\/div&gt;<\/a>&lt;\/div&gt;<\/p>\n<h3>About ADC<\/h3>\n<p>&lt;p&gt;<a href=\"http:\/\/www.azdancecoalition.org\/join\/\" rel=\"nofollow\"><img \/>\/images\/joinNow.jpg\" alt=\"Join Arizona Dance Coalition Today\" width=\"115\" height=\"116\" border=\"0\" \/&gt;<\/a><\/p>\n<p>The Arizona Dance Coalition (ADC) is a statewide organization designed to assist the cultural and educational needs of the dance community, schools and general public by providing educational information, resources and services that are related to the field of dance.<br \/>\n&lt;br \/&gt;<br \/>\n&lt;br \/&gt;<br \/>\n&lt;?php echo do_shortcode( '[contact-form-7 id=\"9624\" title=\"Subscribe to Newsletter\"]' ); ?&gt;<\/p>\n<p>&lt;br \/&gt;<br \/>\n&lt;\/p&gt;<\/p>\n<p>&lt;?php endif; ?&gt;&lt;!--dave endif--&gt;<\/p>\n<p>&lt;?php if ( is_user_logged_in()): ?&gt;<\/p>\n<h2>Members Area<\/h2>\n<p>&lt;ul style=\"margin-top: 1em;\"&gt;<\/li>\n<li><a href=\"http:\/\/www.azdancecoalition.org\/wishlist-member\/member-home\/\">Member Home <\/a><\/li>\n<li><a href=\"http:\/\/www.azdancecoalition.org\/wp-admin\/post-new.php?post_type=tribe_events\">Submit a Calendar Event<\/a><\/li>\n<li><a href=\"http:\/\/www.azdancecoalition.org\/wp-admin\/profile.php?\">Edit My Profile<\/a><\/li>\n<li><a href=\"http:\/\/www.azdancecoalition.org\/join\/member-directory\/\">Member Directory<\/a><\/li>\n<li>\n<h2>Tutorials<\/h2>\n<p>&lt;ul style=\"margin-top: 1em;\"&gt;<\/li>\n<li><a href=\"http:\/\/www.azdancecoalition.org\/join\/overview-tour\/\">Member Area Overview <\/a><\/li>\n<li><a href=\"http:\/\/www.azdancecoalition.org\/join\/event-calendar-add\/\">How to Submit a Calendar Event<\/a><\/li>\n<li><a href=\"http:\/\/www.azdancecoalition.org\/join\/edit-profile\/\">How to Edit Your Profile<\/a><\/li>\n<li>&lt;?php endif; ?&gt;&lt;!--dave endif--&gt;&lt;\/div&gt;\n<p>&lt;!--div class=\"about_bottom\"&gt;<br \/>\n&lt;\/div--&gt;<\/li>\n<\/ul>\n<p>&lt;li class=\"widget_search\"&gt;<\/p>\n<p>&lt;form id=\"searchform\" action=\"&lt;?php bloginfo('url'); ?&gt;\" method=\"get\"&gt;<\/p>\n<p>&lt;div&gt;<\/p>\n<p>&lt;input id=\"s\" type=\"text\" size=\"15\" name=\"s\" \/&gt;&lt;br \/&gt;<\/p>\n<p>&lt;input type=\"submit\" value=\"\" \/&gt;<\/p>\n<p>&lt;\/div&gt;<\/p>\n<p>&lt;\/form&gt;<br \/>\n&lt;br \/&gt;<\/p>\n<p>&lt;div class=\"clear\"&gt;&lt;\/div&gt;<\/p>\n<p>&lt;?php \/* Widgetized sidebar, if you have the plugin installed. *\/<br \/>\nif ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?&gt;<br \/>\n&lt;?php endif; ?&gt;<\/p>\n<p>&lt;!-- end #sidebar --&gt;<\/p>\n<p>&lt;\/div&gt;&lt;!-- end #rightcolumn --&gt;<\/p>\n<p>NEW THEME CODE - WHERE TO I ADD and WHAT CHANGES TO CODE DO I NEED TO DO?<\/p>\n<p>&lt;?php<br \/>\nglobal $options;<br \/>\nregister_sidebar( array(<br \/>\n'name' =&gt; 'Left Sidebar',<br \/>\n'id' =&gt; 'sidebar-1',<br \/>\n'before_widget' =&gt; '&lt;aside id=\"%1$s\" class=\"left widget %2$s\"&gt;&lt;div&gt;',<br \/>\n'after_widget' =&gt; \"&lt;\/div&gt;&lt;\/aside&gt;\",<br \/>\n'before_title' =&gt; '<\/p>\n<h3>',<br \/>\n'after_title' =&gt; '<\/h3>\n<p>',<br \/>\n) );<br \/>\nregister_sidebar( array(<br \/>\n'name' =&gt; 'Right Sidebar',<br \/>\n'id' =&gt; 'sidebar-2',<br \/>\n'before_widget' =&gt; '&lt;aside id=\"%1$s\" class=\"right widget %2$s\"&gt;&lt;div&gt;',<br \/>\n'after_widget' =&gt; \"&lt;\/div&gt;&lt;\/aside&gt;\",<br \/>\n'before_title' =&gt; '<\/p>\n<h3>',<br \/>\n'after_title' =&gt; '<\/h3>\n<p>',<br \/>\n) );<br \/>\n\/\/ FOOTER SIDEBARS<br \/>\nregister_sidebar( array(<br \/>\n'name' =&gt; 'Footer 1 Sidebar',<br \/>\n'id' =&gt; 'sidebar-11',<br \/>\n'before_widget' =&gt; '&lt;aside id=\"%1$s\" class=\"footer-first-sidebar widget %2$s\"&gt;',<br \/>\n'after_widget' =&gt; \"&lt;\/aside&gt;\",<br \/>\n'before_title' =&gt; '<\/p>\n<h3>',<br \/>\n'after_title' =&gt; '<\/h3>\n<p>',<br \/>\n) );<br \/>\nregister_sidebar( array(<br \/>\n'name' =&gt; 'Footer 2 Sidebar',<br \/>\n'id' =&gt; 'sidebar-12',<br \/>\n'before_widget' =&gt; '&lt;aside id=\"%1$s\" class=\"footer-second-sidebar widget %2$s\"&gt;',<br \/>\n'after_widget' =&gt; \"&lt;\/aside&gt;\",<br \/>\n'before_title' =&gt; '<\/p>\n<h3>',<br \/>\n'after_title' =&gt; '<\/h3>\n<p>',<br \/>\n) );<br \/>\nregister_sidebar( array(<br \/>\n'name' =&gt; 'Footer 3 Sidebar',<br \/>\n'id' =&gt; 'sidebar-13',<br \/>\n'before_widget' =&gt; '&lt;aside id=\"%1$s\" class=\"footer-third-sidebar widget %2$s\"&gt;',<br \/>\n'after_widget' =&gt; \"&lt;\/aside&gt;\",<br \/>\n'before_title' =&gt; '<\/p>\n<h3>',<br \/>\n'after_title' =&gt; '<\/h3>\n<p>',<br \/>\n) );<br \/>\nregister_sidebar( array(<br \/>\n'name' =&gt; 'Footer 4 Sidebar',<br \/>\n'id' =&gt; 'sidebar-14',<br \/>\n'before_widget' =&gt; '&lt;aside id=\"%1$s\" class=\"footer-fourth-sidebar widget %2$s\"&gt;',<br \/>\n'after_widget' =&gt; \"&lt;\/aside&gt;\",<br \/>\n'before_title' =&gt; '<\/p>\n<h3>',<br \/>\n'after_title' =&gt; '<\/h3>\n<p>',<br \/>\n) );<br \/>\nregister_sidebar( array(<br \/>\n'name' =&gt; 'Footer 5 Sidebar',<br \/>\n'id' =&gt; 'sidebar-15',<br \/>\n'before_widget' =&gt; '&lt;aside id=\"%1$s\" class=\"footer-fifth-sidebar widget %2$s\"&gt;',<br \/>\n'after_widget' =&gt; \"&lt;\/aside&gt;\",<br \/>\n'before_title' =&gt; '<\/p>\n<h3>',<br \/>\n'after_title' =&gt; '<\/h3>\n<p>',<br \/>\n) );<\/p>\n<p>\/* CUSTOM SIDEBARS *\/<\/p>\n<p>$my_sidebars=load_option(\"sidebars\");<br \/>\nif(isset($my_sidebars))<br \/>\n{<br \/>\nfor( $i=0; $i&lt;count($my_sidebars); $i++ )<br \/>\n{<br \/>\n$ix=$i+20;<br \/>\nif(isset($my_sidebars[$i]))<br \/>\n{<br \/>\nif($my_sidebars[$i]!=\"\")<br \/>\n{<br \/>\nregister_sidebar( array(<br \/>\n'name' =&gt; 'Sidebar '.$my_sidebars[$i],<br \/>\n'id' =&gt; 'sidebar-'.$ix,<br \/>\n'before_widget' =&gt; '&lt;aside id=\"%1$s\" class=\"'.$my_sidebars[$i].'-sidebar widget %2$s\"&gt;&lt;div&gt;',<br \/>\n'after_widget' =&gt; \"&lt;\/div&gt;&lt;\/aside&gt;\",<br \/>\n'before_title' =&gt; '<\/p>\n<h3>',<br \/>\n'after_title' =&gt; '<\/h3>\n<p>',<br \/>\n) );<br \/>\n}<br \/>\n}<br \/>\n}<br \/>\n}<br \/>\n?&gt;<\/code><\/p>\n<p>Also want to change the &#8220;line spacing&#8221; on the MONTHLY VIEW of the CALENDAR. It is double spacing titles. Sometimes I&#8217;ll have 6 events on one day. Lots of wasted space.<\/p>\n<p>Thank you for any help you can provide. Krystyna@AzDanceCoalition.org \/ 520-975-2694<\/p>\n","protected":false},"template":"","class_list":["post-1144654","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ADD AN EVENT in test site\/ upload media in test site (new theme) - error in load -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-an-event-in-test-site-upload-media-in-test-site-new-theme-error-in-load\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ADD AN EVENT in test site\/ upload media in test site (new theme) - error in load -\" \/>\n<meta property=\"og:description\" content=\"I was trying to ADD AN EVENT in the test site (changed\/upgraded theme) and something has gone wrong. I was inserting an image into an event and then it kept going to a blank &#8220;upload\/php&#8221; page. When I hit PUBLISH, it went to this blank page again and I had to back arrow. It never [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-an-event-in-test-site-upload-media-in-test-site-new-theme-error-in-load\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-07-29T09:19:52+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-an-event-in-test-site-upload-media-in-test-site-new-theme-error-in-load\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-an-event-in-test-site-upload-media-in-test-site-new-theme-error-in-load\/\",\"name\":\"ADD AN EVENT in test site\/ upload media in test site (new theme) - error in load -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-07-27T15:28:28+00:00\",\"dateModified\":\"2016-07-29T09:19:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-an-event-in-test-site-upload-media-in-test-site-new-theme-error-in-load\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-an-event-in-test-site-upload-media-in-test-site-new-theme-error-in-load\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-an-event-in-test-site-upload-media-in-test-site-new-theme-error-in-load\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"ADD AN EVENT in test site\/ upload media in test site (new theme) &#8211; error in load\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ADD AN EVENT in test site\/ upload media in test site (new theme) - error in load -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-an-event-in-test-site-upload-media-in-test-site-new-theme-error-in-load\/","og_locale":"en_US","og_type":"article","og_title":"ADD AN EVENT in test site\/ upload media in test site (new theme) - error in load -","og_description":"I was trying to ADD AN EVENT in the test site (changed\/upgraded theme) and something has gone wrong. I was inserting an image into an event and then it kept going to a blank &#8220;upload\/php&#8221; page. When I hit PUBLISH, it went to this blank page again and I had to back arrow. It never [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-an-event-in-test-site-upload-media-in-test-site-new-theme-error-in-load\/","article_modified_time":"2016-07-29T09:19:52+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-an-event-in-test-site-upload-media-in-test-site-new-theme-error-in-load\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-an-event-in-test-site-upload-media-in-test-site-new-theme-error-in-load\/","name":"ADD AN EVENT in test site\/ upload media in test site (new theme) - error in load -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-07-27T15:28:28+00:00","dateModified":"2016-07-29T09:19:52+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-an-event-in-test-site-upload-media-in-test-site-new-theme-error-in-load\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-an-event-in-test-site-upload-media-in-test-site-new-theme-error-in-load\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-an-event-in-test-site-upload-media-in-test-site-new-theme-error-in-load\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"ADD AN EVENT in test site\/ upload media in test site (new theme) &#8211; error in load"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1144654","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":2,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1144654\/revisions"}],"predecessor-version":[{"id":1145466,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1144654\/revisions\/1145466"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1144654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}