Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problems with shopping cart


zrodi

Recommended Posts

Posted

Hello,

 

my name is Zoran. Warm regards to all Osc comunity from Croatia!

 

I have a problem, i used search, and i can't find anything that would solve my problem. I have osc shop running for about 1 year now. I did'nt have any problems, everything was working fine. We had some problems with spyware and viruses, and i hat to change server password. Then all hell break loose, and everything stoped to work. I did manage to put everything back online, but now i have a problem with shopping cart. When i click on shopping card my page is white. When i put items in shopping card, page is white, but the items go into basket. If i press on shopping basket, everything that i clicked on to put in, is in, and i can make order. I just can't get that shopping card to show.

 

The shop is on this adress, www.autoprocentar.hr/catalog please can someone help me , i don't get any error in browser, just white page.

 

My second problem is coming from error log, all of my pictures are there, my pop up pictures are showing, my thums are working and i'm getting this error in error log :

 

[27-Apr-2009 04:28:17] PHP Warning:  Division by zero in /home/autoproc/public_html/catalog/makethumb.php on line 156
[27-Apr-2009 04:28:17] PHP Warning:  Division by zero in /home/autoproc/public_html/catalog/makethumb.php on line 158
[27-Apr-2009 04:28:17] PHP Warning:  imagecreate() [<a href='function.imagecreate'>function.imagecreate</a>]: Invalid image dimensions in  public_html/catalog/makethumb.php on line 167
[27-Apr-2009 04:28:17] PHP Warning:  imagecolorallocate(): supplied argument is not a valid Image resource in  public_html/catalog/makethumb.php on line 168
[27-Apr-2009 04:28:17] PHP Warning:  imagecolorallocate(): supplied argument is not a valid Image resource in  public_html/catalog/makethumb.php on line 169
[27-Apr-2009 04:28:17] PHP Warning:  imagefilledrectangle(): supplied argument is not a valid Image resource in  public_html/catalog/makethumb.php on line 170
[27-Apr-2009 04:28:17] PHP Warning:  imagestring(): supplied argument is not a valid Image resource in  public_html/catalog/makethumb.php on line 172
[27-Apr-2009 04:28:17] PHP Warning:  imagejpeg(): supplied argument is not a valid Image resource in  public_html/catalog/makethumb.php on line 173
[27-Apr-2009 04:28:17] PHP Warning:  imagedestroy(): supplied argument is not a valid Image resource in /home/autoproc/public_html/catalog/makethumb.php on line 174

 

Thanx everybody for help, and i hope i'm not too long for my first question.

 

Warm regards,

 

Zoran

Croatia

Posted

Please backup first . and you can try this

you can rename the file shopping_cart.php to --> cart.php

and replace define('FILENAME_SHOPPING_CART', 'shopping_cart.php'); to define('FILENAME_SHOPPING_CART', 'cart.php'); in file catalog/includes/filenames.php

bhavatmaj

Posted

Hi,

 

i try to do what bhavatmaj worte to do, but the situation is the same ! I did'nt get any results, my page is still blank with no error on it. Does anybody else know what should i do? Please help me.

 

Warm regards,

 

Zoran

Posted

Hello,

 

thanx for help, i work this out. I used from my old backup shopping card file, and everything is working again!

 

Please does anybody know why am i getting this error in error log :

 

[27-Apr-2009 04:28:17] PHP Warning:  Division by zero in /home/autoproc/public_html/catalog/makethumb.php on line 156
[27-Apr-2009 04:28:17] PHP Warning:  Division by zero in /home/autoproc/public_html/catalog/makethumb.php on line 158
[27-Apr-2009 04:28:17] PHP Warning:  imagecreate() [<a href='function.imagecreate'>function.imagecreate</a>]: Invalid image dimensions in  public_html/catalog/makethumb.php on line 167
[27-Apr-2009 04:28:17] PHP Warning:  imagecolorallocate(): supplied argument is not a valid Image resource in  public_html/catalog/makethumb.php on line 168
[27-Apr-2009 04:28:17] PHP Warning:  imagecolorallocate(): supplied argument is not a valid Image resource in  public_html/catalog/makethumb.php on line 169
[27-Apr-2009 04:28:17] PHP Warning:  imagefilledrectangle(): supplied argument is not a valid Image resource in  public_html/catalog/makethumb.php on line 170
[27-Apr-2009 04:28:17] PHP Warning:  imagestring(): supplied argument is not a valid Image resource in  public_html/catalog/makethumb.php on line 172
[27-Apr-2009 04:28:17] PHP Warning:  imagejpeg(): supplied argument is not a valid Image resource in  public_html/catalog/makethumb.php on line 173
[27-Apr-2009 04:28:17] PHP Warning:  imagedestroy(): supplied argument is not a valid Image resource in /home/autoproc/public_html/catalog/makethumb.php on line 174

 

My thumbs are working, my big pictures are working and i'm getting this error for makethumb.php . Does anybody know what is causing this problem?

 

Warm regards,

 

Zoran

Archived

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

×
×
  • Create New...