homepage Welcome to WebmasterWorld Guest from 184.73.52.98
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Code, Content, and Presentation / WordPress
Forum Library, Charter, Moderators: lorax & rogerd

WordPress Forum

    
Wordpress theme
chocoholic




msg:4223269
 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...

 

lorax




msg:4223347
 1:47 pm on Oct 28, 2010 (gmt 0)

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?

chocoholic




msg:4223384
 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...

bunltd




msg:4223402
 3:22 pm on Oct 28, 2010 (gmt 0)

Is it the most recent version of Thesis and WordPress?

chocoholic




msg:4223407
 3:28 pm on Oct 28, 2010 (gmt 0)

yeah.version 1.8 thesis and wordpress 3

chocoholic




msg:4223412
 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

lorax




msg:4223426
 4:12 pm on Oct 28, 2010 (gmt 0)

What happens when you use the default theme that came with WP?

ergophobe




msg:4223439
 4:23 pm on Oct 28, 2010 (gmt 0)

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.

chocoholic




msg:4223445
 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

chocoholic




msg:4223853
 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...

lorax




msg:4224226
 1:00 pm on Oct 30, 2010 (gmt 0)

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.

ergophobe




msg:4224260
 4:16 pm on Oct 30, 2010 (gmt 0)

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.

chocoholic




msg:4226765
 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

bunltd




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

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.

lorax




msg:4227056
 12:57 pm on Nov 5, 2010 (gmt 0)

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.

chocoholic




msg:4227457
 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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WordPress
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved