Error Messages

Feel free to talk about everything related to our Joomla Products
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
Mon Oct 14, 2013 6:04 am
Can anyone tell me if the error messages I'm seeing in these two sites are just a matter of updating the templates or am I looking at a bigger issue here... one site is j1.5 the other is j2.5

http://forestglenbaseball.com/ - J1.5
http://forestglenbaseball.com/ - J2.5

Any help here is appreciated.
User avatar
Fresh Boarder

teitbite
Tue Oct 15, 2013 12:37 am
Hi

In both cases warning is created by advanced module manager, but this is not a crucial issue. Please simply disable showing errors on Your site in global configuration for server in joomla panel.
User avatar
Moderator

GK User
Tue Oct 15, 2013 2:49 am
Hi, thanks for the help here.

The advanced module manager is only located on one site - forestglenbaseball.com and I have disabled that plugin and that error message was removed however there are other error messages on this site...

Warning: Creating default object from empty value in /home/forestgl/public_html/modules/mod_k2_content/helper.php on line 314

and

Warning: Creating default object from empty value in /home/forestgl/public_html/components/com_k2/models/item.php on line 445

There are other errors as well here. Have a look at the Standings and Schedules module and any the Navigate this Site menu item as those pages show the errors.

For the cloud.hyperweb.ca/~tamfit site the advanced module manager is not present there and there are numerous other errors showing too. Have a look at the home page and you'll see them.

Hopefully you'll have more insight into these errors.
User avatar
Fresh Boarder

teitbite
Wed Oct 16, 2013 2:48 pm
Hi

Those are not errors, just messages. Mostly from not kept the standards of old php codding, but this is not a thread to a proper working of a site. Please simply set level of error showing to none in joomla global configuration for server. I believe Your server is more restrict for this kind of codding.
User avatar
Moderator

GK User
Thu Oct 17, 2013 6:05 am
I've previously changed the Error Reporting to None in Global Config but the error messages still persist.

What did you mean by 'this is not a thread to a proper working of a site'?

Thanks again.
User avatar
Fresh Boarder

teitbite
Sat Oct 19, 2013 4:30 pm
Hi

I just meant that warnings are not errors and may be showing for example because of a different php version than module was created in, but is still working fine in both versions. If errors are still showing than You need to change the level directly in php.ini file.
User avatar
Moderator

GK User
Mon Oct 21, 2013 6:30 pm
Thanks for this. It helped. I found the exact lines of code to enter into the php.ini file for the forestglen site and that worked - no more error messages there.

The other site however has no php.ini file. When I checked the configuration settings in joomla it says my php.ini file is located in /usr/local/lib/php.ink - but there is no such folder.

Any other thoughts on how I can manually turn off the errors on this site?

Thanks
User avatar
Fresh Boarder

teitbite
Tue Oct 22, 2013 8:13 pm
Hi

Please try edit /layout/default.php and add this line on top of this file right after "<?php" sign.

Code: Select all
error_reporting(0);
User avatar
Moderator

GK User
Tue Oct 22, 2013 9:08 pm
Awesome, that worked.

In the long run here is this an adequate solution?

Thanks for all you help
User avatar
Fresh Boarder

teitbite
Thu Oct 24, 2013 9:42 pm
Hi

Yes disabling showing errors when site is ready is what joomla creators advice. Joomla can be using multiple modules and not all have to be compatible with the PHP syntax joomla is written so some of the warnings may appear because of this problems.
User avatar
Moderator

GK User
Sat Nov 09, 2013 7:44 pm
Thanks for the help on those two sites. All your recommendations worked for those sites however I have a similar situation with another gk template site... Black and White.

I have implemented all your recommendations thus far for this site but nothing seems to be working here...

In the php.ini file I have display_errors = off added in.
In the /layouts/default.php I have added the code error_reporting(0); after the opening <?php tag

Here is the site at issue: http://mylineconstruction.com/

Very much appreciate your help on this site as well.

Thanks
User avatar
Fresh Boarder

teitbite
Mon Nov 11, 2013 4:14 pm
Hi

In case of this last site problem is that Your settings must not be working. "Strict Standards" values are only possible to see if the error reporting level is set to highest, so clearly this rule has to be overrided somewhere. Please ask Your host provider about the ways (and places) to override php.ini than check and and try to change it.
User avatar
Moderator


cron