Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by ChrisColeman

  1. I keep on seeing in my error log, is it critical - Thanks ...
  2. Just a suggestion - In the admin skin is a section 'ccpower.php' which contains - <div class="powered">eCommerce by <a href="http://www.cubecart.com">CubeCart</a></div> I have changed it to - <div class="powered">eCommerce by <a href="https://www.cubecart.com">CubeCart</a></div> Now I dont receive a browser warning about insecure content when using Admin. Regards.
  3. Ok, MY problem is as stated - Image directories were being renamed in filemanager but the changes did not occur in the database & the actual directories were also not renamed , which prevents population of the image index during upgrade. The only way to solve that was to re-associate images with products - A big job if you have a lot of products or images. This was the solution - Tested successfully but not guaranteed, there's bound to be a few caveats (). Run it from your store's root directory (worked for me but no guarantees ) - Attached - renameDirectories.php
  4. Hi, just ran the test again on a UNIX server and windows server (no server timeout messages on either) but same result on both .. V6 CubeCart - 1) Filepath in new Cubecart_Filemanager = "perfume bottles/" <- Space is important and possibly incorrect ... 2) Actual image source directory following upgrade in V6 Cubecart = ''perfume bottles" <- Space is important and possibly incorrect ... 3) The strange part (in filemanager the directory names appear with underscores), therefore when creating the image index and updating the cache during an upgrade the image index is not created for products using directories which include an a space. What I'm looking for is a solution otherwise will need to manually reinsert over 1000 images in at least 2 stores .. I might just change the original store backup and SQL unless there is a simpler solution. Many Thanks, Chris.
  5. Hi, just upgrading a store from V4. This store has arround 2,000 images in filemanager. The store's administrators have over the years put their images in various folders (eg. 2017 Chrismas Images, 2017 Other Images, etc. ), whats happening or should I say 'not happening' is that images in some folders are not being being migrated. I can see that in filemanager the images are there but two anomolies appear to have occurred - 1) In admin/filemanager the directory names no longer contain spaces but instead have an underscore (eg. 2017_Chrismas_Images), whereas in the filemanager DB table (CubeCart_filemanager) the directory names are present with a space (eg. 2017 Chrismas Images). 2) In table CubeCart_Image_index those files do not appear (ie. during the migration it is not populated because filemanager cannot find the files?) .. My plan is to run the migration again but firstly to rename all of the folders with underscores instead of spaces, and to also edit the the CubeCart_filemanager to include underscores in its directory names .. This way the CubeCart_Image_index should be populated (at the moment its not populated ) ... I would appretiate your thoughts on this as there is more than one store to upgrade (or maybe theres a different reason ?) .. Thanks, 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. 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.
  11. 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
  12. 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.
  13. 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.
  14. https://www.mastercraftcycles.co.uk
  15. 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).
  16. 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.
  17. 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.
  18. 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 -
  19. 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.
  20. Many Thanks - Error log empty - Clocks are correct .. I changed mysql password .. Chris.
  21. 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.
  22. 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.
  • Create New...