Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Problems with add product.

Problems with add product.

Views: 885

Results 1 to 8 of 8
8 Aug 2013, 9:11 PM
#1
leon28oslo avatar

leon28oslo

New Zenner

Join Date:
Aug 2013
Posts:
4
Plugin Contributions:
0

Problems with add product.

Hi Guys and girls.

I've innstalled the zencart severall times now but I keep steppping into trouble.
I do little modifications each time and save a backup, nothing big.
Just like template, language and disabling downloads.
When I do this and try to buy a product it does not want to show the next page, what can be wrong?
The page is https://www.elskmer.no/butikk
I've tried many things for a couple of nigths but now im tired of the error.
All help will be appriciated.

9 Aug 2013, 7:59 PM
#3
leon28oslo avatar

leon28oslo

New Zenner

Join Date:
Aug 2013
Posts:
4
Plugin Contributions:
0

Re: Problems with add product.

That solved is for now and the,.....When I change some other small things the same error appears and I must upload the original Header.php from language anc classic folder before the problem goes away, is this normal?

9 Aug 2013, 8:05 PM
#4
leon28oslo avatar

leon28oslo

New Zenner

Join Date:
Aug 2013
Posts:
4
Plugin Contributions:
0

Re: Problems with add product.

Just edited a small in thing in the language file removing somthing like "Norwegian language" [mer] "=more" and then I cant add stuf to the cart of the shop. This is pretty strange, every little thing I change I must upload header twice for the shop to work.

10 Aug 2013, 1:59 AM
#5
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,772
Plugin Contributions:
9

Re: Problems with add product.

Removing and adding in files often result in errors. Folks forget to leave the two apostrophes (') behind or use the wrong syntax adding items.

You might want to stay away from the editing and try locations in the admin.

10 Aug 2013, 6:15 PM
#6
leon28oslo avatar

leon28oslo

New Zenner

Join Date:
Aug 2013
Posts:
4
Plugin Contributions:
0

Re: Problems with add product.

Yoho, I found the actuall problem, Filezilla does not transfer .php files correctly with standard configuration.
When I used a separate program for editing the .php files, no problems :)

10 Aug 2013, 11:40 PM
#7
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,772
Plugin Contributions:
9

Re: Problems with add product.

Filezilla... Although it has an edit feature is probably 37th on the top ten list of editors. Often as not, a person misses the Filezilla pop-up that requires an answer in order for the edit to really take place. Best to download the file to a known location, use something like notepad or notepad+ to edit, then FTP the changed file back to the site using Filezilla.

16 Aug 2013, 9:40 AM
#8
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Problems with add product.

leon28oslo:

Yoho, I found the actuall problem, Filezilla does not transfer .php files correctly with standard configuration.

This is not a problem I've ever experienced, and I've been using filezilla on a daily basis for almost as long as I can remember.

leon28oslo:

When I used a separate program for editing the .php files, no problems :)

Aha. That'll be the problem. Nothing really to do with filezilla transfers, it is the editor being used, and the choice of editors can be defined under edit->settings->FileEditing

I suspect that you are running Windows, which will probably default to using the standard 'notepad' editor (perhaps even wordpad. Eeek). This editor does cause problems with .php files because it causes double spaced lines due to the EOL (end of line) differences between windows and *nix systems. Most people tend to recommend using notepad++ to mitigate this issue, however, if you have another preference that you know doesn't cause the EOL problems then by all means use that. It is just a matter of telling filezilla which editor you wish to use by default. (I guess this is what you mean by the filezilla 'standard configuration').

Hopefully this provides a little more clarity in regards to what is actually happening.

Cheers
Rod