ChrisColeman

Member
  • Content count

    55
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ChrisColeman

  • Birthday 11/05/1950

Contact Methods

  • Website URL
    http://www.herefordcomputers.com

Profile Information

  • Gender
    Male
  • Location
    Hereford

Recent Profile Visitors

2,401 profile views
  1. 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.
  2. 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.
  3. 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.
  4. Link to Customer Account

    So does someone know the answer ? Or not ? Chris.
  5. 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.
  6. Checkout Question

    Anybody there ?
  7. 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.
  8. Checkout Question

    Well I did consider changing the code - but I dont want to have to change it again each time CubeCart makes a new release (£$!?), also I have about 8 or 10 CubeCart stores to maintain, some quite old so I may have to multiply the above several times therefore need a satisfactory solution Well yes that is the crux of the problem - The return from the core code is ambiguous - There's a whole bunch of code in the foundation skin which is just unecessary but I think it was put there to get around the return from the core code; However there is possibly a different reason so I should not speculate on that. Happy Days .. Chris.
  9. Checkout Question

    Yes, thanks for the reply - anyway I found a way around my problem using SMARTY but its a bit messy .. Chris.
  10. Checkout Question

    Or maybe a HOOK ?
  11. Checkout Question

    If a user attemps to checkout without an address he/she is redirected as follows - Which is fine .. However if the user does have an address book but has not defined a defaut address he is still directed to httpredir('?_a=addressbook&action=add');, would it not be better in this case to , which could provide both edit and add options. Chris.
  12. Login Redirect ..

    Ok I guess that was a slightly misguided qestion - Anyway I worked it out so you can contine to ignore it - Or just delete it .. Many Thanks, Our scientific power has outrun our spiritual power. We have guided missiles and misguided men. Martin Luther King, Jr.
  13. Login Redirect ..

    Hi, when a customer logs in s/he is redirected to - _a=account, which I think is the foundation skin default . In the skin I am making there is a login tab on every page, but I do not want the users to be redirected to the accounts page when they login. I would like them to stay on the same page, ie. could be a catalog view, the homepage or just viewing a product. Can I set any uri in the smarty {$REDIRECT_TO} field or are there some limitations ... Thanks.
  14. ckeditor

    Hi Experts - I would like to add addition styles to CKeditor - I.E. to give store admin addition flexibility when adding products. Is it possible, has anyone done that ? Many Thanks.
  15. Exchange Rates

    Hi, question of interest, what source does CubeCart use in order to find the current exchange rates .. Thanks.