Jump to content

ChrisColeman

Member
  • Posts

    105
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Hereford

Recent Profile Visitors

5,250 profile views

ChrisColeman's Achievements

Newbie

Newbie (1/14)

  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • Week One Done Rare
  • One Month Later Rare

Recent Badges

0

Reputation

  1. CubeCart 6.4.4, recently upgraded. When we change/add a product the changes do not show unless we go to the maintenance section and manually 'Clear Cache', is this an issue or is it supposed to be like that ? Also since the upgrade the Clear Cache at right hand top of window has disappeared, but I guess that was planned? Chris.
  2. Ok got it - // Can use 1 or 0 as boolean in smarty .. !empty($GLOBALS['session']->session_data["customer_id"])?1:0; Thanks (me), Chris.
  3. Hi CubeCart People, hopefully simple question .. I'm changing the contact form on a site so user has to be logged-in to use it - this because a lobotomized BOT has gotten hold of the form and is sending just a few unsavory messages every day to site-admin. Well we don't see it as a big deal to force users to login before using the contact form, but how do I determine if a user is logged in (or not), or to put it another way if a login session is active ? For your info I will use hook: class.cubecart.contact to send different content when the user is not logged in. Thanks and Regards, ChrisColeman.
  4. What about - "Please note that it is only possible to restore the database if every option is selected aside from compression, which is always optional but recommended".
  5. Hi, just upgrading a store using the UPGRADE button rather than the manual option that I normally use. On doing the backup there is a caveat which states - "Please note that it is only possible to restore the database if every option is selected aside from compression". Does this mean that if the compression option is selected the database will not restore, I guess it doesn't but that's what it states ? Chris.
  6. Hi - possibly following a cache refresh or site map regeneration I found the DB had changed but the contact path had become 'contact-us-c', which I edited to 'contact-us'' and now all good. Many Thanks.
  7. Hi, I already have rewritebase set correctly - Cannot see anything in any logs. Since this is just a test system I'm not too bothered but will try on a production system probably tomorrow. One thing strange is that it worked as it should before I removed the old V3 contact plugin. I don't know if this is correct - In the seo-urls table I have path( contact-us ), type(doc), item-id(2), could that have incorrectly migrated from the old system ? Thanks.
  8. Hi, I get a 404 error, look here on a test site - https://www.herefordcomputers.com/janetgoodrickminiatures/contact-us.html Chris.
  9. Hi, when upgrading from V4 store(s), which do not have a built in contact form I have experienced the following problem .. The migration also migrates the old contact form, but I want to use the new one so i delete the old one and activate the new one. then the new one will not show .. I can get around it by doing something likethis in my .htaccess, but I'm pretty certain that should not be necessary ? ## Could not get contact form to work without this - RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule contact-us.html?$ index.php?_a=contact [NC] Help .. Regards, ChrisColeman.
  10. Ok a simple follow up .. Maybe I have a set of variables for a mobile platform, which I need to send to each HTML page. I would like to be able to pass the $_SESSION data between pages (server side) and normally (?) I would use $_SESSION to do that. Maybe I'll use SMARTY to extract the data and send to the page - infact definately I would use SMARTY so I need to be able to get/set the $_SESSION variable within the plugins/hooks system with which I am familiar. How would I hande the $_SESSION array in CubeCart, I'm guessing that its not so complicated but rather than diving into the CubeCart code and then maybe coming up with the wrong answer would appretiate some 'inside info'. Thank You - No Rush - I'm taking a breather until the New Year. Chris.
  11. Ok thats great. I guess i'll leave it until I have more time, then I'll take another look at fixing the missing keys - Not a big deal at the moment as everything is running fine and a lot of spare capacity on the server .. Thank You, Chris.
  12. Yes I think that might just do it ... Oh by the way can i use $_SESSION variables to store variables or does CubeCart have a different methodology? Many Thanks, Chris.
  13. Hi, I recently upgraded a store (6.1.11 to 6.1.13) which is now using PHP Version 7.0.26, it is running well, taking orders and nothing bad showing in the logs. But I recently looked in the 'database maintenance' section and see the following for many of the tables, any ideas - Thanks in Advance - Chris.
  14. Ok well perhaps that was not a good example, what if I wanted to display a different navigation on handheld devices, nothing to do with the width of the platform just a different 'look & feel' ? Chris.
  15. Yes I guess, but media queries can give the size but not the platform. There is a 'handheld' media type but thats rarely usefull because the mobile user-agents rarely use it. If for example I wished to change text size on parts of the page but only on handhelds it is difficult using media queries.. Chris.
×
×
  • Create New...