Responsive_css.php Error after installing the theme

March 2014 WordPress Theme
GK User
Tue Apr 29, 2014 12:56 pm
Hi Guys,
I just joined Gavickpro today. I downloaded the Wordpress News 2 theme. but after installation I got the following error:

Parse error: syntax error, unexpected 'endif' (T_ENDIF) in C:\wamp\www\newsite\gk_news2_quickstart_WP_39\wp-content\themes\News2\layouts\responsive_css.php on line 127


Could you please help me to solve this issue.
User avatar
Fresh Boarder

GK User
Tue Apr 29, 2014 1:49 pm
Hello,

Did you install the quickstart package? Could you send me a PM with backend and FTP access to your website? then I'll be able to check this issue exactly.
User avatar
Moderator

GK User
Fri May 02, 2014 10:12 am
Hi Piotr,
I have the same problem in quickstart package.
I use XAMPP on Win7. I didn't experience any problems in other quickstart packages (game/rockwall/
Here is the message:
Parse error: syntax error, unexpected 'endif' (T_ENDIF) in E:\xampp\htdocs\news2\wp-content\themes\News2\layouts\responsive_css.php on line 127

Greets,
B.
User avatar
Fresh Boarder

GK User
Mon May 05, 2014 8:36 am
Hi,

Did you change anything after the quickstart installation? I would like to help, but can't reproduce this issue on my installations.

Try to remove this fragment from News2/layouts/reponsive_css.php file (from line 125):

Code: Select all
<? if(gk_is_active_sidebar('sidebar_left')) : ?>
      #gk-updates { width: <?php echo $sidebar_left_width; ?>%!important; }
      <?php endif; ?>
User avatar
Moderator

GK User
Wed Jun 18, 2014 11:08 am
Hello,
I had the same problem with WAMP Server 64bit on Windows 7 and I have solved it with the Piotr Kunicki previous message.
User avatar
Fresh Boarder

GK User
Wed Jun 18, 2014 2:17 pm
Hi @sebgaillard,
Do you have the latest version of the News2 theme? (because this issue was fixed in the latest release)
User avatar
Moderator


cron