Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 05-25-2004 17:15:18

jonpetersen2
Member
Registered: 05-25-2004
Posts: 3

Html Code Dump In Admin Pages

When I log in to the Admin system, the top of the page in my browser window is filled up with HTML Code.  Under the code, the normal user interface appears, and I can click links and perform some of the admin tasks.  However, when I go to the Update Product form, the "submit" button is missing at the bottom.

Why is the HTML code displayed?  What can I do to fix it?

I am on a shared Windows hosting environment, running CCP 5.  A sample code dump is below:

HM_Array1 = [ [130, 20, 75, ], ["Manage User Accounts","http://www.xxx.org/cgi-bin/cp-admin.pl?usr=xxx&sess=9482421&pg=account",1,0,0], ["Database Utilities","http://www.xxx.org/cgi-bin/cp-admin.pl?usr=webmaster&sess=9482421&pg=submenu&ref=02RDBMS",1,0,0], ["Store Catalog","http://www.xxx.org/cgi-bin/cp-admin.pl?usr=webmaster&sess=9482421&pg=submenu&ref=03CATALOG",1,0,0], ["Orders & Payment","http://www.xxx.org/cgi-bin/cp-admin.pl?usr=webmaster&sess=9482421&pg=submenu&ref=04ORDERS",1,0,0], ["Shipping Settings","http://www.xxx.org/cgi-bin/cp-admin.pl?usr=webmaster&sess=9482421&pg=submenu&ref=05SHIP",1,0,0], ["HTML Pages & Elements","http://www.xxx.org/cgi-bin/cp-admin.pl?usr=webmaster&sess=9482421&pg=submenu&ref=06SITE",1,0,0], ["Reports","http://www.xxx.org/cgi-bin/cp-admin.pl?usr=webmaster&sess=9482421&pg=submenu&ref=07REPORTS",1,0,0], ["Global Settings","http://www.xxx.org/cgi-bin/cp-admin.pl?usr=webmaster&sess=9482421&pg=submenu&ref=08SETTINGS",1,0,0], ["File Utilities","http://www.xxx.org/cgi-bin/cp-admin.pl?usr=webmaster&sess=9482421&pg=submenu&ref=09FILE",1,0,0], ["Email & Mail List","http://www.xxx.org/cgi-bin/cp-admin.pl?usr=webmaster&sess=9482421&pg=submenu&ref=10EMAIL",1,0,0], ["Manage Banner Ads","http://www.xxx.org/cgi-bin/cp-admin.pl?usr=webmaster&sess=9482421&pg=banner",1,0,0], ["Dynamic Forms","http://www.xxx.org/cgi-bin/cp-admin.pl?usr=webmaster&sess=9482421&pg=submenu&ref=12FORMS",1,0,0], ["Software Upgrade","http://www.xxx.org/cgi-bin/cp-admin.pl?usr=webmaster&sess=9482421&pg=upgrade",1,0,0] ] HM_Array2 = [ [130, 149, 75, ], ["Logout","http://www.xxx.org/cgi-bin/cp-admin.pl?usr=webmaster&sess=9482421&pg=logout_proc",1,0,0], ["Change Password","http://www.xxx.org/cgi-bin/cp-admin.pl?usr=webmaster&sess=9482421&pg=pass",1,0,0] ] HM_Array3 = [ [130, 278, 75, ], ["Software Manual","http://www.xxx.org/cgi-bin/cp-admin.pl?usr=webmaster&sess=9482421&pg=manual",1,0,0], ["License Agreement","http://www.xxx.org/cgi-bin/cp-admin.pl?usr=webmaster&sess=9482421&pg=license",1,0,0] ] document.write("<\/SCR" + "IPT>"); } // -

Offline

 

#2 05-25-2004 18:58:19

nav
Banned
Registered: 04-07-2004
Posts: 666

Re: Html Code Dump In Admin Pages

This is a DBI server module issue. Have your hosting service verify this problem and, if possible, request a full re-installation of the Perl Module (if it isn't compiled).


______________________________________________

THIS USER HAS BEEN BANNED FROM THIS FORUM.

If this post contains any language related to
code samples, advice, etc., please read this
entire thread before making a decision to use
this post as a basis for any change to your
software installation.
______________________________________________

Offline

 

#3 05-25-2004 21:12:31

jonpetersen2
Member
Registered: 05-25-2004
Posts: 3

Re: Html Code Dump In Admin Pages

Here is what the tech support said at the host:

ppm> query dbi*
Querying target 1 (ActivePerl 5.8.0.806)
  1. DBI          [1.42] Database independent interface for Perl

Does this clarify anything?

Offline

 

#4 05-25-2004 23:41:57

jonpetersen2
Member
Registered: 05-25-2004
Posts: 3

Re: Html Code Dump In Admin Pages

I viewed the source of the HTML page created within CCP that included the "code dump", and I observed the following line:

<!-- DISPLAY ERROR: ELEMENT adm_dhtml_header DOES NOT EXIST -->

This file is indeed missing.  Would that explain this situation?  I copied all the files over from a previous server, and I no longer have access to that server.  Anyone know where I can get a fresh copy of adm_dhtml_header.txt?

Offline

 

#5 05-26-2004 07:39:41

nav
Banned
Registered: 04-07-2004
Posts: 666

Re: Html Code Dump In Admin Pages



<!-- DISPLAY ERROR: ELEMENT adm_dhtml_header DOES NOT EXIST -->

This file is indeed missing. Would that explain this situation? I copied all the files over from a previous server, and I no longer have access to that server. Anyone know where I can get a fresh copy of adm_dhtml_header.txt?

Hi,

This is a report from adm_exec.pl file. You must upload your /data/elements files in ASCII mode. Then, upload your /data/tables files in binary mode and set the /data folder itself to CHMOD 777. That should fix the problem.

In the mean time, make sure adm_dhtml_header.txt file is in /data/elements folder this time. smile


______________________________________________

THIS USER HAS BEEN BANNED FROM THIS FORUM.

If this post contains any language related to
code samples, advice, etc., please read this
entire thread before making a decision to use
this post as a basis for any change to your
software installation.
______________________________________________

Offline

 

#6 06-06-2004 12:04:32

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Html Code Dump In Admin Pages

If you don't have this file, contact support@kryptronic.com for a copy.


Nick Hendler

Offline

 

Board footer