11
sailjapan
Re: kshop blank page.

This has to be a server problem. If it works then doesn't work, on and off like that...

Ask your host to look into the problem.
Never let a man who does not believe something can be done, talk to a man that is doing it.

12
raymia
Re: kshop blank page.
  • 2008/11/26 15:26

  • raymia

  • Quite a regular

  • Posts: 221

  • Since: 2008/8/25


okay will ask them soon.

//For Kshop Header
$xoopsTpl->assign('carttotal', BuildPrice($CART->chkwhichPrice()));

this is the problem i get.

13
stefan88
Re: kshop blank page.
  • 2008/11/26 15:41

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Quote:
$xoopsTpl->assign('carttotal', BuildPrice($CART->chkwhichPrice()));

this is what i get from debug mode.


Hi,

I didn't mean XOOPS debug. It is VERY usefull XOOPS option, but can't solve all problems. I mean web server and php logs (also error logs as they usualy are in diferent files)

Your problem could be not enough memory for PHP. But if it is, there will be a message in the logs. It could be also something else.
..

14
raymia
Re: kshop blank page.
  • 2008/11/27 12:28

  • raymia

  • Quite a regular

  • Posts: 221

  • Since: 2008/8/25


i have an errorlog.

[27-Nov-2008 04:20:37] PHP Fatal error: Call to a member function chkwhichPrice() on a non-object in /home/janarend/public_html/modules/kshop/index.php on line 42

hope it helps. this happened to me a couple of times. 6 times today but this time it's only the admin that can't enter the shop

15
raymia
Re: kshop blank page.
  • 2008/11/28 8:18

  • raymia

  • Quite a regular

  • Posts: 221

  • Since: 2008/8/25


Found an solution. i think

16
raymia
Re: kshop blank page.
  • 2008/11/28 8:21

  • raymia

  • Quite a regular

  • Posts: 221

  • Since: 2008/8/25


in header.php at line 37:

Quote:
change this:
if ((!isset($_SESSION['kshopcart'])) && (isset($_COOKIE['kscart']))){
$CART = unserialize($CART);


to this:
Quote:
if ((!isset($_SESSION['kshopcart'])) && (isset($_COOKIE['kscart']))){
$CART = stripslashes($_COOKIE['kscart']);
$CART = unserialize($CART);

Login

Who's Online

352 user(s) are online (269 user(s) are browsing Support Forums)


Members: 0


Guests: 352


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits