Jump to content

E-Luminate

Member
  • Posts

    35
  • Joined

  • Last visited

Posts posted by E-Luminate

  1. 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)

     

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

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

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

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

  6. Hi,

    OK, I thought that is what you meant, however, I have tried entering the main.php line in several places but can't find the right place. Anywhere I put it, the icon shows up as a static image within the body.

    Here is the code from my main.php, you'll see it's very different:

        <div class="col-3-12">
           <div class="content sidebar">
             {include file='templates/box.navigation.php'}
             {include file='templates/box.featured.php'}
             {include file='templates/box.popular.php'}
             {include file='templates/box.sale_items.php'}
             {include file='templates/box.currency.php'}
             {include file='templates/box.language.php'}
             {include file='templates/box.skins.php'}
           </div>
        </div>
    
     <div class="clear"></div>
    </div>
    
    
    <div class="col-1-1 footer">
      <div class="content">
          <div class="col-6-12">
            {include file='templates/box.newsletter.php'}
          </div>
          <div class="col-6-12">
            {$SOCIAL_LIST}
          </div>
        
        <div class="clear"></div>
      </div>
    </div>
    </div>
    
    <div class="copyright">
    
      <div class="col-1-1">
        {$COPYRIGHT}
      </div>

     

  7. 8 minutes ago, Dirty Butter said:

    This is the section in main.php of stock Foundation:

                  

    
                   <div class="large-3 columns show-for-large-up" id="sidebar_left">
                      {include file='templates/box.featured.php'}
                      {include file='templates/box.popular.php'}
                      {include file='templates/box.sale_items.php'}
                   </div>
                   <a href="#" class="back-to-top"><span class="show-for-small-only"><svg class="icon"><use xlink:href="#icon-angle-up"></use></svg></span><span class="show-for-medium-up"><svg class="icon"><use xlink:href="#icon-angle-up"></use></svg> {$LANG.common.top}</span></a>
                </div>
                <footer>

     

    Thanks for the quick reply. Just tried inserting that but it messes up the page when you start scrolling. it doesn't do anything

×
×
  • Create New...