Page 1 of 2
[CubeCart] Error in cc_session.php
Posted: Wed Sep 14, 2011 2:00 pm
by silvervanman
Hello,
have just installed the MagicSEO module in CubeCart version 4.3.8. Have followed all instructions carefully but am getting the following error:-
Fatal error: Call to a member function mySQLSafe() on a non-object in /home/sites/lily-flame.co.uk/public_html/classes/session/cc_session.php on line 56line 56 of cc_session.php looks like this:
Code: Select all
## see if session is still in db
$query = sprintf("SELECT sessId FROM %sCubeCart_sessions WHERE sessId=%s", $this->glob['dbprefix'], $this->db->mySQLSafe($GLOBALS[CC_SESSION_NAME]));
Can you advise please?
Re: [CubeCart] Error in cc_session.php
Posted: Wed Sep 14, 2011 2:16 pm
by inveo
It is hard to tell what is wrong with this file without seeing its complete content.
I would suggest you you to start editing files from scratch. If this dos not help, then please PM me your FTP credentials and I will take a look.
Re: [CubeCart] Error in cc_session.php
Posted: Wed Sep 14, 2011 4:16 pm
by silvervanman
thx for the reply - PM sent
Re: [CubeCart] Error in cc_session.php
Posted: Wed Sep 14, 2011 5:13 pm
by inveo
There was a problem with your skins/lily-flame/php/ajaxCart.php file. This file is encrypted so we made a work around inside classes/session/cc_session.php file.
Now you can complete the installation process which is not yet finished.
Re: [CubeCart] Error in cc_session.php
Posted: Thu Sep 15, 2011 12:51 am
by silvervanman
Now installed and working but can you tell me how to remove the trailing number from the URL's?
eg.
http://www.lily-flame.co.uk/scented-tins-2/eg.
http://www.lily-flame.co.uk/bathing-bea ... d-candle-1Also, I would like the name of the category to appear before the name of the product as follows:-
http://www.lily-flame.co.uk/scented-tin ... ted-candleCan you help, please.
Appreciate your support.
Re: [CubeCart] Error in cc_session.php
Posted: Thu Sep 15, 2011 1:42 am
by njgreen1984
I would also be interested to know how to go about making these updates...
Re: [CubeCart] Error in cc_session.php
Posted: Thu Sep 15, 2011 5:03 am
by inveo
There is no way how to do it. It has to be there in order to provide all smart features and catch all requests.
Please set uri_mode to "normal" in include/msu_tweak.ini file.
Re: [CubeCart] Error in cc_session.php
Posted: Thu Sep 15, 2011 5:26 am
by silvervanman
I still have following error on home page
Fatal error: Call to a member function mySQLSafe() on a non-object in /home/sites/lily-flame.co.uk/public_html/classes/session/cc_session.php on line 56
Re: [CubeCart] Error in cc_session.php
Posted: Thu Sep 15, 2011 5:36 am
by inveo
Please post us step-by-step instructions how to reproduce the problem on your site.
Re: [CubeCart] Error in cc_session.php
Posted: Thu Sep 15, 2011 5:50 am
by silvervanman
1) go to:
http://www.lily-flame.co.uk/2) look at bottom of page