Jump to content

ChrisColeman

Member
  • Content count

    63
  • Joined

  • Last visited

Community Reputation

0 Neutral

Profile Information

  • Gender
    Male
  • Location
    Hereford

Recent Profile Visitors

2,781 profile views
  1. ChrisColeman

    Mobile Skins ..

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

    DB problem or is it ?

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

    Mobile Skins ..

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

    DB problem or is it ?

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

    Mobile Skins ..

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

    Mobile Skins ..

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

    Mobile Skins ..

    I was just wondering if there is anything 'built in" to cubecart which detects if user-agent is a mobile (ie. tablet, phone, etc.. ). I can do that my self but that would be pointless if its already present. Many Thanks, Chris Coleman.
  8. ChrisColeman

    Link to Customer Account

    deja vu all over again?
  9. ChrisColeman

    PHP 7 and Print Order Problem ..

    Yes - I did a bit of digging araound, I hope this is not too far off topic but figured it might be useful to someone .. By the way thanks to IAN for pointing me in the right direction on this, I have my own server and considerable experience in the computer industry but only a litte with Linux or Apache, anything I know about Linux has been self taught over the last 6 years or so, it never occurred to me that PHP handlers could be changed .. Only one version of PHP can be configured with the DSO handler, and unlimited versions can run with SU, but I need to run multiple versions in order to support some old websites (CubeCart and Others).. The old websites require the DSO handler, or cannot easily use the SU handler . CubeCart installed on a server running DSO will not transfer to a server running SU (again not easilly), maybe if I ran an upgrade on a CubeCart 6 version after moving it to SU that would solve the problem - I dont know ? Anyway CubeCart installed on a server already running SU seems to install correctly. So my best option is to, Backup the databases of my 3 cubecart 6 sites. Delete the CubeCart 6 folders from the server Switch those sites to SU (PHP 7) Reinstall CubeCart on those sites, any associated mods and DB Delete the setup directory Actually about an hours work/site so if I do site by site not a big deal. By the way I noticed something else - If you try to recover a PHP DSO site to a PHP SU site - you'll get lots of permission errors . Chris.
  10. ChrisColeman

    PHP 7 and Print Order Problem ..

    Hi, thanks to Ian - I can now see the problem .. The handler for php 7 changed to PHPSU, before it was DSO. One question, can I just change the handler, or would it be better to go with PHPSU and solve any problems as they present .. Of course another option would be to reinstall all of my CubeCart sites using a database backup and PHPSU, I guess that would fix it? Thanks, Chris.
  11. Hi, after upgrading my server to PHP 7 I cannot print orders .. I receive a server 500 error .. In the php error log I can see - Which is a bit strange because the printfile is alive and well in exactly the same location, ie. it just will not print. I can luckily switch back to PHP (5.6) fairly easily. But still I cannot print the file (funny it used to work), so I delete the print file which was left behind by PHP 7, and try to print again - This time success. Any ideas - I would like to upgrade PHP on all 6or7 cubecart sites I am running. Many Thanks. Chris Coleman.
  12. ChrisColeman

    Link to Customer Account

    So does someone know the answer ? Or not ? Chris.
  13. ChrisColeman

    Checkout Question

    No problem, I can wait I have implemented my own solution using SMARTY but would like something better because have multiple stores to support, and because I have to present an ambiguous message to users. Just to reiterate .. As mentioned above maybe a new Hook is possible. The problem occurs because when the PHP code returns 'no address available' it does so even is there are addresses in the address book, if none of those is designated as a billing address. If I had a HOOK I could return some thing different like 'There are address(s) in the address book but none are designated as the billing address' or just ''There are no addresses in the address book", appropriately. Currently in both sets of circumstances the user is redirected to 'add a new address'. Chris.
  14. ChrisColeman

    Checkout Question

    Anybody there ?
  15. ChrisColeman

    Link to Customer Account

    When I define an administrator I see 'Link to Customer Account', why would I wish to link to a customer's account , or should it be Administrator's account, and even then what would be the reason to do that ? Thanks and Regards, ChrisColeman.
×