Welcome to WebmasterWorld Guest from 184.73.126.70

Forum Moderators: rogerd & travelin cat

Message Too Old, No Replies

Wordpress theme

   
8:54 am on Oct 28, 2010 (gmt 0)



Can anyone suggest a good wordpress theme similar to thesis that might work on windows...im getting lots of undifined variable errors with thesis...
1:47 pm on Oct 28, 2010 (gmt 0)

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



I'm sorry but that doesn't make much sense. The requirements for WordPress are:

PHP version 5.2 or greater
MySQL version 5.0.15 or greater
(Optional (required for multi-site)) Apache mod_rewrite module (for clean URIs known as Permalinks)

As long as you have the above then the Theme - any theme - should function just fine.

Can you give us a sample (one or two) of the errors you're getting?
2:32 pm on Oct 28, 2010 (gmt 0)



hi lorax...i get lots of undefined variable errors. I did some digging and apparently this can happen with a windows environment...i've posted a question in the php forum about it...the default wordpress theme works fine but when i uploaded thesis i get mega undefined variable errors...
3:22 pm on Oct 28, 2010 (gmt 0)

10+ Year Member



Is it the most recent version of Thesis and WordPress?
3:28 pm on Oct 28, 2010 (gmt 0)



yeah.version 1.8 thesis and wordpress 3
3:34 pm on Oct 28, 2010 (gmt 0)



Hi everyone i've listed some of the errors below:

Warning: fopen(http://www.buzzz.org.uk/buzzz2/wp-cron.php?doing_wp_cron) [function.fopen]: failed to open stream: HTTP request failed! in D:\phpsites\buzzz2\wp-includes\class-http.php on line 1045

Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in D:\phpsites\buzzz2\wp-includes\functions.php on line 3237

Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in D:\phpsites\buzzz2\wp-includes\functions.php on line 3237

Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in D:\phpsites\buzzz2\wp-includes\functions.php on line 3237

Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in D:\phpsites\buzzz2\wp-includes\functions.php on line 3237

Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in D:\phpsites\buzzz2\wp-includes\functions.php on line 3237

Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in D:\phpsites\buzzz2\wp-includes\functions.php on line 3237

Notice: Undefined index: activated in D:\phpsites\buzzz2\wp-content\themes\thesis_18\lib\functions\launch.php on line 21

Warning: Cannot modify header information - headers already sent by (output started at D:\phpsites\buzzz2\wp-includes\class-http.php:1045) in D:\phpsites\buzzz2\wp-content\themes\thesis_18\lib\functions\compatibility.php on line 7

Notice: Undefined variable: page_title in D:\phpsites\buzzz2\wp-content\themes\thesis_18\lib\classes\head.php on line 41

Notice: Undefined variable: conditional_styles in D:\phpsites\buzzz2\wp-content\themes\thesis_18\lib\classes\head.php on line 192

Notice: Undefined property: thesis_favicon::$favicon in D:\phpsites\buzzz2\wp-content\themes\thesis_18\lib\classes\head.php on line 249
4:12 pm on Oct 28, 2010 (gmt 0)

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



What happens when you use the default theme that came with WP?
4:23 pm on Oct 28, 2010 (gmt 0)

WebmasterWorld Administrator ergophobe is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



chocoholic,

Lorax is right - this has nothing to do with the operating system the server runs on. PHP runs fine on Windows and there are very few differences. I've created dozens of sites on Windows and ported to Linux without ever a problem.

In your case, you are getting Notices. There are basically three levels of reporting in PHP - Errors, Warnings and Notices.

Some neophyte developers create their themes, plugins and apps with error reporting set to hide notices and someitmes even warnings. This means that if you are using an environment with error reporting turned up a notch (which you should for development), you'll get these notices. To me, it's a sign of poorly written software by a careless developer.

Now, *which* developer? Not Wordpress. I can assure you that it runs fine with the highest error reporting. I don't use Thesis, but I'm sure Lorax can confirm that it runs without notices in a default install.

So I would from there I would disable all plugins and sidebar widgets and revert to the default theme as Lorax says. Then reneable one at a time until you get the Notices. Then see if there's an updated version of the offending piece.
4:29 pm on Oct 28, 2010 (gmt 0)



hi guys...yeah the default wp theme worked fine...so u reckon i should just ditch the thesis one...i really just wan't a simple blog theme that kind of looks a bit like a newspaper...any suggestions
12:53 pm on Oct 29, 2010 (gmt 0)



when i switched off the debugger the site works fine...not sure if it should be though...
1:00 pm on Oct 30, 2010 (gmt 0)

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



when i switched off the debugger the site works fine...not sure if it should be though...


With which theme and were the plugins enabled? Troubleshooting is a matter of details and small steps and we need to know the situation/status if we are to help.
4:16 pm on Oct 30, 2010 (gmt 0)

WebmasterWorld Administrator ergophobe is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



chocoholic - do you know how to use GREP? If so, you can grep for

\bregister_sidebar_widget

and find out where the deprecated function is getting called.
8:00 pm on Nov 4, 2010 (gmt 0)



hi guys sorry i've been away..lorax the theme was thesis and yes the plugins are enabled...

ergophone i haven't a clue what or how to use grep but it sounds a useful tool..

thanks
8:47 pm on Nov 4, 2010 (gmt 0)

10+ Year Member



It seems like your WordPress either wasn't completely upgraded or you have a plugin using old deprecated code. (have you tried disabling all the plugins?)

Grep is a way to search within files for a particular pattern. Comes from *nix - is a command line thing. There are versions for Windows too.
12:57 pm on Nov 5, 2010 (gmt 0)

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Leave debugger off until you need it. It's meant to help with troubleshooting but if you don't need to troubleshoot the setup then leave it off.
8:18 am on Nov 6, 2010 (gmt 0)



thanks guys..i'll leave the debugger off till i'm up to speed with wordpress, php then i'll look at grep etc...

cheers for help it's appreciated