Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Strange bug with index.php rest of shop runs fine


Stephan (VS)

Recommended Posts

This is a post relating to Index.php , Undefined index: profile , Undefined variable: divide_subart , Undefined variable: numer , Undefined variable: hasDecimals , Undefined variable: output.

 

Basically The entire site works perfectly except my main page, Index.php.

Everything works and is displaying correctly except for "notice:" notices everywhere.

(This is only on base index, when I go into a category like hardware, it stops giving Notice: messages)

 

For example, "New Products" starts off with the errors below, but underneath them the pics, product name & price is fine.

(There are 9 "Sets" of errors, 1 for each product)

 

Notice: Undefined variable: numer in /var/www/vhosts/v-s.co.za/httpdocs/home/includes/classes/currencies.php on line 41

Notice: Undefined variable: hasDecimals in /var/www/vhosts/v-s.co.za/httpdocs/home/includes/classes/currencies.php on line 45

 

Notice: Undefined variable: text_watermark in /var/www/vhosts/v-s.co.za/httpdocs/home/includes/classes/oscthumb.php on line 230

Notice: Undefined variable: image_watermark in /var/www/vhosts/v-s.co.za/httpdocs/home/includes/classes/oscthumb.php on line 235

 

Notice: Undefined variable: bevel in /var/www/vhosts/v-s.co.za/httpdocs/home/includes/classes/oscthumb.php on line 238

Notice: Undefined variable: frame in /var/www/vhosts/v-s.co.za/httpdocs/home/includes/classes/oscthumb.php on line 241

 

Notice: Undefined variable: params in /var/www/vhosts/v-s.co.za/httpdocs/home/includes/classes/oscthumb.php on line 255

 

Notice: Undefined variable: numer in /var/www/vhosts/v-s.co.za/httpdocs/home/includes/classes/currencies.php on line 41

Notice: Undefined variable: hasDecimals in /var/www/vhosts/v-s.co.za/httpdocs/home/includes/classes/currencies.php on line 45

 

Notice: Undefined variable: numer in /var/www/vhosts/v-s.co.za/httpdocs/home/includes/classes/currencies.php on line 41

Notice: Undefined variable: hasDecimals in /var/www/vhosts/v-s.co.za/httpdocs/home/includes/classes/currencies.php on line 45

 

Notice: Undefined variable: numer in /var/www/vhosts/v-s.co.za/httpdocs/home/includes/classes/currencies.php on line 41

Notice: Undefined variable: hasDecimals in /var/www/vhosts/v-s.co.za/httpdocs/home/includes/classes/currencies.php on line 45

 

Notice: Undefined variable: numer in /var/www/vhosts/v-s.co.za/httpdocs/home/includes/classes/currencies.php on line 41

Notice: Undefined variable: hasDecimals in /var/www/vhosts/v-s.co.za/httpdocs/home/includes/classes/currencies.php on line 45

 

Notice: Undefined variable: numer in /var/www/vhosts/v-s.co.za/httpdocs/home/includes/classes/currencies.php on line 41

Notice: Undefined variable: hasDecimals in /var/www/vhosts/v-s.co.za/httpdocs/home/includes/classes/currencies.php on line 45

 

Notice: Undefined variable: numer in /var/www/vhosts/v-s.co.za/httpdocs/home/includes/classes/currencies.php on line 41

Notice: Undefined variable: hasDecimals in /var/www/vhosts/v-s.co.za/httpdocs/home/includes/classes/currencies.php on line 45

 

Notice: Undefined variable: numer in /var/www/vhosts/v-s.co.za/httpdocs/home/includes/classes/currencies.php on line 41

Notice: Undefined variable: hasDecimals in /var/www/vhosts/v-s.co.za/httpdocs/home/includes/classes/currencies.php on line 45

 

Notice: Undefined variable: numer in /var/www/vhosts/v-s.co.za/httpdocs/home/includes/classes/currencies.php on line 41

Notice: Undefined variable: hasDecimals in /var/www/vhosts/v-s.co.za/httpdocs/home/includes/classes/currencies.php on line 45

 

This is only in the follow areas (In this order)

Inside the New Products Box, (Above Products displayed: "Notice: Undefined variable: numer")

Column Right, (Under Shopping Cart: "Notice: Undefined variable: numer")

Application Bottom, (very Last 2 Lines on page: "Notice: Undefined index: profile")

 

Everything points to my index.php but for the life of me I can't find it.

Any help is appreciated.

"I have no special talent. I am only passionately curious"

- Albert Einstein

Link to comment
Share on other sites

Everything points to my index.php but for the life of me I can't find it.

Any help is appreciated.

 

Looks to me like some addon has reset error_reporting to something like E_ALL.

 

It may help you to install KissER which would manage error reporting for you. Errors can be suppressed but you really should deal with them.

Link to comment
Share on other sites

It may help you to install KissER which would manage error reporting for you. Errors can be suppressed but you really should deal with them.

Thanks For the tip, will install and post asap,

 

I think it was when I turned on GZip in my one addon "Auto Backup", the site went AWAL immediately after that...

 

EDIT: I also noticed just now a LOT of permissions went into lockdown, bigfun there

"I have no special talent. I am only passionately curious"

- Albert Einstein

Link to comment
Share on other sites

Thanks For the tip, will install and post asap,

 

:o*Blinks*:o

 

Wow, Ok, you weren't kidding on the

" osCommerce installations have tons of errors but the owners of the sites are happily ignorant of this fact."

 

Thanks again to FWR Media!

"I have no special talent. I am only passionately curious"

- Albert Einstein

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...