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 07-20-2004 17:36:09

Uncletim
Member
From: Boulder, CO
Registered: 08-03-2003
Posts: 375
Website

Cannot Access Store At All


Hey after many months of being somewhat stable, I cannot get into Click Cart Pro store to purchase anything at my own site. I can get to the splash page but when I try to entire the store, it cannot find the page.

Also when I go into the admin panel, I cannot get any categories to show up. I seem to be able to get most other pages to show up, but no categories and I have six of them.

Something (I suspect) has corrupted some of my files. I need to get this back up as soon as possible. I am not sure what the best way to go is. I am tempted to reinstall everything and start over. I have backups of my cgi-bin and my original install files. This thing is a royal mess and I have no idea why.

Why can't the program find the store as it has for many months. This seems like something must be broke deep inside the program, because I don't think there is any way I could have done it. I am the only one with access (other than my host) and he says everything is the same as it ever was.

I have not installed the April update because I was just going to wait for the new release and do that. But now I have no choice.

By the time you read this I will have probably tried massive substitution and back up of original files.

Any idea is appreciated.

Thanks.

Offline

 

#2 07-20-2004 17:45:01

EagleWolf
Member
From: Daytona Beach, FL
Registered: 07-27-2003
Posts: 979

Re: Cannot Access Store At All

a URL usually helps so we can see what your are talking about and help from there,


Chris
<a href='mailto:webmaster@equivity.com'>webmaster@equivity.com</a>
-

Offline

 

#3 07-20-2004 19:58:36

Uncletim
Member
From: Boulder, CO
Registered: 08-03-2003
Posts: 375
Website

Re: Cannot Access Store At All

Sorry I was busy dealing with panic.



That is the main entrance and here is a typical product code



I cannot get any of the products buy buttons to get me in either. My guess is somethng is set wrong with permissions or a script is corrupt.

I got a full backup from the server back ups installed, so this is a known good backup. Still can't get much to work.

Thanks, really!

Offline

 

#4 07-20-2004 22:30:06

superhero2000
Member
From: Harrisburg, PA
Registered: 03-26-2003
Posts: 1025
Website

Re: Cannot Access Store At All

You might also want to check with your host to see if they have changed anything with their servers.  The program would not just stop working without sometype of change in the configuration.


Vinh
VQC Designs, LLC


Offline

 

#5 07-20-2004 23:47:22

EagleWolf
Member
From: Daytona Beach, FL
Registered: 07-27-2003
Posts: 979

Re: Cannot Access Store At All

I think superhero is on to something, check with your host and see if they are limiting the resources you can use. Also are you running the cart using csv or mysql. If csv, change it to mysql that will use less resources.


Chris
<a href='mailto:webmaster@equivity.com'>webmaster@equivity.com</a>
-

Offline

 

#6 07-21-2004 00:54:59

Uncletim
Member
From: Boulder, CO
Registered: 08-03-2003
Posts: 375
Website

Re: Cannot Access Store At All

Yea that is the first thing I asked. He told me they have not changed a thing. Plus we did a restor5e from a backup that was working fine. I am at a total loss to figure out how something could go bad like this.

I really do not know how to proceed here.

Tim G.

Offline

 

#7 07-21-2004 07:53:24

Uncletim
Member
From: Boulder, CO
Registered: 08-03-2003
Posts: 375
Website

Re: Cannot Access Store At All

Okay I choecked with the hosting company again. They were kind enough to set my site up on a different server and it still exhibits the same symptoms.

Right now it looks like a script is broke somewhere and somehow.

Since there are so many scripts it might be impossible to work through them all. However, I was wondering if you guys knew which one handles swiotching from screen to screen when someone clicks on one of the links like on-line store.

Because even that is not working and that seems to be one of the simplest and first things a user will do. So If I can determine which script might have gone corrupt I could possibly replace it and get this up and running again.

I will not be able to do anything for two weeks after Friday so this is a hot potato.

Other than that I wondcer if i should just start over and reinstall everything which I think means the very first version of Tiki, followed by at least one of the updates.

At that point I am hoping I can reinstall the database of products, shipping options etc., rather than re input everything which would be a mightmare.

Any advice before I jump off a building (kidding)?

Tim G.

Offline

 

#8 07-21-2004 12:38:19

Uncletim
Member
From: Boulder, CO
Registered: 08-03-2003
Posts: 375
Website

Re: Cannot Access Store At All

Hey Guys:

Does this mean anything to you. It should to me but I can't figure out where this code is coming from.

<TD WID

This shows up on my splash page. So I know that somewhere I got some broken code. I can get into the admin panel but I do not see this anywhere on the splash page html. I also do not see it in cp-app.cgi

I am assuming this is part of a CGI call. Here is the splash page again.



At this point I am just trying to run down everything to see if this finally gives me some clues.

Thanks.

Offline

 

#9 07-21-2004 12:42:30

superhero2000
Member
From: Harrisburg, PA
Registered: 03-26-2003
Posts: 1025
Website

Re: Cannot Access Store At All

Looks like a <td> html tag that wasn't closed.  Make sure all your tags are closed appropriately.


Vinh
VQC Designs, LLC


Offline

 

#10 07-21-2004 15:21:10

Uncletim
Member
From: Boulder, CO
Registered: 08-03-2003
Posts: 375
Website

Re: Cannot Access Store At All

Opinion anyone?

When I go into the catalog (in cp-admin.cgi) and edit a product and flip the switch to show it on the splash page, all I get is this (on the splash page).

<IMG SRC="http://www.uncletim.com

The product does not render and I am sure this code is not suppose to be present.

This seems to tell me that the code for this is broken.

When I try to view my catagories in cp-admin.cgi they do not show at all. In fact all I get is a blank page. I know that is not right.

Does anyone know the perl file name for the catagory page information. Maybe I could replace it and see what happens.

Maybe this is a question for Nick:

Is there a way to do a complete reinstall and one at a time reinstall my data files?

What I want to do is get a fresh sopy up and then once I am sure it is running okay, reload my own product files and condifuration files and see which one makes it break.

Does that make sense?

Tim G.

Offline

 

#11 07-21-2004 15:25:51

EagleWolf
Member
From: Daytona Beach, FL
Registered: 07-27-2003
Posts: 979

Re: Cannot Access Store At All

it means what superhero already said:

Looks like a <td> html tag that wasn't closed. Make sure all your tags are closed appropriately.

Youhave some html code in your product description that is cuasing this. download the products.csv file (or convert back to csv then download) the and go through it that way to resolve this.


Chris
<a href='mailto:webmaster@equivity.com'>webmaster@equivity.com</a>
-

Offline

 

#12 07-21-2004 19:04:25

Uncletim
Member
From: Boulder, CO
Registered: 08-03-2003
Posts: 375
Website

Re: Cannot Access Store At All

I think something else is going on. There are just too many aspects that are corrupt.

In fact when I look at product.csv, I do not find any html in it.

But there are just too many other things missing such as;

All Categories Sidebar
The Information Sidebar
The Store Links Sidebar

All the links on the bottom of the page.

I cannot go into the store at all. I get script errors. All I can do is get to the search page (thorugh the shopping cart link at the top) but there is very little there, just a blank search term form and no search criteria drop down. All the side bars are gone! Nothing below. This thing is hosed badly. It's like half it's brain was removed.

I totally reinstalled a good backup copy, set the rights again and same thing. I got a brain dead shipping cart that does not even come close to responding correctly (no offence intended).

There are so many parts of this system missing, I can't imagine actually trouble shooting it.  I have the same shopping cart installed on anothere web site on the same server and it is fine. I even checked the settings against it.

Do you think Nick would mind if I set up another instance of this software on this server just to see if that will work.

I am at a loss, this really seems like something outside of my control is hindering me.

Thanks for taking a look.

Tim G.

Offline

 

#13 07-21-2004 19:44:47

ghost1157
Member
Registered: 02-19-2003
Posts: 93

Re: Cannot Access Store At All



Can you go into your webhost control panel and take a look at the error log ? It looks / sounds like a permissions issue 

Offline

 

#14 07-21-2004 22:17:31

Uncletim
Member
From: Boulder, CO
Registered: 08-03-2003
Posts: 375
Website

Re: Cannot Access Store At All

Thanks for asking.

Yes I did and I get what I would expect. A bunch of failed scripts.

Here is an typical exerpt.

[Wed Jul 21 20:22:07 2004] [error] [client 67.173.254.158] Premature end of script headers: /home/uncletim/public_html/cgi-bin/ccp51/cp-app.cgi
[Wed Jul 21 20:16:36 2004] [error] [client 67.173.254.158] File does not exist: /home/uncletim/public_html/500.shtml
[Wed Jul 21 20:16:36 2004] [error] [client 67.173.254.158] Premature end of script headers: /home/uncletim/public_html/cgi-bin/ccp51/cp-app.cgi
[Wed Jul 21 22:16:24 2004] [error] [client 67.173.254.158] Premature end of script headers: /home/uncletim/public_html/cgi-bin/ccp51/cp-app.cgi
[Wed Jul 21 20:04:18 2004] [error] [client 67.173.254.158] File does not exist: /home/uncletim/public_html/500.shtml


I set up a fresh copy of Tiki and updated it successfully to CCP 5103

I did it right next to the real copy and no problem. I got it up and updated within 30 minutes.

So I have the right permissions and the server has no problem with this.

Now I am curious as to what options I may have to get my actual data in this without reinstalling it all the manual way.

I believe somehow some files went corrupt. That is totally a guess. But it seems to make sense.

Do you see anything in these error logs that I don't?

Once again thanks for asking.

Tim G.

Offline

 

#15 07-21-2004 23:01:14

ghost1157
Member
Registered: 02-19-2003
Posts: 93

Re: Cannot Access Store At All



I'm no expert but I have seen the exact thing you are experiencing WITHOUT corrupted data . I have seen it caused by binary uploads of scripts and I have seen it caused by bad paths and I have seen it caused by bad permissions . I have never seen it caused by corrupted data .

If you don't have total control of your server ( ie its a shared server ) you may be experiencing cgi wrap issues or cgi aliasing issues caused by your providers or pathing issues caused by your providers local httpd file being corrupted a frequent occurance on linux boxes running WHM and Cpanel .

You can download a script called perldiver here :

 

you will have to register but its free

put this script in your cgi-bin/ccp51/ directory , set the permissions to 755 and then call it  , it will tell you a bunch of info but primarily if your paths ( wrap) and permissions will let you run a script from that location .

I also noticed from your errorlog you are not using the standard ccp51 paths ? There is no cgi-bin under the ccp51 directory ? While you should be able to run  it that way as long as you setup all your paths correctly , it just struck me as odd , and possibly your paths are not correct in your PL files ?

Home some of this helps , I know how frustrating it can be .   

Offline

 

#16 07-22-2004 10:29:09

Uncletim
Member
From: Boulder, CO
Registered: 08-03-2003
Posts: 375
Website

Re: Cannot Access Store At All

I downloaded perldiver and got it up and running. Thanks. I don't see where it provides any information on cgi wrap.  Any pointers?

I do believe this is wrapped up in permissions or something like that.

I don't get how I could get another copy up in  no time but I can't seem to trouble shoot this.

Thanks for your input, it really does help.

Tim G.

Offline

 

#17 07-22-2004 10:33:09

EagleWolf
Member
From: Daytona Beach, FL
Registered: 07-27-2003
Posts: 979

Re: Cannot Access Store At All

Why not just reinstall the cart fresh, make sure it works, then you can move data tables over and then if it does not work you know it is in there, or move your skin over and if it does not work you know it is in there?


Chris
<a href='mailto:webmaster@equivity.com'>webmaster@equivity.com</a>
-

Offline

 

#18 07-22-2004 11:08:56

ghost1157
Member
Registered: 02-19-2003
Posts: 93

Re: Cannot Access Store At All

Uncletim,07/22/2004 10:29:09 AM wrote:

I downloaded perldiver and got it up and running. Thanks. I don't see where it provides any information on cgi wrap.  Any pointers?

I do believe this is wrapped up in permissions or something like that.

I don't get how I could get another copy up in  no time but I can't seem to trouble shoot this.

Thanks for your input, it really does help.

Tim G.

For the wrap issue , basically if you could execute perldiver , wrap is okay for that location . so it sounds like wrap is okay . 

Okay here is another tip , if you have shell access try executing your admin.cgi script from the shell command line . it should give you the line that its failing on and maybe a little more info on whats causing the premature script failure . Then take a look at the line that it fails at , normally it fails because it can't find or can't open something . Typically if your paths are all good then its a permissions or percieved corruption ( like a binary upload of a script ) try chmoding everything to 777 and see what happens

If you are just totally stuck , I would be willing to go in on your shell and go through it and try and get it running for you . if you want to do that just email me your login info .

Offline

 

#19 07-22-2004 11:27:36

Uncletim
Member
From: Boulder, CO
Registered: 08-03-2003
Posts: 375
Website

Re: Cannot Access Store At All

Hi Chris:

Could you please give me a run down of what directories I need to copy over to do what you suggest? I would love to alter the new build to run my real cart. then it seems I might be able to just change the directory names to the original and alter the pathing in cp-app.cgi and cp-admin.cgi and I would be back in business (literally).

I see these critica?

ccp51/data and all subs
ccp51/elments and all subs
ccp51/admin and all subs

Permissions set to 777

these files in the cgi-bin/ccp51 directory
cp-app.cgi
cp-admin.cgi

Permissions set to 755

I am not sure about any other directories/files and I am also not sure if everything listed above has to be moved too.

I will say this, I did a back up of a known good copy and set the permissions and the same thing happened. The back up was from Dec 03 and everything was working fine then.

I have two copies up right now and can easily copy over any files I need

The original broken directores are ccp51
new virgin directores are ccp51-2

Other than that they are set up identically uner both cgi-bin and public_html

If you could help I would be very happy. I would even consider paying if I knew what to pay for (and it could happen today).

Thanks for yoru suggestion.

Tim G.

Offline

 

#20 07-22-2004 14:18:24

dregna
Member
Registered: 08-27-2003
Posts: 108
Website

Re: Cannot Access Store At All

Hi Tim,

I had this same problem twice with CCP.  The only thing that showed up on the screen was broken HTML.   I made sure that there werent any problems in my html code and still the cart would not function properly.

Both times this happened when my ccp files were copied to a new domain.  The first problem was due to a row in my product table.  The row had a very long description and was somehow goofing things up.  The row was removed and ccp worked glitch free.

The second time this happened, exact same symptoms as yours, it was due to my cart using to many resources up.  The cart would not function correctly when the product table was running in CSV mode.  After the move all the tables were running in CSV mode when prior to tyhe move they were running in MYSQL. To fix this, after many hours of frustration, I switched all my tables except for the product table to run in MYSQL and the cart began to work flawlessly.  Import and export of the product table from mysql to csv mode worked without a glitch.


dregna

Offline

 

#21 07-22-2004 14:23:51

Uncletim
Member
From: Boulder, CO
Registered: 08-03-2003
Posts: 375
Website

Re: Cannot Access Store At All

Thank you Dregna:

That helps.

For the sake of time, could you plese tell me how you got the tables switched to MYSQL from csv.

I believe the exact same thing may have happened to me.

The exact steps to do this would be quite helpful.

Thank you,

Tim G.

Offline

 

#22 07-22-2004 19:40:38

dregna
Member
Registered: 08-27-2003
Posts: 108
Website

Re: Cannot Access Store At All

First thing you must do is create a mysql database for ccp.  If you have a cpanel
function through your website administartion utility these are the steps.

In your web accounts cpanel go to |site management tools | MYSQL Databases |.

Go to create a mysql database and name your db: (ex. *ccp*)

Now click on create MYSQL Database

Now when you go back to the MYSQL database page you should see the database you just created prefixed with your web accounts user name: (ex. *tim_ccp*)

Now you need to create a username and password to link to your new database.
In the |site management | Mysql databases| page of your cpanel account (hoping that you use cpanel) scroll down to add mysql user or existing mysql user and add your username and password:
    EX.
    Username: mountain
    Password: 1234 (your username will be prefixed with your web accounts username)(ex. *tim_mountain*)

Now scroll down to grant permissions on your mysql table to your MySql user. In the text drop down box where it says USER select your username (ex. *tim_mountain*), and your DATABASE name (ex. *tim_ccp*).

Now select the *all* box radio button and click on grant permissions.  After granting permissions when you go back you'll notice your database and username are now linked together and your MYSQL table is ready to configure with ccp.

Now go into ccp admin | Data Base Utilities | Configure RDBMS Connection |.

Select your RDBMS Server Type and hit submit.

Now just fill in the fields:

    ex.
    Host Name: localhost
    Database Name: tim_ccp
    Username: tim_mountain
    Password: 1234

Click submit and your MYSQL table should now be linked with CCP.

Now you should be ready to convert your ccp tables from CSV to MYSQL. In CCP Admin go to | Data Base Utilities | Manage Table Data Sources |.  Just click on *change* for whichever tables you would like to run in MYSQL.  That should do it.    


dregna

Offline

 

#23 07-22-2004 22:52:21

Uncletim
Member
From: Boulder, CO
Registered: 08-03-2003
Posts: 375
Website

Re: Cannot Access Store At All

Okay I got it! O man, what an ordeal!

Here is what I know. And by the way, thank you Dregna, ((your comments nailed it) and Dan, who really gave me some help and insight.

So here is the deal. I come back from running 44 miles of white water to find my site is broke and I have not had an order since I left (ouch).

Symptom: When I go into my cart, the splash screen does not render the sidebars, the bottom of the page or any of the buttons. And practically none of the links at the top worked.

There was no way to go any further and the clues were faint.

Symptom: The biggest clue was when I went into admin and tried to look at the categories. The page did not render at all. The products were still on their page, but not having categories stopped the program cold (I think). That was my clue the file was corrupt.

I was running the cart in CSV mode, which is a huge mistake. It seems all it took to crash was my host physically moving the server. That is the only difference from when it was okay. It looks like the csv format was not capable of handling the load. Nick or EagleWolf might have a better explanation.

Remedy: Migrating all the csv files to MYSQL., setting up the database and restarting. Only there was an additional problem in that the category.csv had so much html in it, that it may have corrupted it. So I had to strip it all out and re save the csv file.

prodstats.csv had the same problem so I just used a fresh file from the originals and basically reset the stats. Then it was no problem getting it in to MYSQL Format..

After that the site came back up and I had to adjust a few things. I see why I had all that HTML in the categories.csv file because I was using it to show the products there. I really have to change that.

But it came back just like Dregna’s experience, pnce I went to MYSQL, and orders started coming in again shortly thereafter.

That is my understanding of what happened. I am interested to know if I got some of the assumptions wrong. Everything seems to be alright now.

Thanks again guys (non gender specific), I really needed some help there, this thing caught me flat footed.

Thanks,

Tim G.

Offline

 

#24 07-23-2004 06:03:35

ghost1157
Member
Registered: 02-19-2003
Posts: 93

Re: Cannot Access Store At All



Mysql is definately the way to go , faster , much more reliable and nice convenient backups for the entire database . ( just go into backups in your cpanel and there is a seperate one just for your MySql databases ) Especially if you have a large number of records .
Glad to see you got it back up and running !

Offline

 

Board footer