Free Web Hosting Forum
(#1 (permalink))
Old
CSS_Man's Avatar
Senior Member
CSS_Man is on a distinguished road
 
Posts: 2,912
Join Date: Jun 2010
Location: Earth
Default Error on specific wordpress theme - 10-17-2011, 10:37 PM

Just wondering if any more experienced wordpress and php devs here could help me out on this one. I have wamp setup to run on localhost on an old windows xp laptop, and I get this message trying to use the theme "BasicoDark". TwentyEleven and TwentyTen both work fine as well as another theme that I found, so I know its not my entire wamp config. Is there some module that needs enabling or is there just something wrong with the theme, or even some other issue I don't know about?

Error:
Code:
( ! ) Parse error: syntax error, unexpected T_ENDWHILE in C:\wamp\www\wp-content\themes\BasicoDark\index.php on line 41
Call Stack
#	Time	Memory	Function	Location
1	0.0006	363256	{main}( )	..\index.php:0
2	0.0009	367008	require( 'C:\wamp\www\wp-blog-header.php' )	..\index.php:17
3	0.3460	17738112	require_once( 'C:\wamp\www\wp-includes\template-loader.php' )	..\wp-blog-header.php:16



Feel free to PM me for help
If someone has helped you please spread some karma
Reply With Quote
Sponsored Links
(#2 (permalink))
Old
sizzlefire's Avatar
Administrator
sizzlefire is on a distinguished road
 
Posts: 4,531
Join Date: Apr 2008
Send a message via AIM to sizzlefire Send a message via MSN to sizzlefire Send a message via Yahoo to sizzlefire Send a message via Skype™ to sizzlefire
Default 10-18-2011, 01:08 AM

Did you make any changes to that theme or is it the "stock" version? Also have you tried disabling all plugins and see if it still has that error?
Reply With Quote
(#3 (permalink))
Old
CSS_Man's Avatar
Senior Member
CSS_Man is on a distinguished road
 
Posts: 2,912
Join Date: Jun 2010
Location: Earth
Default 10-18-2011, 08:14 PM

No plugins are enabled (only akismet and hello dolly are there, both are included with wordpress.org zip download) and the theme is stock with no modifications at all.



Feel free to PM me for help
If someone has helped you please spread some karma
Reply With Quote
(#4 (permalink))
Old
Bad Karma[CORE]'s Avatar
Guilty as charged
Bad Karma[CORE] is on a distinguished road
 
Posts: 6,133
Join Date: May 2008
Default 10-19-2011, 01:40 AM

Had just a quick look but the <?php endwhile; ?> at line 41 looks somewhat obsolete. Just remove the line or comment it out and see if you still get this error
Reply With Quote
(#5 (permalink))
Old
CSS_Man's Avatar
Senior Member
CSS_Man is on a distinguished road
 
Posts: 2,912
Join Date: Jun 2010
Location: Earth
Default 10-20-2011, 07:19 PM

I tried commenting that out it just gives me an error on line 42 then which doesn't seem to change if I remove it.

Code:
( ! ) Parse error: syntax error, unexpected T_ENDIF in C:\wamp\www\wp-content\themes\BasicoDark\index.php on line 42
Call Stack
#	Time	Memory	Function	Location
1	0.0005	364792	{main}( )	..\index.php:0
2	0.0010	368544	require( 'C:\wamp\www\wp-blog-header.php' )	..\index.php:17
3	0.4690	17999352	require_once( 'C:\wamp\www\wp-includes\template-loader.php' )	..\wp-blog-header.php:16



Feel free to PM me for help
If someone has helped you please spread some karma
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
vBulletin Skin developed by: vBStyles.com