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
Author « Topic »  

SCOTT MELE
Starting Member

8 Posts

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

Posted - 04/02/2018 :  10:07:13  
We recently updated to Ecommerce Plus PHP v6.8.5, and v. 6.0.5 release of PHPMailer. Now the below error is showing on every product on our site:
"Undefined index: useaskaquestion in /home/tektit/public_html/vsadmin/inc/incproddetail.php on line 23"
Any Ideas? I tried resubmitting some products through VSAadmin, but no joy.

Andy
ECT Moderator

95440 Posts

Posted - 04/02/2018 :  10:11:21  
Hi Scott

Did this happen immediately after updating to 6.8.5? if so, can you try running the updater again to be sure all files make it across?

One other thing, do you have askaquestion enabled, does the error disappear if you disable it?

Andy

Please feel free to review / rate our software

SCOTT MELE
Starting Member

8 Posts

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

Posted - 04/02/2018 :  10:15:55  
"do you have askaquestion enable

Where will I find that option? I don't see it on the store settings menu?

Andy
ECT Moderator

95440 Posts

Posted - 04/02/2018 :  10:35:57  
You can check that in vsadmin/includes.php

Andy

Please feel free to review / rate our software

SCOTT MELE
Starting Member

8 Posts

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

Posted - 04/02/2018 :  10:38:41  
askaquestion is not enabled that I can see, there is no button showing on the products, only yhe "email a friend" button. We have never used askaquestion.

SCOTT MELE
Starting Member

8 Posts

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

Posted - 04/02/2018 :  10:43:46  
askaquestion does not appear in vsadmin/includes.php,

SCOTT MELE
Starting Member

8 Posts

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

Posted - 04/02/2018 :  10:52:59  
"Undefined index: useaskaquestion in /home/tektit/public_html/vsadmin/inc/incproddetail.php on line 23"

So here is line 23 in the above file:
if(@$GLOBALS['socialmediabuttons']==''){

if($GLOBALS['hascustomlayout']&&strpos(@$GLOBALS['detailpagelayout'],'socialmedia')!==FALSE)

$GLOBALS['socialmediabuttons']='facebook,linkedin,twitter,google,askaquestion';

elseif(@$GLOBALS['useemailfriend'] || @$GLOBALS['useaskaquestion'])

$GLOBALS['socialmediabuttons']=(@$GLOBALS['useemailfriend']?'emailfriend':'').($GLOBALS['useaskaquestion']?($GLOBALS['useemailfriend']?',':'').'askaquestion':'');

}

What part is the index?

Andy
ECT Moderator

95440 Posts

Posted - 04/02/2018 :  10:56:54  
Can you run the updater again and let us know if that sorts it out?

Andy

Please feel free to review / rate our software

SCOTT MELE
Starting Member

8 Posts

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

Posted - 04/02/2018 :  10:58:16  
I will have to have my service company do that.
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000