掲示板
After restart - no change
9年前 に Toshiro Mifune によって更新されました。
After restart - no change
Regular Member 投稿: 238 参加年月日: 14/12/11 最新の投稿
Hi all,
I have a little problem. I created a theme and now, when I want to change something, like text, and then I refresh paga or when I restart server ... there are no changes. Do you know why?? Thank you.
I have a little problem. I created a theme and now, when I want to change something, like text, and then I refresh paga or when I restart server ... there are no changes. Do you know why?? Thank you.
9年前 に Toshiro Mifune によって更新されました。
RE: After restart - no change
Regular Member 投稿: 238 参加年月日: 14/12/11 最新の投稿
in
is that theme where I can not make any change ... maybe if I delete it and run server again ... it can help ... but I am not sure ...
liferay-plugins-sdk-6.2/themes
is that theme where I can not make any change ... maybe if I delete it and run server again ... it can help ... but I am not sure ...
9年前 に Olaf Kock によって更新されました。
RE: After restart - no change
Liferay Legend 投稿: 6403 参加年月日: 08/09/23 最新の投稿
I have no clue what you're doing. Did you create a theme in the SDK? Did you create a site with Liferay, add content and wonder where it is? Please describe more of your situation - screenshots and directory listings might help
9年前 に Toshiro Mifune によって更新されました。
RE: After restart - no change
Regular Member 投稿: 238 参加年月日: 14/12/11 最新の投稿
OK sorry ... maybe this is really not so clear :-)
So ... I work with liferay in eclipse. I created theme for my web-site, added some portlets, created service-builder for database table ... and now when I want to change something in on this theme, for example when I want to chage a text in portal_normal.flv and then I restart the server (tomcat) ... I can not see these changes on my web-page. ONLY I can see some changes on my page when I made a change in portlets ... but no in the theme ... I hope this is more clear ... and thanks for answers ! really !!
So ... I work with liferay in eclipse. I created theme for my web-site, added some portlets, created service-builder for database table ... and now when I want to change something in on this theme, for example when I want to chage a text in portal_normal.flv and then I restart the server (tomcat) ... I can not see these changes on my web-page. ONLY I can see some changes on my page when I made a change in portlets ... but no in the theme ... I hope this is more clear ... and thanks for answers ! really !!
9年前 に Toshiro Mifune によって更新されました。
RE: After restart - no change
Regular Member 投稿: 238 参加年月日: 14/12/11 最新の投稿
And I forgot to post here ... after restarting server it show me an errors ...
10:08:50,710 INFO [liferay/hot_deploy-1][ResourcesImporterHotDeployMessageListener:212] Group or layout set prototype already exists for company liferay.com
10:08:51,156 ERROR [http-bio-8080-exec-1][MinifierUtil:111] 2: 97: unterminated string literal
10:08:51,156 ERROR [http-bio-8080-exec-1][MinifierUtil:111] 2: 97: syntax error
10:08:51,156 ERROR [http-bio-8080-exec-1][MinifierUtil:111] 1: 0: Compilation produced 2 syntax errors.
10:08:51,156 ERROR [http-bio-8080-exec-1][MinifierUtil:88] JavaScript Minifier failed for
window.jQuery || document.write(' <script src="jquery-1.9.1.min.js" type="text/javascript">
</code></pre></script>
Toshiro Mifune:
And I forgot to post here ... after restarting server it show me an errors ...10:08:50,710 INFO [liferay/hot_deploy-1][ResourcesImporterHotDeployMessageListener:212] Group or layout set prototype already exists for company liferay.com 10:08:51,156 ERROR [http-bio-8080-exec-1][MinifierUtil:111] 2: 97: unterminated string literal 10:08:51,156 ERROR [http-bio-8080-exec-1][MinifierUtil:111] 2: 97: syntax error 10:08:51,156 ERROR [http-bio-8080-exec-1][MinifierUtil:111] 1: 0: Compilation produced 2 syntax errors. 10:08:51,156 ERROR [http-bio-8080-exec-1][MinifierUtil:88] JavaScript Minifier failed for window.jQuery || document.write(' <script src="jquery-1.9.1.min.js" type="text/javascript"> </code></pre></blockquote><br /><br />It seems there are some syntactical errors in template file(s). Can you please verify again after resolving those errors ?<br /><br /><br />Thanks,<br />Rahul Pande</script>
9年前 に Toshiro Mifune によって更新されました。
RE: After restart - no change
Regular Member 投稿: 238 参加年月日: 14/12/11 最新の投稿
I went to this template and change these lines
window.jQuery || document.write('<script src="jquery-1.9.1.min.js" type="text/javascript">
</code></pre><br />... but it is same ... if I remove these lines, if I edited these lines ... same error ... I have really ! no idea whats wrong :-(</script>
Hi Toshiro,
Can you please replace document.write statement with
document.write("<script src='jquery-1.9.1.min.js' type='text/javascript'><\/script>");
HTH
Rahul Pande
Can you please replace document.write statement with
document.write("<script src='jquery-1.9.1.min.js' type='text/javascript'><\/script>");
HTH
Rahul Pande
9年前 に Toshiro Mifune によって更新されました。
RE: After restart - no change
Regular Member 投稿: 238 参加年月日: 14/12/11 最新の投稿
Same error ... I cant see any changed I did ... for example I treied to delete whole content of portal_normal.ftl and then restart the server ... but with no change ...
Toshiro Mifune:
Same error ... I cant see any changed I did ... for example I treied to delete whole content of portal_normal.ftl and then restart the server ... but with no change ...
Out of ideas now . I can only suggest to undeploy theme, clear temp and work folder, restart the server and redeploy theme. If you still get the same error, then there must be some problem in the theme for sure .
Attaching the code in question will help to resolve the issue.
Thanks,
Rahul Pande
9年前 に Olaf Kock によって更新されました。
RE: After restart - no change
Liferay Legend 投稿: 6403 参加年月日: 08/09/23 最新の投稿
To me
document.write(' <script src="jquery-1.9.1.min.js" type="text/javascript"></code></pre><br />looks like an unterminated string literal. And obviously the Minifier thinks the same. Or the code in the error message is not complete - in that case you'll find the problem when you search for this line in your code and read on.<br /><br />My best guess would be to add <br /><pre><code>');</code></pre><br />to that line.<br /><br />(Edit: Oops - obviously I opened this page a while ago and didn't refresh before the answer. However, it still looks like it should be easy to spot. The error messages from MinifierUtil are quite clear IMHO - just find the place that it applies to and check what it needs to fix it)</script>
9年前 に Aditya Bhardwaj によって更新されました。
RE: After restart - no change
Junior Member 投稿: 78 参加年月日: 15/01/08 最新の投稿
Hi,
Many times this occur you can do:-
1)Try on some different browser
2)Delete temp,work, and theme from webapps and restart server and deploy theme again.
3)Make sure you do all changes in _diff folder
Many times this occur you can do:-
1)Try on some different browser
2)Delete temp,work, and theme from webapps and restart server and deploy theme again.
3)Make sure you do all changes in _diff folder
9年前 に Toshiro Mifune によって更新されました。
RE: After restart - no change
Regular Member 投稿: 238 参加年月日: 14/12/11 最新の投稿
I put in eclipse new server and run my project again. But changes didn't appear. And what now? ...
9年前 に Toshiro Mifune によって更新されました。
RE: After restart - no change
Regular Member 投稿: 238 参加年月日: 14/12/11 最新の投稿
OK ... I solved it.
I changed some text in my portal_normal.ftl which is located in
folder ... but in portal_normal.ftl, which is located in
was was old text ... so because of this I had this problem .. anyway ... thanks you all
I changed some text in my portal_normal.ftl which is located in
/docroot/_diffs/templates
folder ... but in portal_normal.ftl, which is located in
/docroot/templates
was was old text ... so because of this I had this problem .. anyway ... thanks you all
9年前 に Aditya Bhardwaj によって更新されました。
RE: After restart - no change
Junior Member 投稿: 78 参加年月日: 15/01/08 最新の投稿
Cool yes you need to do all changes under _diff folder