Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Appearance of lifestyle 2 template different from demo

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi all,

I have exact the same problem with lifestyl2 template as described earlier in this forum: www.joomlabamboo.com/index.php?option=com_kunena&view=topic&catid=674&id=115375&Itemid=215
Unfortunately this entry became a ticked and I can't see if the problem was solved and how.

A second problem: Installing Lifestyle2 template stopped working at "Install Sample Data".
After 3h of waiting I cancelled the process.

Would be great if you can help me out.

Armand
(Please excuse my German-English)

PS: I did a kind of an experiment with Lifestyle2. Maybe you are interested what I did. Here is the entire story:

1. Installed LAMB on Raspberry Pi Model B:
- Linux raspberrypi 4.1.15,
- Apache 5.4.45-0+deb7u2,
- PHP5, Version 5.4.45-0+deb7u2
- MySql (Server Version: 5.5.46-0+deb7u1, MySQL-Client-Version: 5.5.46)
- phpMyAdmin 3.4.11.1deb2+deb7u2,
- Proftpd 1.3.4a

Installation was quit straight forward, many guides and tutorials to find in Internet.

Now it comes to Joomla 3.x and Lifestyle2 template:

2. JB_Lifestyle2_Quickstart_J336_v1.0.1 Installation
- Unzipped JB_Lifestyle2_Quickstart_J336_v1.0.1 and uploaded to /var/www on Pi via FTP to folder lets call it life2_quick
- Start installation by http://ip-of-pi/life2_quick
- Installation went well until “Install Sample Data”. After 3h and no progress I cancelled the process, guessing there is something wrong:-(
- Tried it again, same effect.

3. JB_Lifestyle2_J2.5_J3+_v1.0.2 Installation
Unzipped Joomla Version 3.4.8 and uploaded to /var/www on Pi in folder lets call it life2_blank
- Start Joomla 3.4.8 installation by http://ip-of-pi/life2_blank
- Run http://ip-of-pi/life2_blank/administrator.
- Uploaded and installed JB_Lifestyle2_J2.5_J3 from Joomla backend
- Installed all extension needed/recommended for JB_Lifestyle 2, as T3 framwork ,jb_zenkit, etc.

One problem: Installation of T3 framework failed, because upload_max_filesize was too small. Fixed that by modifying /etc/php5/apache2/php.ini and set upload_max_filesize = 8M. Was before 2M. Now T3-framework installation went through

Called site in browser, and it was fine. Looked very simple, but worked.

4. Checking JB_Lifestyle2_Quickstart_J336_v1.0.1 Installation again
Because of the fixed upload_max_filesize problem earlier I run the Lifestyle2_Quickstart installation again. But same effect. Stopped at the same point at “Install Sample Data”.

5. Comparing DB-Tables of “life2_quick” and “life2_blank” installation
Via phpMyAdmin I compared all tables of both installations.
Found life2_quick has table life2_quick_weblinks which didn't exist in life2_blank, but all the k2_xxx tables were missing here. Also I compared all record for all tables and there was quite a difference here.

I imported all missing tables and records into life2_quick database via phpMyAdmin. Doing this by exporting them from life2_blank database and importing into life2_quick database. Also I imported file sample_data.sql from life2_quick/installation/sql/mysql folder.

Now I modified the configuration.php file from life2_blank to fit life2_quick and copied to ife2_quick folder.

At the end I deleted folder installation in ife2_quick

Called the site in browser and........ IT works!!!
In admin mode I updated Joomla to 3.4.8.

So far so good. But just one small issue. The frontpage looks a bit different from the demo provided on Joomlabamboo site. It starts with the slideshow (showing pictures “A Close Focus”, “A Present mind”, “Hand Down Productive”), and missed the srolling areas (“Narwhal stumptown”, “Food truck tattooed“, “Typewriter sustainab”, “DIY vegan paleo“, “Schlitz raw denim”, “Butcher American App”).

After all this work it would be great to get this small issue fixed.
I'm so happy to get Joomla and Lifestyle2 working on a Pi. Sure, the speed is the fastest, but acceptable for me and even better as my 14 years old Window XP I worked with before.
  • Alange's Avatar
  • Alange
  • 12 Month basic
  • 50 posts
  • Karma: 1
Last Edit: 3 years 7 months ago by Alange.
The administrator has disabled public write access.
Hi,

find out why about different look between demo and my installation.
What I saw was the Home-Classic view.

To switch to the scrolling view you have to click twice on the menu item Home. Is a bit tricky, because the first click expand the home menu, and the second click changed the mode.
So this is solved.
But the hanging installing process of quickstart package still remains.

Armand
  • Alange's Avatar
  • Alange
  • 12 Month basic
  • 50 posts
  • Karma: 1
The administrator has disabled public write access.
The sample data problem could be related to the execution time limit - is it set as 30?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,

yes is set to 30 in php.ini.

Best from Canada - Armand
  • Alange's Avatar
  • Alange
  • 12 Month basic
  • 50 posts
  • Karma: 1
The administrator has disabled public write access.
Hi Armand,

Try setting to 60 or 90

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,

modified the execution = 90, and I T W O R K S!!!

So, I have now a Raspberry PI running Joomla 3.4.8 and your Lifestyle2 Template. :laugh: :woohoo:

One last thing: The quickstart package still needs the Joomla Menu ID Item Fix.

Thank you
Armand
  • Alange's Avatar
  • Alange
  • 12 Month basic
  • 50 posts
  • Karma: 1
The administrator has disabled public write access.
Yes sorry about that

I think by pointing it out you are familiar with the problem / solution but just for anybody else following this thread

www.joomlabamboo.com/blog/how-to-joomla/how-to-avoid-the-joomla-menu-itemid-issue

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,
back again with one problem you can maybe help with.

It is not an issue with Lifestyle2, rather with on apache, php, mysql,Joomla.
And it is not specific of the Raspberry Pi system I work on now. Had the same problem time ago on my windows system too and wasn't able to solve it.

So this what happens:
Every time I type into the browser a request like 192.168.x.x/MyNewHomepage the browser's status line displays "Waiting for 192.168.x.x".
Same when I do changes in the Joomla backend as an administrator.

And this is what I have to suffer: Wait for ~15 sec before any action takes place.
I can live with 2 or 3 sec waiting, but 15 sec or sometimes up to 20 sec is too annoying.

Otherwise if I type 192.168.x.x/index.html, apache answers immediately (<1sec).
Also 192.168.x.x/phpinfo.php shows up in less then a sec, and 192.168.x.x/phpmyadmin too.
To speed up mysql I added skip-name-resolve in my.cnf, and installed php-apc, but no change.
I guess apache and/or php are not well configured.

Do you have any idea where to tweak.

Armand
  • Alange's Avatar
  • Alange
  • 12 Month basic
  • 50 posts
  • Karma: 1
The administrator has disabled public write access.
Hi Armand,

Does it happen on the Joomla standard install from Joomla.org and its sample data?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,

installed JB_Lifestyle2_Quickstart_J336_v1.0.1 package and updated to Joomla to 3.4.8.

Thx Armand
  • Alange's Avatar
  • Alange
  • 12 Month basic
  • 50 posts
  • Karma: 1
The administrator has disabled public write access.
Hi Armand,

Sorry I meant if you download the joomla file from www.joomla.org/

and then install a joomla site using the sample data from the www.joomla.org/ download

Is that still the same?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,

I installed Joomla 3.4.8 with the sample included as you said.
Run the test and measured the response time. Here is what I got:

Joomla 3.4.8:
Fontend: <3 sec each request
Backend/administrator: =<7 sec

Lifestyle2 Quickstart Installation:
Fontend: 7 to 10 sec each request
Backend/administrator: 12 to 15 sec /worse case was the Login: > 20 sec,
go to System/Global Configuration 18 sec each request.

The frontend difference is not as big as I thought, but the backend is quite different.

Thx Armand
  • Alange's Avatar
  • Alange
  • 12 Month basic
  • 50 posts
  • Karma: 1
The administrator has disabled public write access.
Thanks Armand,

I will ask the team tomorrow about suggestions

Enjoy the rest of the weekend

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,

still trying to nail down the low response issue. Not successful yet. But I checked the apache2 error log file and find some interesting entries in there.

Every time I click on one of the stacked module entry on home page (not the Home-Classic page) a new error entry will be created.
For example if I click on "Typewriter sustainab->More..." it creates two entries in apache2 error log file:

[Sat Feb 06 11:50:40 2016] [error] [client 192.168.x.y] File does not exist: /var/www/lifestyle2/media/mod_zentools/js/jquery-1.8.3.min.js, referer: 192.168.xxx.yyy/lifestyle2/index.php/hidden-menu-item/82-typewriter-sustainable

and

[Sat Feb 06 11:50:40 2016] [error] [client 192.168.x.y] File does not exist: /var/www/lifestyle2/media/mod_zentools/js/jquery-noconflict.js, referer: 192.168.xxx.yyy/lifestyle2/index.php/hidden-menu-item/82-typewriter-sustainable

Same for all the other stacked modules on home page.

Maybe it doesn't help with the low response issue, but always good to make lifestyle2 template more stable.

Please can you figure out what it means.

Thx from Canada
  • Alange's Avatar
  • Alange
  • 12 Month basic
  • 50 posts
  • Karma: 1
The administrator has disabled public write access.
Hi there,

Do you have the file located here:

media/mod_zentools/js/jquery-1.8.3.min.js

Not sure why it would be loading from there anyway - do you have jQuery enabled in the module? Try disabling it to see if the standard Joomla jquery loads.

Thanks
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
I doubt that will do much in terms of speed though. Can you try a page without zentools? Also what size are the images you are loading in the module.

This kind of thing is hard to troubleshoot really. What is the memory limit? Perhaps try upgrading that.

docs.joomlabamboo.com/getting-started/how-to-check-php-memory-limit-for-joomla-3
Thanks
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Hi Anthony,
jQuery was disabled in the module.
Enabled in the module, still creates the apache errors.

But:
The files are not in media/mod_zentools/js/...
They are in media/mod_zentools/js/jquery....

So copy them to media/mod_zentools/js/... => no more errors.

Problem solved, but what is the right location? Keep them in both folders isn't the proper style, or!

Thx Armand
  • Alange's Avatar
  • Alange
  • 12 Month basic
  • 50 posts
  • Karma: 1
The administrator has disabled public write access.
I'll check with Anthony when he is online tonight shouldn't need to copy them anywhere

Cheers
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Has Anthony's suggestion helped with site performance?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers