Lionbunny
Forum Replies Created
-
Forum: Localhost Installs
In reply to: Importing theme-unit-test-data.xml file gives timeout errorHey there!
I had the same problem and editing the wp-config.php file like Jesin said did not work for me. I did find a fix that was suggested by another forum here:
Hi
Many of us get that error usually when importing data from XML file into WordPress but wordpress times out everytime. So we usually try to fix that by increasing maximum execution time by editing php.ini file or .htaccess file or increase time limit by adding set_time_limit(0) in wp-config.php file.But what about if above none of the Solutions works then here is the solutions
You need to edit that file wp-includes\class-http.php and then add that code just before 1512 or 1511 like below :1511 set_time_limit (5000); 1512 curl_exec( $handle ); 1513 $theHeaders = WP_Http::processHeaders( $this->headers, $url ); 1514 $theBody = $this->body; 1515 $bytes_written_total = $this->bytes_written_total;I’m a beginner with php but from what I’ve gathered adding the ‘set_time_limit’ close to where the script times out will add more time to execute everything on top of the 60 seconds or whatever the default limit is set to. I’m guessing that after everything is uploaded you can remove the line if you wanted to put everything back to normal.
Forum: Fixing WordPress
In reply to: Shortcode not working in Text WidgetAlso, and I have no idea how, the recent posts widget just started working for my site one day… I run a twentytwelve child theme so I guess the problem worked itself out in one of the updates.
Forum: Fixing WordPress
In reply to: Shortcode not working in Text WidgetHey Fry, start a new thread with your specific info… they always say to do that I’m guessing because everyone’s site/setup is different and what works for one person might not work for another. Maybe there’s a new fix or workaround or someone else might know the solution!
Forum: Fixing WordPress
In reply to: Shortcode not working in Text WidgetYep. I added the filter to every theme’s functions.php
Weird that it’s just not working across the board…
Forum: Fixing WordPress
In reply to: Shortcode not working in Text Widgetpriority on the filter did not work, deactivating plugins did not work, and switching themes did not work.
I am completely stumped.
Forum: Fixing WordPress
In reply to: Shortcode not working in Text WidgetYep.
Went into wp-content > themes> current theme> functions.php and made sure the filter was there. Also added it to the functions.php files of the rest of the themes I have, just to see… still not displaying the shortcode :/
Forum: Fixing WordPress
In reply to: Shortcode not working in Text Widgetok I replied too early, let me double check
Forum: Fixing WordPress
In reply to: Content missing from one page, only header and footers showYour theme’s template files may have been damaged.
I found the problem! I made a blank php page template from the contact page and completely forgot to give the blank a new name within the file (derpderpderp). Which apparently bonks wordpress. two template files with the same name… wp got confuzzled and decided to use neither π Thank you SO MUCH for helping me!
Forum: Fixing WordPress
In reply to: Content missing from one page, only header and footers showwell, let me ask you this: I didn’t have a problem at all this morning with this page not showing up. everything was working properly. Would this mean that somewhere in the contact php template or the actual content editing page in wordpress there’s a mistake?
Forum: Fixing WordPress
In reply to: Content missing from one page, only header and footers show– deactivated all plugins, still had the issue
– deactivated all plugins via ftp (changed plugin folder to plugins.hold via the link) still had the issue
– switched to the twenty eleven theme. content showed up!so the problem is just with the /contact but I have no idea where to start looking for mistakes…
I really dig the ftp plugin folder trick though! learned something new π
Forum: Fixing WordPress
In reply to: Content missing from one page, only header and footers showI will give it a shot and report back!
Forum: Fixing WordPress
In reply to: Content missing from one page, only header and footers showMy mistake! Dev.abetteranswer.com/contact