[CubeCart] Error in cc_session.php

Technical difficulties? Ask for help here.

[CubeCart] Error in cc_session.php

Postby silvervanman » Wed Sep 14, 2011 1:00 pm

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 56

line 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?
silvervanman
 
Posts: 6
Joined: Wed Sep 14, 2011 12:13 pm

Re: [CubeCart] Error in cc_session.php

Postby ~J~ » Wed Sep 14, 2011 1:16 pm

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.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1055
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: [CubeCart] Error in cc_session.php

Postby silvervanman » Wed Sep 14, 2011 3:16 pm

thx for the reply - PM sent
silvervanman
 
Posts: 6
Joined: Wed Sep 14, 2011 12:13 pm

Re: [CubeCart] Error in cc_session.php

Postby ~J~ » Wed Sep 14, 2011 4:13 pm

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.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1055
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: [CubeCart] Error in cc_session.php

Postby silvervanman » Wed Sep 14, 2011 11:51 pm

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-1

Also, 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-candle

Can you help, please.
Appreciate your support.
silvervanman
 
Posts: 6
Joined: Wed Sep 14, 2011 12:13 pm

Re: [CubeCart] Error in cc_session.php

Postby njgreen1984 » Thu Sep 15, 2011 12:42 am

I would also be interested to know how to go about making these updates...
njgreen1984
 
Posts: 6
Joined: Wed Sep 14, 2011 6:53 am

Re: [CubeCart] Error in cc_session.php

Postby ~J~ » Thu Sep 15, 2011 4:03 am

silvervanman wrote: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-1


There is no way how to do it. It has to be there in order to provide all smart features and catch all requests.

silvervanman wrote:Also, 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-candle


Please set uri_mode to "normal" in include/msu_tweak.ini file.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1055
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: [CubeCart] Error in cc_session.php

Postby silvervanman » Thu Sep 15, 2011 4:26 am

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
silvervanman
 
Posts: 6
Joined: Wed Sep 14, 2011 12:13 pm

Re: [CubeCart] Error in cc_session.php

Postby ~J~ » Thu Sep 15, 2011 4:36 am

Please post us step-by-step instructions how to reproduce the problem on your site.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1055
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: [CubeCart] Error in cc_session.php

Postby silvervanman » Thu Sep 15, 2011 4:50 am

1) go to: http://www.lily-flame.co.uk/
2) look at bottom of page
silvervanman
 
Posts: 6
Joined: Wed Sep 14, 2011 12:13 pm

Next

Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 2 guests