Jump to content

violinman

Member
  • Posts

    154
  • Joined

  • Last visited

Everything posted by violinman

  1. Hi Cubecart, I realise this issue has come up before. I have been with Paypoint for around 16 years, since it was SecPay and it is now Pay 360. I am having trouble with the Paypoint module on offer, it does not work for me. in fact it is missing some hidden fields which I have added to the index.tpl file, namely the mpi hidden fields which became required about 5 years ago, namely "mpi_merchant_url" "mpi_merchant_name" and "mpi_description" but surely these should be available in the admin, there are no instructions with the module, I really need some help with it. I have used my existing digest and remote keys and merchant user name. This is the response I get: ?valid=false&code=P:#&message=Token+decryption+error+:+possible+fraud+attempt&token=8852a8c2b71f251263136e981f000079&correct=false This web site is not live yet, hopefully this is the last hurdle before I go live! Could the fact that it is on a different server have any bearing on the matter? Many thanks, Brian
  2. Hello Brian, many thanks for that. out of desperation I had already set up a 301 redirect which is working fine. Would there be any advantage in changing it to the RewriteRule that you suggest? I appreciate you taking the time to reply.
  3. Hi Ayz1, I have seen that post but I have the URL, page name etc.. correct but it is still not working as it should. In fact having spent many hours on it I am now just using a 301 redirect from the dynamic page to the static page which of course works just fine!
  4. I think we probably have to wait for bsmither! I tried leaving off the first slash, then putting in the complete URL with the domain, I have not tried adding a trailing slash after the file name. Maybe I will try an entirely different domain. If that does not work it can only be a CubeCart or cache problem. Every time Cube Cart shows the dynamic document that has the link rather than the linked static page. Very frustrating!
  5. Could you give me an example perhaps? Brian
  6. Now I am baffled! up and down from root style?
  7. Thanks for your reply, I did try the full URL but no luck, the page I am linking to is on the same server and domain name. Does the Custom SEO URL Path need to be the same as the static page name? Thank you.
  8. Good morning, I have added a page to documents in order to link to an outside static page and have added the URL to the outside page and selected open URL in new window. The URL I have added is /test/test.html so that it is relative to CubeCart or should it have the full URL with domain name ? Anyway it does not work either way, when I call the document it is shown rather than the static page it should link to! Any suggestions please. Brian
  9. Hi Noodleman, I have printed out the article in question, it is certainly something I do need to learn how to do but it will be a week or two before I have time to have a go at it. For now I have saved a live CubeCart page as a static page and are making the alterations I need in there. Thanks for everyones advice. Brian
  10. Hi Barry or Brian, Thanks for that, I have spent too much time on this issue and it is probably not that important! I am going to just accept the 404 handling of the error. As far as I can see the guardian error handler will kick in for other errors such as 500 so that is ok. Please mark this post as resolved as it is a bit like looking down a rabbit hole! Thank you, Brian
  11. Thanks for your help, that is probably beyond my capabilities. I was not absolutely sure what you were suggesting. I am not a programmer so I do not know how to output a smarty variable to a hook or snippet. Brian
  12. This is the code, it is a much more sophisticated contact form that I have been using on my old site. <?php $contact_form = 1; // set desired form number. $contact_form_path = '/var/www/vhosts/mysite.com/httpdocs/contact-files/'; // set path to /contact-files/ with slash on end. require $contact_form_path . 'contact-form-run.php'; ?> Thank you.
  13. Thanks for your reply, is that the "Parse Smarty Tags" tick box? then presumably I need to learn a bit of Smarty to know which tags to use.
  14. I need to put some php code into a site document, do I just add it or does it need to be enclosed in certain tags. Many thanks, Brian
  15. That didn't work, I made the .htaccess file read only (CHMOD 444) having removed all reference to CubeCart error handler but still it uses it, I have tried with all sorts of different file names, testfile.html, error-file.html, it makes no difference which file. The only time guardian works is when I have removed the CubeCart SEO rewrite stuff from the .htaccess file, but then every page throws an error! in guardian!! Brian
  16. Hello, I think I have found the problem but not sure how to deal with it! As I explained I had removed all the lines in .htaccess that relate to the CubeCart error handler, in fact I removed all of the CubeCart specific stuff but when I open the store page it just writes it all back into the .htaccess file! How can I deal with that? Can I make the .htaccess file read only? Brian
  17. Hello, that is quite difficult as the site is not live as yet so the only way to reach it from the net is to add an entry to your hosts file so that you go to the correct site rather than the live site. Brian
  18. I don't quite follow that as I have removed the CubeCart error handling lines from the bottom of the .htaccess file and added the guardian error handler instead, guardian works some of the time. All of the 301 redirects perform correctly and show the correct CubeCart pages that correspond to the old URLs but if I call a nonexistent page the CubeCart 404 error page still shows, even though I now have guardian as my error handler? Very strange behaviour, I will have to keep looking. Brian
  19. I have removed the cubecart error handler lines from the .htaccess file as I want to use my own guardian error handler which I have added to the top of the file. The trouble is the default cubecart "404 - Page Not Found" still appears! I have cleared all caches. Do I also need to change some code somewhere in admin to suppress it? Many thanks, Brian
  20. Ok now working, I found a superb free 301 redirect generator that constructs the .htaccess code correctly, it will also do a batch convert which in my case was around 25 links. I also removed the START v4 SEO URL BACKWARD COMPATIBILITY rewrite rules as they seemed to be causing issues with the new ones. https://donatstudios.com/RewriteRule_Generator Brian
  21. I have spoken too soon, the .htaccess file is being used but when I test it hoping that the 301 redirect will work it somehow gets in a mess with seo stuff. In this example which throws a 404 error it has attempted to do a rewrite in that it has put the new page after the domain name but then also added the old page with seo_path in front! http://mysite.com/about-us.html?seo_path=page--about-us--profile I am trying with a different .htaccess file with nothing in it but the 301 redirect and a different error handler, it still shows the 404 cubecart error as well, even though I have removed the error handling lines from the .htaccess! What is going on ? is it a cache problem? I have cleared cubecart's caches numerous times. Brian
  22. Hi Ian, thank you for your reply. I have made some progress but it is not an easy fix. The 301 redirects are written correctly, the problem seems to be that the new server uses NGINX which no longer recognises the .htaccess file, all of the .htaccess file redirects etc.. now need to be in the NGIX server configuration directives section. That is fine but I suspect the mod_rewrite module is not running and I cannot find a way to check it. running phpinfo.php no longer has the modules section. Very frustrating! Brian
  23. I have setup several 301 redirects from my old site to the new site in the .htaccess file. The problem is they do not work because of a clash with the SEO Rewrite code in the .haccess file. What seems to be happening is that the redirect does the correct thing in that it appends the correct url to the domain name but then the SEO Rewrite stuff adds the old URL to the end of that! here is an example: http://mysite.com/location.html?seo_path=page--location-map--location The domain name is the same, the correct current page location.html has been added to the domain by the 301 redirect but then the SEO code has also added the old page (page--location-map--location) to the end? Is their anyway to make sure the SEO Rewriting is disabled for the 301 block? Many thanks, Brian
  24. Hi DB, well not sure how but it all seems to be working ok, thank you for all your help. Brian
  25. Thank you DB, I will give that a try. Brian
×
×
  • Create New...