Lots of errors in error_log from server..

Professional Jomal template designed to be easily adaptable to all kinds of business
GK User
Sat Jul 17, 2010 1:06 pm
Hi, I have been getting loads of errors coming through on my error_log..

For example -

Notice: Undefined index: additional_class in /var/www/html/templates/gk_corporate2/html/modules.php on line 37


It's happening over and over again -

[Sat Jul 17 12:49:46 2010] [error] [client 80.45.41.54] PHP Notice: Undefined index: additional_class in /var/www/html/templates/gk_corporate2/html/modules.php on line 37, referer: http://www.vitaloximeters.co.uk/your-ac ... ount.index
[Sat Jul 17 12:49:46 2010] [error] [client 80.45.41.54] PHP Notice: Undefined index: additional_class in /var/www/html/templates/gk_corporate2/html/modules.php on line 37, referer: http://www.vitaloximeters.co.uk/your-ac ... ount.index



There are also some fails regarding virtuemart (I'm aware gavick will not support this, but just providing the info in case it has an impact and can help find a solution) -

Notice: Undefined index: product_id in /var/www/html/components/com_virtuemart/router.php on line 55, referer: http://www.vitaloximeters.co.uk/product ... lseox-5500
[Sat Jul 17 12:41:34 2010] [error] [client 80.45.41.54] PHP Notice: Undefined index: product_id in /var/www/html/components/com_virtuemart/router.php on line 55, referer: http://www.vitaloximeters.co.uk/index.p ... Itemid=233
[Sat Jul 17 12:41:37 2010] [error] [client 80.45.41.54] PHP Notice: Undefined index: product_id in /var/www/html/components/com_virtuemart/router.php on line 55, referer: http://www.vitaloximeters.co.uk/product ... -oximeters

Are these important?

A few more errors possibly template based?:

[Sat Jul 17 12:39:28 2010] [error] [client 80.45.41.54] File does not exist: /home/virtual/site206/fst/var/www/html/templates/gk_corporate2/css/images, referer: http://www.vitaloximeters.co.uk/index.p ... Itemid=233
[Sat Jul 17 12:39:31 2010] [error] [client 80.45.41.54] File does not exist: /home/virtual/site206/fst/var/www/html/templates/gk_corporate2/css/images, referer: http://www.vitaloximeters.co.uk/index.php


Is this a problem with the template? Or have I done something wrong? I'm having a lot of trouble getting barclaycard payments to work on the template, and just wondering if any of these errors are the culprit? I have attached the full error_log (5 pages or so)....Please if you could take a look, that would be great.

Olly.
User avatar
Junior Boarder

GK User
Sat Jul 17, 2010 5:40 pm
Are you sure your configuration.php data are correct? Check it.

Are mysql running on your server?
User avatar
Senior Boarder

GK User
Sat Jul 17, 2010 8:21 pm
Thanks for taking the time to reply cubells, I will check and get back to you. It seems to be 3 different files which are causing the errors...router.php modules.php and barkalays_notify.php <--- this is for payment processing, and what I'm trying to install at the moment.

Anyway, will post back my findings on your Q's....thanks again, gives me something to check
User avatar
Junior Boarder

GK User
Sun Jul 18, 2010 6:01 am
I think you have a bad installation of joomla or a bad configuration.php file that causes your problems. I think your poblem it isn't these files.
User avatar
Senior Boarder

GK User
Sun Jul 18, 2010 1:57 pm
Here is the configuration file, I can't see anything wrong straight away..Should var "live site" be empty?


[REMOVED config details for site security]
User avatar
Junior Boarder

GK User
Sun Jul 18, 2010 4:46 pm
If you modify

var $sef = '1';
var $sef_rewrite = '1';

to

var $sef = '0';
var $sef_rewrite = '0';

What happens?
User avatar
Senior Boarder

GK User
Sun Jul 18, 2010 5:01 pm
@fewleh

I think the error messages of error_log are no important. You have enabled a high level error at your php.ini.

I can browse your web without problem.
User avatar
Senior Boarder

GK User
Sun Jul 18, 2010 5:07 pm
Hi Cubells, thanks, I have just been told by another person too that I have very high setting for error reporting, and they are not really errors, just notifications. Thanks for taking the time to reply,

Cheers
User avatar
Junior Boarder

GK User
Tue Jul 20, 2010 12:22 am
If you don't have access to php.ini file, PHP notices and warnings may be turned off by adding the following code within a websites .htaccess file

Code: Select all
php_flag display_errors off
User avatar
Platinum Boarder


cron