JR5 Beta - Installation Error

Developer Networks
Developer Networks
@developer-networks
12 years ago
566 posts
<text> I receive this error when installing the beta. The data folders are all 777 and in attempt to make it work I tried it with the jrcore at 777 as well. </text>
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/northwestmusicgroup.com/data/cache/jrCore/c342de51a2baae622c155c52eda9905e.tpl" on line 17 "{if jrCore_module_is_active(''jrSearch'')}" - Unexpected "jrSearch", expected one of: "","" , ")"' in /home/northwestmusicgroup.com/modules/jrCore/contrib/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php:662 Stack trace: #0 /home/northwestmusicgroup.com/modules/jrCore/contrib/smarty/libs/sysplugins/smarty_internal_templateparser.php(3144): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /home/northwestmusicgroup.com/modules/jrCore/contrib/smarty/libs/sysplugins/smarty_internal_templateparser.php(3209): Smarty_Internal_Templateparser->yy_syntax_error(19, 'jrSearch') #2 /home/northwestmusicgroup.com/modules/jrCore/contrib/smarty/libs/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(19, 'j in /home/northwestmusicgroup.com/modules/jrCore/contrib/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 662 

updated by @developer-networks: 12/13/13 02:26:05PM
paul
@paul
12 years ago
4,335 posts
Nothing to do with the posted issue but the long unbroken lines in the error report spill out of the right hand side of the div so cannot read all of the post.
(Using Safari)


--
Paul Asher - JR Developer and System Import Specialist
paul
@paul
12 years ago
4,335 posts
Oh - Its been fixed now by tagging the error text.
But still potentially an issue?


--
Paul Asher - JR Developer and System Import Specialist
Developer Networks
Developer Networks
@developer-networks
12 years ago
566 posts
so at this point I tried refreshing the page to go forward.

It appears installed fine. I am able to proceed with my admin account creation and did a system check and everything was green.
Developer Networks
Developer Networks
@developer-networks
12 years ago
566 posts
@paul

I notice the same issue when using my 32" screen at a lower resolution. when viewing on the 27" screen with higher resolution all of the text works as normal.

press ctrl - and zoom your page out a little. might help.

** oh you were talking about the code part itself.. I put it in a div tag. I noticed that right after I posted. It should be fixed now, thanks :)
updated by @developer-networks: 10/08/13 09:05:35AM
brian
@brian
12 years ago
10,149 posts
paul:
Nothing to do with the posted issue but the long unbroken lines in the error report spill out of the right hand side of the div so cannot read all of the post.
(Using Safari)

You can scroll to the right inside the code box.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
12 years ago
10,149 posts
This looks like a double-single quote issue - I'll see if I can spot what template that is happening in.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
paul
@paul
12 years ago
4,335 posts
"You can scroll to the right inside the code box."
This was before b360 put it in a code box when it was just long, unbroken text.


--
Paul Asher - JR Developer and System Import Specialist
brian
@brian
12 years ago
10,149 posts
This string:

{if jrCore_module_is_active(''jrSearch'')}

Does not appear in any Jamroom template - it does, but not with double single quotes like that.

What version of PHP are you running on your server? Are you running with magic_quotes enabled? JR5 detects that and will remove them, but the double single quotes looks weird.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Developer Networks
Developer Networks
@developer-networks
12 years ago
566 posts
PHP Version 5.3.10-1ubuntu3.7

magic_quotes_gpc On
magic_quotes_runtime Off
magic_quotes_sybase On
brian
@brian
12 years ago
10,149 posts
Are you using specific scripts that need to have magic quotes ON? If not, go into your php.ini and turn magic_quotes_gpc off:

magic_quotes_gpc = Off

Then restart your web server. Let me know if that helps at all and I can check out the core more in depth to make sure things work correctly even if magic quotes is enabled. Note that unless you specifically need it, you really should have it disabled.

Let me know if that helps. Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Developer Networks
Developer Networks
@developer-networks
12 years ago
566 posts
I cant think of anything on the server needing it. I have disabled it.

Tags