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
 Proddetail Page is Blank after update to 7.3.1
Author « Topic »  

Mikelli
Ecommerce Template Guru

USA
1613 Posts

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

Posted - 03/28/2021 :  18:29:30  
Hi There<
Do I have these in the correct order because the page is blank

<!-- #BeginEditable "doctitle" -->
<title><?php
print $productname . " | " . $sectionname . " | " . $productid;
?></title>
<meta name="Description" content="<?php print str_replace('"','"',$productdescription)?>" />
<!-- #EndEditable -->
<link rel="stylesheet" type="text/css" href="/css/ectcart.css"/>
<link rel="stylesheet" type="text/css" href="style.css" />
<link href="css/ectcart.css" rel="stylesheet" type="text/css"><br /><br />
<script src="/js/ectcart.js"></script>

Thanks

Michael

Vince
Administrator

42472 Posts

Posted - 03/29/2021 :  04:07:45  
Hi Michael
You should remove that second reference to the ectcart.css file, but that won't cause the page going blank. It seems there is an error on the page so could you ask your host to look in the error logs to see what that error is?

Vince

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

Mikelli
Ecommerce Template Guru

USA
1613 Posts

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

Posted - 03/29/2021 :  07:37:44  
Hi Vince, I found this in cPanel

[Mon Mar 29 10:34:17 2021] [error] [client 24.243.252.205] PHP Fatal error: Call to undefined function getlangid() in /home/brakebit/public_html/vsadmin/inc/metainfo.php on line 75, referer: https://www.brakebits.com/round_brake_lathe_bits.php

Thanks,

Michael

Mikelli
Ecommerce Template Guru

USA
1613 Posts

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

Posted - 03/29/2021 :  07:39:20  
This is the top section of the page

<?php
session_cache_limiter('none');
session_start();
ob_start();
include "vsadmin/inc/metainfo.php";?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><!-- #BeginTemplate "Templates/brakebits.dwt" --><!-- DW6 -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</script>
<link rel="shortcut icon" href="favicon.ico" />
<!-- #BeginEditable "doctitle" -->
<title><?php
print $productname . " | " . $sectionname . " | " . $productid;
?></title>
<meta name="Description" content="<?php print str_replace('"','"',$productdescription)?>" />

Michael

dbdave
ECT Moderator

USA
10277 Posts

Posted - 03/29/2021 :  10:15:53  
Hi Michael, the " Call to undefined function getlangid()" suggests that perhaps you didn't get all files copied over when you installed the update.
I do know there was a change in being able to use different languages in the admin for the page title and meta descriptions, so perhaps you didn't get all files copied, or failed to run the updatestore.php script in your browser?

Thanks,
David

Vince
Administrator

42472 Posts

Posted - 03/29/2021 :  13:16:45  
Hi Michael
The problem as it turns out is that changes in the updater made it obligatory to have the incfunctions.php include line before the metainfo.php include line where previously it was optional. If anyone has this problem just get a new copy of the updater and copy the new vsadmin/inc/metainfo.php script to your site and that should sort this out.

Sorry for the problems

Vince

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

Mikelli
Ecommerce Template Guru

USA
1613 Posts

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

Posted - 03/29/2021 :  13:33:12  
Hey 7.3.1 is still getting tweaked, right? I knew that when I opted to use it
Thank you Vince


Michael

dbdave
ECT Moderator

USA
10277 Posts

Posted - 03/29/2021 :  14:28:16  
Heeyyy... At least I was in the ballpark...

David

Mikelli
Ecommerce Template Guru

USA
1613 Posts

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

Posted - 03/30/2021 :  15:13:58  
Hi Vince, I'm back in the office after a 2 day biz trip. I uploaded new meta info to inc. It seems to have fixed it somewhat. Except

NOW APPEARS: Access denied for user 'brakebit'@'localhost' (using password: NO)

No Meta info is appearing in the Browser Tab

2 broken gif images (email a friend & ask ? at bottom of page. I can probably get that. But it was working before just to add.

Thanks

Michael

Vince
Administrator

42472 Posts

Posted - 03/31/2021 :  03:34:44  
Hi Michael
Do you have the db_conn_open.php script included in the page before the metainfo.php script?

Vince

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

Mikelli
Ecommerce Template Guru

USA
1613 Posts

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

Posted - 03/31/2021 :  06:41:03  
Hi Vince, here goes

<?php
session_cache_limiter('none');
session_start();
ob_start(); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</script>
<link rel="shortcut icon" href="../favicon.ico" />
<!-- #BeginEditable "doctitle" -->
<title>Brakebits Template</title>
<!-- #EndEditable -->
<link rel="stylesheet" type="text/css" href="/css/ectcart.css"/>
<link rel="stylesheet" type="text/css" href="../style.css" />
<link href="css/ectcart.css" rel="stylesheet" type="text/css"><br /><br />
<script src="/js/ectcart.js"></script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, maximum-scale=1.0, minimum-scale=1.0, initial-scale=1" />
<script type="text/javascript" src="../js/html5.js"></script>

<link href='https://fonts.googleapis.com/css?family=Exo+2:400,400italic,700' rel='stylesheet' type='text/css'>

<script src="js/jquery-1.11.1.min.js"></script>
<script src="../js/jquery.smartmenus.js" type="text/javascript"></script>
<link href="../css/sm-core-css.css" rel="stylesheet" type="text/css" />
<link href="../css/sm-blue/sm-blue.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
$(function() {
$('#main-menu').smartmenus();
});
</script>
<!--[if lte IE 7]>
<style type="text/css">
div#topnav{
margin-top:-13px;
}
</style>
<![endif]-->
<script type="text/javascript">
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
</script>
<!-- TemplateBeginEditable name="Index_Page_Slider" -->

<!-- TemplateEndEditable -->


</head>
<?php include "vsadmin/db_conn_open.php" ?>
<?php include "vsadmin/inc/languagefile.php" ?>
<?php include "vsadmin/includes.php" ?>
<?php include "vsadmin/inc/incfunctions.php" ?>
<body>

Michael

Vince
Administrator

42472 Posts

Posted - 04/01/2021 :  02:28:35  
Hi Michael
This looks like it might be the template file so what would be the way to cure this is to move the include lines to a non-editable region at the top of the page. For instance...

<?php
session_cache_limiter('none');
session_start();
ob_start(); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<?php include "vsadmin/db_conn_open.php" ?>
<?php include "vsadmin/inc/languagefile.php" ?>
<?php include "vsadmin/includes.php" ?>
<?php include "vsadmin/inc/incfunctions.php" ?>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</script>
<link rel="shortcut icon" href="../favicon.ico" />
<!-- #BeginEditable "doctitle" -->
...

And then of course remove them from down below.
If this is a production site by the way and it is down because of this, do please send me the site FTP login to my email and I'll get it working for you.

Vince

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

Mikelli
Ecommerce Template Guru

USA
1613 Posts

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

Posted - 04/01/2021 :  07:25:20  
Hi Vince, I will definitely take you up on your offer. I just emailed you FTP details.

Marlene tried helping with this back when I changed it to responsive. While the head wasn't structured correctly, I got it to work and that was enough for me back then.

Thank You,

Michael

Mikelli
Ecommerce Template Guru

USA
1613 Posts

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

Posted - 04/02/2021 :  22:30:50  
Hi Vince,
Well last night on my test site I tried your suggestion above as a possible cure. I killed the site and got this message.

Fatal error: Cannot redeclare lfect_database_error() (previously declared in /home/wdshop83/public_html/vsadmin/inc/languagefile.php:8) in /home/wdshop83/public_html/vsadmin/inc/languagefile.php on line 13

I do need to make a template change on my "main profile site" it seems I left off one category in the menu. I know that when I do it will probably kill the Proddetail Page again. I'd like to have a permanent fix so that I can quit bothering you and feel safe to use the editor again when needed.

Thanks,

Michael

Vince
Administrator

42472 Posts

Posted - 04/03/2021 :  05:01:42  
Hi Michael
You need to include those include files once, but only once in each file. You get this error because you have the languagefile.php include file twice. Remove the second one (and any other duplicates) and the page will work again.

Vince

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

Mikelli
Ecommerce Template Guru

USA
1613 Posts

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

Posted - 04/03/2021 :  07:40:04  
Hi Vince, Thanks for the reply. Im not following what you are saying. I checked the admin/inc folder for both vsadmin and secret admin and there is only one languagefile.php, languageadmin_en.php in each. I didn't upload any admin files only Dreamweaver store pages, so I didn't upload a second language file. Here's what's on the template header and the other site pages. I only changed the template and uploaded the DW files.

<?php
session_cache_limiter('none');
session_start();
ob_start(); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<?php include "vsadmin/db_conn_open.php" ?>
<?php include "vsadmin/inc/languagefile.php" ?>
<?php include "vsadmin/includes.php" ?>
<?php include "vsadmin/inc/incfunctions.php" ?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</script>
<link rel="shortcut icon" href="../favicon.ico" />

<!-- #BeginEditable "doctitle" -->
<title>WD Shop Supplies Template</title>
<!-- #EndEditable -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, maximum-scale=1.0, minimum-scale=1.0, initial-scale=1" />
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<link href="css/ectcart.css" rel="stylesheet" type="text/css">
<script src="/js/ectcart.js"></script>
<script type="text/javascript" src="../js/html5.js"></script>
<link rel="stylesheet" href="../css/responsivemobilemenu.css">
<script src="../js/jquery-1.9.1.min.js"></script>
<script src="../js/responsivemobilemenu.js"></script>
<link href='https://fonts.googleapis.com/css?family=Exo+2:400,400italic,700' rel='stylesheet' type='text/css'>


<script src="../js/jquery.smartmenus.js" type="text/javascript"></script>
<link href="../css/sm-core-css.css" rel="stylesheet" type="text/css" />
<link href="../css/sm-blue/sm-blue.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
$(function() {
$('#main-menu').smartmenus();
});
</script>


<!-- #BeginEditable "head" -->

<!-- #EndEditable --></head>


Michael

Edited by - Mikelli on 04/03/2021 07:48:55

Vince
Administrator

42472 Posts

Posted - 04/03/2021 :  08:45:59  
quote:
I checked the admin/inc folder for both vsadmin and secret admin and there is only one languagefile.php, languageadmin_en.php in each.
Hi Michael
No, you need to check the page that is erroring for the duplicates. For instance it might be the proddetail.php or products.php page. Look in the one whose URL is in the browser address bar.

Vince

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

Mikelli
Ecommerce Template Guru

USA
1613 Posts

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

Posted - 04/03/2021 :  09:26:29  
Thanks

Michael

Mikelli
Ecommerce Template Guru

USA
1613 Posts

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

Posted - 04/03/2021 :  10:11:53  
Hi Vince,
I added the missing category in the template menu and uploaded the changed DW pages on my "main site in my profile". I can see where the template adds an extra includes.php line in the proddetail.php, so I removed it. Sure enough, proddetail.php still quit working, it's totally blank, so I can't see an error. Here is the header of the Proddetail Page, what am I missing?

<?php
session_cache_limiter('none');
session_start();
ob_start();
include "vsadmin/db_conn_open.php";
include "vsadmin/includes.php";
include "vsadmin/inc/metainfo.php";?><!DOCTYPE html><html lang="en"><!-- #BeginTemplate "/Templates/Shop.dwt" --><!-- DW6 -->
<head>
<!-- #BeginEditable "doctitle" -->
<?php include "vsadmin/inc/pkeywords.php"?>
<title><?php
print $addsearch . " | " . $productname . " | " . $productid;
?></title>
<meta name="Description" content="<?php print str_replace('"','"',$productdescription)?>">
<meta name="keywords" content="<?php print $pKeys?>" />
<!-- #EndEditable -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, maximum-scale=1.0, minimum-scale=1.0, initial-scale=1" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="css/ectcart.css" rel="stylesheet" type="text/css">
<script src="/js/ectcart.js"></script>
<script type="text/javascript" src="js/html5.js"></script>
<link rel="stylesheet" href="css/responsivemobilemenu.css">
<script src="js/jquery-1.9.1.min.js"></script>
<script src="js/responsivemobilemenu.js"></script>
<link href='https://fonts.googleapis.com/css?family=Exo+2:400,400italic,700' rel='stylesheet' type='text/css'>


<script src="js/jquery.smartmenus.js" type="text/javascript"></script>
<link href="css/sm-core-css.css" rel="stylesheet" type="text/css" />
<link href="css/sm-blue/sm-blue.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
$(function() {
$('#main-menu').smartmenus();
});
</script>


<!-- #BeginEditable "head" -->
<?php include "vsadmin/inc/languagefile.php" ?>
<?php include "vsadmin/inc/incfunctions.php"; ?>
<!-- #EndEditable --></head>

Any help is appreciated on this page. The rest of the site seems fine.

Michael

Vince
Administrator

42472 Posts

Posted - 04/03/2021 :  10:44:38  
Hi Michael
In the email I sent you yesterday I mentioned that this include line...
<?php include "vsadmin/inc/pkeywords.php"?>
...will cause an error. It needs to be updated to use the new database connection system.

Vince

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

Mikelli
Ecommerce Template Guru

USA
1613 Posts

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

Posted - 04/03/2021 :  12:19:14  
Thanks Vince and Mike Beebe, all is now well !!

Ya'll Have a Great Weekend !!

Michael
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000