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 03-26-2003 20:35:37

Guest
Guest

Nick - need help!

I've spent 100 hours trying to enter these products. I've resorted to just going through the admin to relate the products to the categories one at a time for all 1876 products as I can not get the CSV files i've created to work. When I attempt to use them the page explodes. I have tweaked 'em, reviewed them, built them from scratch, built them using the default ones that came with the cart and pasting our items into the proper columns, removed all special characters, and a few dozen other things. But every time I upload them, click on a category on the home page, and the cart area explodes and the category list ends with a bunch of HTML code showing.

The cart works FINE with the default product, prodxcat, and category CSV files but will NOT work with the edited ones.

As I stated, instead of trying to upload the databases I started relating the products to the categories using the admin. About 125 products into it I decided to test the cart. Sure enough it exploded again.

When I had 35-40 products entered it worked like a champ. I'm totally baffled and can not understand what could be triggering the cart to explode unless it just doesn't like that many products.

I need a HUGE hand here, Nick. Or, anyone who is knowledgeable in the databases used in CCP5 and why this is making my life miserable.

See for yourself at http://www.kidsplaythings.cc   Click on any category.

 

#2 03-26-2003 22:07:50

Guest
Guest

Re: Nick - need help!

Correction:

I posted the wrong URL. Try this:

http://www.kidsplaythings.cc/cgi-bin/shop/cp-app.cgi

 

#3 03-27-2003 19:28:19

Lisaweb
Member
From: CA
Registered: 04-21-2003
Posts: 417

Re: Nick - need help!

It is 99% likely that you are editing your CSV's in the wrong type of editor, and it is saving them as ASCII documents.  CSV's need to be both saved and uploaded in BINARY only, or they will crash and burn.

Lisa

Offline

 

#4 03-27-2003 21:26:43

Guest
Guest

Re: Nick - need help!

What Lisa says is correct, but what you describe is an html problem. You probably have a table that's not been closed. I'll take a look at the website and do a source analysis and see what I can find. It'll be tomorrow before I can look at it.

 

#5 03-27-2003 21:38:56

Guest
Guest

Re: Nick - need help!

Thanks for the replies

Lisaweb, i'm opening the files in Excel and saving them as CSV in Excel, uploading them in Binary mode via FTP, chmod to 777.

Also, through much testing and assistance with this from Terry at hosttec.net, he has uploaded my databases on another clean install and they worked perfectly. So we've 99.9% ruled out that it's the database.

Currently the whole thing works like this:

The home page loads fine. In fact, click on Store Home and all the category placeholders, etc. all go perfectly. The category list is pefect, yada yada. Now, click on a category and it explodes. But, do a search for say, Charlie Brown. The results show up perfectly, no explosion in the category list, click on a product in the results and it takes you to the description page, etc. But click on a category and it comes unglued.

We've gone through the database and taken out any duplicates, i've stripped any HTML tags from any product descriptions and category descriptions. I've designed this layout page twice since I thought the same thing..that it was a broken tag. BUT, if I use the exact same page and upload the default CCP5 database files for product, category, and prodxcat then the page works perfectly and there's no problems. But upload mine and there's a problem. BUT, keep in mind that on another install my databases worked perfectly on a default site layout!

Something is happening in the category function that is either not parsing all the HTML, or gives up, or is looking for something. What I can't understand is, if the category area is going to 'break' then it should be broken no matter what page or link you hit. So on the home page of the cart it should be broken if there's tag missing. It would be broken on any page.

So, i'm lost!

Greg..if you could do that it would be MUCH appreciated! I have spent DAYS on this and am totally baffled. Terry, the guy that is helping me (and is a reseller) is totally baffled.

I think there's a cosmic vortex hanging over this install! smile

 

#6 03-28-2003 10:58:05

Guest
Guest

Re: Nick - need help!

It seems to be an html problem in the categories table. How do you call that table? Is it in the ste_layout file? Could you paste your layout file here. I would like to see it.

 

#7 03-28-2003 11:58:02

durango
Member
Registered: 06-18-2002
Posts: 5

Re: Nick - need help!

Greg/Nick:
I have avoided editing the CSV files so far, as I am running Office 97, and am unsure if Excel 97 is compatible with CCP5. Any thoughts/tips on this, or do I have to upgrade to 2000?
Thanks in advance!

Offline

 

#8 03-28-2003 12:48:42

Guest
Guest

Re: Nick - need help!

Hi Greg:

It's a little much to post in here. I can email it to you if you wish to take a look. All the HTML is in the ste_layout component since that's the template used for the 'global' theme.

reach me at webmaster@simcoweb.com and i'll send you the file.

 

#9 03-28-2003 18:07:05

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

Re: Nick - need help!

I have a feeling this is a server resource limitation issue and the category names are just red herrings.  Are the categories that you're failing on holding more items that the ones that you're not failing on?
___________________________

Nick Hendler
Webmaster, Kryptronic, Inc.


Nick Hendler

Offline

 

#10 03-28-2003 18:35:45

Guest
Guest

Re: Nick - need help!

Hi Nick:

There's been new developments on this issue while working with both Greg and Terry from the forums here (who I owe a lot of appreciation to).

Terry checked all the databases and, after deleting a few duplicate entries, found it fine. In fact, he uploaded the databases to a clean install and it peformed flawlessly on a default site layout.

Greg reviewed my HTML and couldn't find any errors or issues that left any open tags that could cause the problem. Besides, it works fine with the default databases without changing anything in the layout.

The weird parts are this. Going to the home page of the cart the page loads find. Click on Andy Griffith and it works fine. Click on any other category and the problems start.

To answer your question on the number of products, some of the categories have 2 or 3 products so if you clicked on The Grateful Dead category with just a couple of products it destroys the page and doesn't finish. So I ruled that out as well.

In regards to server resources, that's a toughie to answer. But I do know this... one of my sites is running no less than 35 scripts including 4 remotely hosted services for forums, guestbooks, ffa links pages and hit counters with loads of users. Plus a forum, CCP4, and a photo gallery program with 800+ images in it and shows no signs of it laboring or not finishing the functions.

Nick, I don't know what else to tell you except the HTML has no holes in it, i'm only using two major tags from the cart (category list and element insert). If I do a search it works fine. I can cruise through the search results and it works fine. I click on specials, new items, bestsellers and it works fine (although there's nothing in those categories). But the categories do not.

Could there be a bug in the script I have? Keep in mind I also downloaded the upgrade for AuthorizeNet and copied those over the old files as well. Just reaching here... smile

I do need your help to fix this, Nick. What can we investigate next?

 

#11 03-28-2003 19:04:49

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

Re: Nick - need help!

Have you tried to perl the script on the command line:

perl cp-app.cgi pg=cat ref=powerpuffgirls

Have you checked the server error logs?

If the program is bombing on your layout and not the default, I still think it's an httpd issue.  It may be choking on a bit too much HTML or something.  If your perl command using the shell outputs the entire HTML page, you know you have a webserver issue.  Your logs may be able to tell you what that issue is.

___________________________

Nick Hendler
Webmaster, Kryptronic, Inc.


Nick Hendler

Offline

 

#12 03-28-2003 19:13:17

Guest
Guest

Re: Nick - need help!

Unfortunately I don't have Telnet or SSH capabilities on that host. So, can't run the command line execution. sad

Honestly there's very little HTML compared to literally dozens of other sites or pages i've done. There's actually much more parsing in the default ste_layout configuration than in what mine has.

I'll check the logs and get back to you and also contact tech support to see if they can let me know of anything they can detect.

If nothing else i'll just modify the default ste_layout and go with that. If you want, Nick, I can send you a text file with the HTML that i'm using for the ste_layout.  Perhaps you can see something that would cause the incompatibility issue. Just let me know.

 

#13 03-29-2003 09:43:08

Guest
Guest

Re: Nick - need help!

Nick, it appears as though you're on track with the server issue. Terry set up yet another store using my HTML and my databases and it works fine. Looks a little funky...but works smile

So the question is, is there a specific module that we would need to make this work?

I'll send you a personal email with a link to a view of the current server config and modules installed.

 

#14 04-02-2003 18:58:40

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

Re: Nick - need help!

No, no other modules are required outside of what's shipped with the program.  I think we're waiting on a copy of httpd.conf from your host to see about resource limitations in Apache.

___________________________

Nick Hendler
Webmaster, Kryptronic, Inc.


Nick Hendler

Offline

 

#15 04-03-2003 13:22:07

Guest
Guest

Re: Nick - need help!

Hi Nick:

I had a short conversation with the tech people at the host. Apparently there ARE some limitations based upon how long a script takes to run it's functions and the problem is most likely that it's timing out.

I haven't gotten confirmation of this but here's his comments:

"It doesn't sound like a httpd.conf configuration problem, with that many entries its probably a resource restriction problem.  Each cgi script is only allowed a certain amount of ram and cpu seconds before being killed off to prevent a single script from eating all resources and causing server issues.  These are not very tight restrictions but they do prevent a number of people from backing up their mysql database using cgi (which if you ask me is not really a good or reliable idea anyways.)  It takes some time to load a page with only 4 products on it.. it doesn't seem to efficient..   are there any options or other configurations to make it so?? Is it loading images from the database as well??"

Nick, your thoughts on this? Do you think that by switching to MySQL instead of CSV that it could help this problem?

 

#16 04-08-2003 08:08:27

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

Re: Nick - need help!

I would guess the restrictions are a lot more stringent than the host is letting on.  Simco switched to MySQL and everything went off like a charm. 

___________________________

Nick Hendler
Webmaster, Kryptronic, Inc.


Nick Hendler

Offline

 

Board footer