Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author « Topic »  

kingfisher
Advanced Member

United Kingdom
278 Posts

Pre-sales questions only
(More Details...)

Posted - 09/24/2019 :  03:55:38  
The client login (both log in to account and create new account) doesnt work on my site. (rockfactory dot co dot uk)

Here's a bit of clientlogin>php


<script language="php">

include "vsadmin/inc/incclientlogin.php";

</script>

And here's a bit of includes -

// Customer Login
$enableclientlogin=TRUE;
$allowclientregistration=TRUE;
$customeraccounturl="clientlogin.php";
$rememberme=TRUE;

I have recently updated to 7.1.2, and I have removed the minilogin, as it was throwing errors in the W3C mark up validation.

Bit stuck, - any help appreciated

Mac OSX 10.13.6
Safari 13.0
ECTplus v7.1.2php
Servelink

Vince
Administrator

42874 Posts

Posted - 09/24/2019 :  04:11:44  
Hi Kingfisher
The first thing is that even though you have ectcart.js referenced in your cart page, you don't have it in the clientlogin.php page. You should have that on all pages now and probably the best thing is just add it to the template file so it is always included. Even on pages where it is not necessary, once it's loaded it won't be loaded again so it doesn't add to the page download time.

Also though, replace all these...
<script language="php">
...with this...
<?php

and replace all the closing tags of those...
</script>
...with this...
?>

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

kingfisher
Advanced Member

United Kingdom
278 Posts

Pre-sales questions only
(More Details...)

Posted - 09/24/2019 :  04:37:29  
Thanks for that Vince, I have made those changes, but still not working in clientlogin or cart

bit of clientlogin


<meta name="Classification" content="guitars,PA,drums + drumkits" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<script type="text/javascript" src="/js/ectcart.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript" src="js/responsiveslides.min.js"></script>
<script type="text/javascript">

Anything further I can try?

(by the way, I don't have a template file everything is done via a text editor (BBEdit)

John



Mac OSX 10.13.6
Safari 13.0
ECTplus v7.1.2php
Servelink

Vince
Administrator

42874 Posts

Posted - 09/24/2019 :  04:53:07  
The function that is missing is in incfunctions.php so do you have that file included in the clientlogin.php page?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

kingfisher
Advanced Member

United Kingdom
278 Posts

Pre-sales questions only
(More Details...)

Posted - 09/24/2019 :  05:01:26  
Yes I do

<!-- #BeginEditable "includelines" -->
<?php include "vsadmin/db_conn_open.php" ?>
<?php include "vsadmin/inc/languagefile.php" ?>
<?php include "vsadmin/includes.php" ?>
<?php include "vsadmin/inc/incfunctions.php" ?>
<!-- #EndEditable -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>

Mac OSX 10.13.6
Safari 13.0
ECTplus v7.1.2php
Servelink

Vince
Administrator

42874 Posts

Posted - 09/24/2019 :  06:48:24  
Then do you have the parameter $enableclientlogin=TRUE; set in your includes.php file?
If that doesn't help then please send the FTP login to vince AT ecommercetemplates DOT com and I'll take a look.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

kingfisher
Advanced Member

United Kingdom
278 Posts

Pre-sales questions only
(More Details...)

Posted - 09/24/2019 :  07:08:39  
Thanks Vince,

Email sent

Mac OSX 10.13.6
Safari 13.0
ECTplus v7.1.2php
Servelink

Vince
Administrator

42874 Posts

Posted - 09/24/2019 :  07:49:44  
Ok, I see the culprit. To remove the minilogin you've commented it out in the leftsidebar.php script...

<!-- <div class="cat">
<div class="cattop">account</div>
<?php include "vsadmin/inc/incminilogin.php" ?>
</div> -->

But that means that the scripts generated in that incminilogin file to enable the login features are effectively commented out too. Then when a later function checks to see if the scripts have already been displayed it thinks they have.
Removing that bit of code altogether or enabling it should sort this out.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

kingfisher
Advanced Member

United Kingdom
278 Posts

Pre-sales questions only
(More Details...)

Posted - 09/24/2019 :  08:15:40  
Vince,

Thanks.

I didn't realise that commented out was not the same as not there.

I have removed the code and now it works!

Things have moved on a bit since I was programming DEC PDP8 I suppose.

It's great to know you have my back when things get tough.

Thanks again

John

Mac OSX 10.13.6
Safari 13.0
ECTplus v7.1.2php
Servelink
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.01 seconds. Snitz Forums 2000