Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by ChrisColeman

  1. 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.
  2. 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.
  3. Hi, I get a 404 error, look here on a test site - https://www.herefordcomputers.com/janetgoodrickminiatures/contact-us.html Chris.
  4. 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.
  5. Thanks for that, it did not address the problem directly but made me think the language file was incorrect, it was a V4 language file - problem solved - many thanks - Chris.
  6. Hi, When ever an order is submitted no email to ADMIN and 'The Customer. I see (exactly) the following in th error log - Any suggestions .. Many Thanks. CubeCart 6.2.5
  7. I now have a link that shows when there are items in the basket, and highlights when items are in the basket. I think its ok, but will look at it again, I'm using the same skin for anther website - just need to change a few colours, a little layout a few images and I'm there. Thanks to Cubecart for providing a consistant base and templating system. Chris.
  8. Yes true, I was thinking the same - but not sure how to handle that without using up too much space - thanks for the suggestion. Chris.
  9. https://www.mastercraftcycles.co.uk
  10. When setting up a newsletter one is presented with the option to use the default store 'email address' and 'senders name' .. If one has a mailbox on the server which is specifically used by Cubecart - eg. '[email protected]' this presents a problem because the replyto address defaults to '[email protected]' , would it not be better to change the replyto address to the default store 'email address' too ? Thanks.. (ps. there is a simple work-a-round by redirecting at the server but should that be necessary).
  11. Yes 'parsing' the custom variable in a SMARTY template (as you suggest) would be a way of avoiding unnecessary 'hooks'. Especially if a similar construct was used more than once in CONFIG.XML, which is already the case for myself. Although as you already concur the best solution is - Maybe that will happen in a future release ? Thank You, Chris.
  12. Hi, my server keeps telling me to upgrade mySQL . However there seems to be a particular constraint which has me slightly puzzled .. Will this effect me (I guess), and do you know which sqlMode should be chosen. I am a bit concerned about the effects of playing with the sqlMode on a running database, will my databases be corrupted? Many Thanks .. Chris.
  13. Each skin folder has an associated 'config.xml' that is used to define the 'characteristics' of the skin. In that 'config.xml' it is possible to pass custom variables to 'php or smarty', currently it is (I think) only possible to pass scalar custom variables therefore if one needs to pass a set of variables to a 'skin' it is necessary to use a lot of custom variables. I was just wondering if there is a way to pass an array, or more explicitly to pass an XML string which could easily be converted to an array and then passed to 'SMARTY or a 'hook' as an array (associative or numeric).. Chris. eg. I have a custom links section on a website, which is defined in the appropriate config.xml, and sure I can parse that in PHP to pass the required links to SMARTY - But if my config.xml would allow me to pass something like the following, then I would not need to parse the XML, CUBECART/XML would do it for me whilst reading the config.xml -
  14. I find it very useful to be able to pass variables using XML - eg. <name>value</name> I would find it even more useful if I could pass an array () - eg.. Is something like that possible ? There is a work around something like .. But thats obviously difficult to handle in PHP or Smarty. Thanks.
  15. Many Thanks - Error log empty - Clocks are correct .. I changed mysql password .. Chris.
  16. Well I run the server and I need to update mySql (to MariaDB) but cannot do that until several pretty old Cubecart Stores are upgraded ... Regarding the actual error message its probably not doing much harm except filling the logfiles, so i'll turn down the log rotation, complete CubeCart upgrades then update mySQL, and then fix the Time Zone. Many Thanks, ChrisColeman.
  17. Hi, just installed 6.2.4 and will upgrade 4 stores to the same and create a new one .. One problem - In system error log (many times) .. File: [controller.admin.pre_session.inc.php] Line: [24] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Is there a fix for this - don't want my clocks to be wrong ? Best Regards.
  18. Probably not because it works for other categories ..
  19. Hi, using the unmodified foundation skin and my own skin, sort is working as it should except for sale_items. In the case of sale_items (POST & GET) the $REQUEST parameters seem to be correct but the response is not. I always end up with a price(high -low) set of data ? Any advice on this? Many Thanks, Chris Coleman. (6.2.2)
  20. Hi, 1) Firstly I had the "Email address already subscribed. Continue if you wish to unsubscribe." , as a javascript alert, this is now ok and I can unsubscribe at this point, but it now gives the guest user a choice. 2) There was a problem with 'subscribed (registered) users' attempting to 'unsubscribe' in that a big red 'you are not subscribed to out mailing list' error message appeared, but that is solved (hacked). 3. So the issue is , link seems to be correct (/index.php?_a=newsletter&action=unsubscribe), but isn't doing what it should do? Actually it works in all circumstances except when used to unsubscribe a GUEST user, therefore if there was an unsubscribe URL which had an email address as part of the query sting I could use that instead, and use it as an unsubscribe link in newsletters. --- Note that newsletter issues appear to exist with the foundation skin too, but I'm tired so will check again tomorrow. There is something else I should tell you but as its a potential security issue maybe you can send me an email address ?? Chris.
  21. Hi, I have just about finished a new skin (and replaced foundation CSS with CSS media queries) . However I have a big issue making Newsletter un-subscriptions work. I have replaced the recaptcha code with my own (clearing up whatever was there before) and that works correctly whenever needed. I can make subscriptions work in all circumstances (user or guest), But I cannot seem to make unsubscribe work. I have seen other posts on this subject and wonder if the issue has been resolved. Chris.
  22. OK, the only way I could make this work is by inventing a new hook .. When the document is fetched by Smarty (At end of function getDocument in cubecart.class . ie. $contents['doc_content'] = ($contents['doc_parse']==1) ? $GLOBALS['smarty']->fetch('string:'.$contents['doc_content']) : $contents['doc_content']; there are no global smarty variables available to assign to the RAW document, therefore the SMARTY tags in the document are replaced with nothing. SO just before that I have included, foreach ($GLOBALS['hooks']->load('class.cubecart.document_source_parse') as $hook) include $hook; Which enables me to use smarty tags in documents (Store Name, Website URL, Address, Whatever). It would be nice if you guys (or girls) could make this hook permanent I guess it could be useful ? Regards Chris. ps. Am i wrong or did CubeCart once have this feature (cc2 || cc3) ? "
  23. Yes that looks about correct. And yes my above comment should be about general debug and not smarty debug (now corrected). I'll track the issue. Thank You..
  • Create New...