• Content count

  • Joined

  • Last visited

Community Reputation

1 Neutral
  1. User login shows CSRF error

    Right! You are right bsmither, it turned out to be a Firefox update on the 7th Dec. Thanks for your help!
  2. User login shows CSRF error

    Hi, Thanks for the feedback. I have been working with the hosting company but it is taking a lot of time! If it helps, when I check the debugging at the bottom of the login page, I get... [Notice] /home/**censored**/public_html/classes/session.class.php:667 - session_start() [function.session-start.php]: ps_files_cleanup_dir: opendir(/var/cpanel/php/sessions/ea-php56) failed: Permission denied (13)
  3. User login shows CSRF error

    Thanks for the reply! Definitely not a multiple open window issue. I assume changing the PHP config will be up to the hosting company? What should the max amount be in order to make this issue go away? Neil.
  4. Hi, I'm running Cubecart 6.1.13 and am getting a CSRF error immediately after logging in as a user. This started happening the other day and I hadn't altered any files. The following errors were detected: Security Alert: Possible Cross-Site Request Forgery (CSRF) or browser back button used. I have already cleared the cache and even did so manually. When I navigate to any page following the login, it shows as I am logged out. When I return to the homepage it reverts back to showing me as logged in. In the debugging it shows the following error: PHP: [Warning] /home/**censored**/public_html/classes/sanitize.class.php:152 - Invalid Security Token[Notice] /home/**censored**/public_html/includes/functions.inc.php:196 - Undefined variable: _GET[Notice] /home/**censored**/public_html/includes/functions.inc.php:196 - Undefined variable: _GET[Notice] /home/**censored**/public_html/classes/cubecart.class.php:184 - Undefined variable: contents[Notice] /home/**censored**/public_html/classes/cubecart.class.php:184 - Undefined variable: contents[Notice] /home/**censored**/public_html/classes/cubecart.class.php:86 - Undefined index: doc_name Any help would be greatly appreciated! Neil.
  5. Hi, I'm running CubeCart 6.18 and am wondering if it's possible for each page to dynamically change/add a <body> ID tag? I wanted to have this available so that I can use specific content or styling dependent on the body id. Thanks, Neil
  6. [Resolved] Custom title for Log In page

    Perfect! Works a charm. Thanks!
  7. Hi, I searched the forums for this first and realise it may be a requested, future feature. I previously posted on how to have a custom title on the contact page, I managed to figure it out myself (and posted the fix). However, for the life of me I cannot figure out how to get the login page to have a custom title (a page title with "Log in" prefix). Anyone know how to do this or have a workaround? The solution I used for contact doesn't work for log in. Thanks! Neil.
  8. Add title to contact page (CC6) - (Resolved)

    Yep, sorry... Go to your skins/templates directory, open main.php and find the following, or similar: <title>{$META_TITLE}</title> Replace with: {if isset($CONTACT)} <title>Contact Us - {$META_TITLE}</title> {else} <title>{$META_TITLE}</title> {/if} You can do similar with the keywords meta field if required.
  9. Add title to contact page (CC6) - (Resolved)

    Thanks, must have missed that. I did manage to figure out how to solve the problem using the if isset command.
  10. Hi, How would it be possible to add a META title or <title>Contact Us</title> to the Contact page? Any ideas? Thanks, Neil
  11. Thanks for the suggestions guys. Have been looking at the code for a while and don't see how it outputs the grid format as standard, maybe something I'll look at later down the line maybe. Unless of course somebody else comes along with the same request!
  12. Hi, I've changed the content.category.php to what I thought would swap the default to what I want, I deleted all cookies afterward too (as there is a product cookie). I still get Grid view as standard here is the code before: <div class="medium-4 columns show-for-medium-up"> <dl class="sub-nav right" id="layout_toggle"> <dd class="active"><a href="#" class="grid_view"><i class="fa fa-th-large"></i></a></dd> <dd><a href="#" class="list_view"><i class="fa fa-th-list"></i></a></dd> </dl> </div> And this is what I changed it to: <div class="medium-4 columns show-for-medium-up"> <dl class="sub-nav right" id="layout_toggle"> <dd><a href="#" class="grid_view"><i class="fa fa-th-large"></i></a></dd> <dd class="active"><a href="#" class="list_view"><i class="fa fa-th-list"></i></a></dd> </dl> </div> There doesn't seem to be any further mention of "list_view" anywhere else in the document.
  13. Nope, not a whisper. I've done too much to the skin so far to change. Plus I'm got a strict timescale to get everything done. I actually thought this request would be an easy one.
  14. Hi, I'm using the Galaxy X skin with Cubecart 6.18. Can anyone help me in changing the default product display within categories from grid to list? Thanks in advance. Neil.
  15. Thanks for all the pointers, wouldn't have had it working without them!