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

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

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

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

Cart  
(empty)

Cart Check out  »

Prices are tax inclusive.

The VAT rate for your country (US) * is 0,0 % because it is not a member of the European Union (EU).

* Please create an account if your country does not match.

Community feed
  • [Zen Cart] Can't execute Magic SEO URLs sitemaps
    I installed Magic SEO URLs Sitemaps Add-On for ZenCart MSU4.x/MSU5.x 2.0 on my server, when I try to generate sitemaps using: https://www.pechesudv155.owally.com/sitemaps.php I received :...
    by peter@pechesud.com
  • [phpBB3] Sharing users between phpBB / PrestaShop
    Hi i have 2 question 1- prestashop module support phpBB 3.3 ? 2- why we can not login in prestashop and phpbb with same user?
    by zohall
  • [phpBB3] AJAX Userinfo Extension
    Hi! I'm having trouble with this extension: https://www.phpbb.com/customise/db/exte ... _userinfo/ I tried asking support from the author but for no avail, since now. My request for support...
    by Lord Phobos
  • [phpBB3] Upgrade to phpBB 3.2.3
    Hello.. after Upgrade to phpBB 3.2.3 I am getting this message.. How can I solve this issue..? Thank you
    by ingbrzy
  • [phpBB3] URL path changed
    Hello.. I have changed my site path after moving to new hosting and now can not activate SEO module.. new path http://www.miuios.cz/domains/miuios.cz/ could you help me? thank you
    by ingbrzy2
Join our support forum » Pre-Sales Questions »
Featured Testimonials

Guys, thank you for all your support, you've been absolutely amazing! Please feel free to use this as a review on your website.

Veronica, the owner of Rave Kit

Magic SEO URLs for PrestaShop is amazing product, it help me a lot with SEO, and the customer service is very nice and patient! I will built a new website, and I will buy this module again.

Joseph, the owner of Focus Vows

More Testimonials »