Upgrade to Joomla 3.7.0

Questions related to the configuration of Joomla, Templates, and Security related questions/issues
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Wed Apr 26, 2017 5:20 pm
Today upgrade to joomla 3.7.0 breaks my site.
Deleting cache, first load is ok, but second is a blank page.

Could be a plugin, a module or what ¿? Temporaly I restore a copy of my site but, in the future

Thanks !
User avatar
Senior Boarder

teitbite
Thu Apr 27, 2017 10:32 am
Hi

Rise showing error level to maximum, it can be done in global joomla configuration or in php.ini. Than tell me what fatal error is showing where blank page was before.
User avatar
Moderator

GK User
Thu Apr 27, 2017 12:00 pm
Excellent way to debug the error ! I'll do it and let you know. Thanks for your help !
User avatar
Senior Boarder

GK User
Fri Apr 28, 2017 5:10 pm
Using php7, joomla 3.7.0, with maximum error_level, error log file says:

[Fri Apr 28 12:56:42.146400 2017] [php7:notice] [pid 4676:tid 1604] [client ::1:15499] PHP Deprecated: Non-static method GKIS_gk_bikestore_Model::getDataK2() should not be called statically in C:\\xampp\\htdocs\\club\\modules\\mod_image_show_gk4\\styles\\gk_bikestore\\controller.php on line 85
[Fri Apr 28 12:56:42.424400 2017] [php7:notice] [pid 4676:tid 1604] [client ::1:15499] PHP Notice: Only variables should be assigned by reference in C:\\xampp\\htdocs\\club\\templates\\gk_news\\lib\\framework\\helper.cache.php on line 102
[Fri Apr 28 12:57:41.993400 2017] [php7:notice] [pid 4676:tid 1604] [client ::1:15565] PHP Deprecated: Non-static method GKIS_gk_bikestore_Model::getDataK2() should not be called statically in C:\\xampp\\htdocs\\club\\modules\\mod_image_show_gk4\\styles\\gk_bikestore\\controller.php on line 85
[Fri Apr 28 12:57:42.749400 2017] [php7:notice] [pid 4676:tid 1604] [client ::1:15565] PHP Notice: Only variables should be assigned by reference in C:\\xampp\\htdocs\\club\\templates\\gk_news\\lib\\framework\\helper.cache.php on line 102

Using php7, joomla 3.6.5, all work ok.
User avatar
Senior Boarder

teitbite
Wed May 03, 2017 9:47 am
Hi

All those reports are warnings/notifications, nothing that can break site. How is the site broken exactly? Is it a white page or just some bad looking elements?

Try disable Image Show module and see how site looks than, bikestore module style is ancient, so I suspect it can be the cause.
User avatar
Moderator

GK User
Wed May 03, 2017 1:46 pm
When I say "break my site" I mean a blank page. Sorry.

Now, disabling the image show component, the error is in the template:

Wed May 03 08:46:27.181400 2017] [php7:notice] [pid 660:tid 1568] [client ::1:3581] PHP Notice: Only variables should be assigned by reference in C:\\xampp\\htdocs\\club\\templates\\[b]gk_news\\lib\\framework\\helper.cache.php on line 102[/b]

[Wed May 03 08:48:57.900400 2017] [php7:notice] [pid 660:tid 1552] [client ::1:3608] PHP Notice: Only variables should be assigned by reference in C:\\xampp\\htdocs\\club\\templates\\gk_news\\lib\\framework\\helper.cache.php on line 102

[Wed May 03 08:49:31.141400 2017] [php7:notice] [pid 660:tid 1568] [client 127.0.0.1:3614] PHP Notice: Only variables should be assigned by reference in C:\\xampp\\htdocs\\club\\templates\\gk_news\\lib\\framework\\helper.cache.php on line 102, referer: http://127.0.0.1/club/administrator/ind ... view=cache
User avatar
Senior Boarder

GK User
Thu May 04, 2017 2:48 pm
Two tries in xampp, with gavick quickstart news template and with my site:

1) Gavick quickstart news template:
Installed from scratch, Php7, joomla 3.7.0
- Template settings as 4.jpg: first and second load ok

With template settings as 3.jpg:
First page load ok, Second page load (see 5.jpg) and apache error log:

[Thu May 04 10:35:32.036350 2017] [php7:notice] [pid 4316:tid 1560] [client ::1:8091] PHP Notice: Only variables should be assigned by reference in C:\\xampp\\htdocs\\gavick\\templates\\gk_news\\lib\\framework\\helper.cache.php on line 102
[Thu May 04 10:35:47.092350 2017] [php7:notice] [pid 4316:tid 1584] [client ::1:8108] PHP Notice: Only variables should be assigned by reference in C:\\xampp\\htdocs\\gavick\\templates\\gk_news\\lib\\framework\\helper.cache.php on line 102
[Thu May 04 10:35:51.092350 2017] [php7:notice] [pid 4316:tid 1584] [client ::1:8108] PHP Notice: Only variables should be assigned by reference in C:\\xampp\\htdocs\\gavick\\templates\\gk_news\\lib\\framework\\helper.cache.php on line 102, referer: http://localhost/gavick/
[Thu May 04 10:36:42.993350 2017] [php7:notice] [pid 4316:tid 1544] [client ::1:8132] PHP Notice: Only variables should be assigned by reference in C:\\xampp\\htdocs\\gavick\\templates\\gk_news\\lib\\framework\\helper.cache.php on line 102, referer: http://localhost/gavick/

2) My site:
all site reinstalled (php 7 + joomla 3.6.5, joomla cache: file, progressive)
update to joomla 3.7.0, ok
first page load ok, second page load -> blank page

Template advanced settings (3.jpg)
Changing the settings (4.jpg) disabling all, first and second page load is ok.
User avatar
Senior Boarder

teitbite
Tue May 09, 2017 9:58 am
Hi

Those are just notices, no affect on functionality. It's showing since code was written for older PHP and latest PHP forces to use new programming standards. Such issues can be removed by simply disabling showing errors.

For the blank page it's important to rise error showing level to maximum till You will see the FATAL ERROR message leading to the problem.
User avatar
Moderator

GK User
Tue May 09, 2017 12:35 pm
php.ini -> error_reporting=E_ALL , first load of a page ok, second load blank page (joomla 3.7.0 & php 7)
apache error.log not showing anything

With joomla 3.6.5 & php 7 no problem
Template settings as the images reported.
User avatar
Senior Boarder

teitbite
Sun May 14, 2017 10:51 am
Hi

I will need to ask You to move the site to an online server and send me an access to FTP and joomla panel so I'll be able to run some tests myself. None of the mentioned errors can lead to a blank page, so it has to be something else and I'll try to figure out what.
User avatar
Moderator

GK User
Thu May 18, 2017 8:15 pm
Hi ! Yesterday was published Joomla 3.7.1. Today I upgrade to 3.7.1, and the problem is solved.
Thanks for your help, and excellent service.
Regard to all team of gavick.com
User avatar
Senior Boarder

teitbite
Fri May 19, 2017 11:19 am
Hi

Ok, great to hear that. Looks like it was joomla related than. Closing this thread now.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.