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
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Undefined array key "storeurl"
Author « Topic »  

ebp
Advanced Member

136 Posts

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

Posted - 04/11/2022 :  19:02:05  
I'm getting following error when testing the site on my Mac. It only shows up on the proddetail.php. I do not see on any other page.

Warning: Undefined array key "storeurl" in /Users/dev/Sites/1/vsadmin/inc/metainfo.php on line 113

Any ideas?

Vince
Administrator

42692 Posts

Posted - 04/12/2022 :  11:20:47  
Hi there
Have you got the incfunctions.php line before the metainfo.php include? That should help with this if not I think.

Vince

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

ebp
Advanced Member

136 Posts

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

Posted - 04/12/2022 :  11:29:43  
That was it!

For some reason my includes for productdetail, category and products are closer to the top than everywhere else. All others were controlled by the template section.

LadyM
ECT Moderator

1716 Posts

Posted - 01/14/2023 :  19:08:01  
Yes, is it supposed to be? The email is also not using an https link even though both URLs in the cart admin are.

I'm getting the same error on the digital download thanks page, although the files are being delivered correctly below the error messages.

vsadmin/inc/digidownload.php on line 55

Also, which pages to look at?

Edited by - LadyM on 01/14/2023 19:10:28

Vince
Administrator

42692 Posts

Posted - 01/15/2023 :  04:14:38  
Hi LadyM
Can you check to make sure that your includes lines are in this kind of order...

include "vsadmin/db_conn_open.php";
include "vsadmin/inc/languagefile.php";
include "vsadmin/includes.php";
include "vsadmin/inc/incfunctions.php";
include "vsadmin/inc/metainfo.php";

If you could try that first and then let me know if you still have problems.

Vince

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

LadyM
ECT Moderator

1716 Posts

Posted - 01/15/2023 :  07:52:13  
Yes, they are. I did update the php version yesterday as well as some security issues suggested by Plesk.

<?php
session_cache_limiter('none');
session_start();
ob_start();
include "vsadmin/db_conn_open.php";
include "vsadmin/inc/languagefile.php";
include "vsadmin/includes.php";
include "vsadmin/inc/incfunctions.php";
include "vsadmin/inc/metainfo.php";?>

Vince
Administrator

42692 Posts

Posted - 01/16/2023 :  02:18:05  
Hi LadyM
Is this the same error, ie...

Warning: Undefined array key "storeurl"

...but on digidownload.php on line 55? That line shouldn't give that error so can you try updating the digital downloads (you should get a new version with the updater.) Also, can you make sure your Store URL has the "https://" or "http://" in it in the admin main settings page?

Vince

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

LadyM
ECT Moderator

1716 Posts

Posted - 01/16/2023 :  07:01:20  
This is the error message: Warning: Undefined array key "storeurlssl" in /var/www/vhosts/xxxx.com/httpdocs/vsadmin/inc/digidownload.php on line 55

Should this say https://xxxx.com in the includes digital download pattern?

I updated the store to 7.4.1 as well as the digital downloads. I emptied my browser cache and used the link from the email. The website defaulted over to https but it's not in the email link. Still getting the error messages.

Yes, in both places the URL is https.

I will purchase an updater for this site. I used what I had for now.

LadyM
ECT Moderator

1716 Posts

Posted - 01/16/2023 :  07:30:02  
This is the error message: Warning: Undefined array key "storeurlssl" in /var/www/vhosts/xxxx.com/httpdocs/vsadmin/inc/digidownload.php on line 55

Should this say https://xxxx.com in the includes digital download pattern?

I updated the store to 7.4.1 as well as the digital downloads. I emptied my browser cache and used the link from the email. The website defaulted over to https but it's not in the email link. Still getting the error messages.

Yes, in both places the URL is https.

Vince
Administrator

42692 Posts

Posted - 01/16/2023 :  15:39:43  
Hi LadyM
Can you send the site FTP login to my email then along with details about how to reproduce this.

Vince

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

LadyM
ECT Moderator

1716 Posts

Posted - 01/16/2023 :  18:47:10  
I fixed it. The error was on the late download page. Sorry, I hope you didn't spend any time on it.

Vince
Administrator

42692 Posts

Posted - 01/17/2023 :  02:34:13  
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.06 seconds. Snitz Forums 2000